[mpls-linux-general] can't traceroute and RTT MPLS greater than Ordinary IP Network.
Status: Beta
Brought to you by:
jleu
From: kuldonk d. <ku...@ya...> - 2010-03-04 16:01:32
|
hi james and all .. I tried build basic testbed MPLS with make a label and routing protocolmanually(static). I use fedora 8 MPLS 1962. below is a picture and configuration : http://wenkul.files.wordpress.com/2010/03/lsp-1.jpg Host A (ubuntu) : Ifconfig eth0 192.168.1.1 netmask 255.255.255.0 up ip route add default via 192.168.1.2 LER 1 : echo "1" > /proc/sys/net/mpls/debug Modprobe mpls4 mpls nhlfe add key 0 instructions push gen 100 nexthop eth1 ipv4 192.168.2.2 ip route add 192.168.7.0/24 via 192.168.2.2 mpls 0x2 mpls nhlfe add key 0 instructions nexthop eth0 ipv4 192.168.1.1 mpls labelspace set dev eth1 labelspace 0 mpls ilm add label gen 200 labelspace 0 mpls xc add ilm_label gen 200 ilm_labelspace 0 nhlfe_key 0x3 LSR : echo "1" > /proc/sys/net/mpls/debug modprobe mpls4 mpls labelspace set dev eth0 labelspace 0 mpls ilm add label gen 100 labelspace 0 mpls nhlfe add key 0 instructions push gen 700 nexthop eth2 ipv4 192.168.4.2 mpls xc add ilm_label gen 100 ilm_labelspace 0 nhlfe_key 0x2 mpls labelspace set dev eth2 labelspace 0 mpls ilm add label gen 800 labelspace 0 mpls nhlfe add key 0 instructions push gen 200 nexthop eth0 ipv4 192.168.2.1 mpls xc add ilm_label gen 800 ilm_labelspace 0 nhlfe_key 0x3 LER 2 : echo "1" > /proc/sys/net/mpls/debug modprobe mpls4 mpls labelspace set dev eth1 labelspace 0 mpls ilm add label gen 700 labelspace 0 mpls nhlfe add key 0 instructions nexthop eth0 ipv4 192.168.7.2 mpls xc add ilm_label gen 700 ilm_labelspace 0 nhlfe_key 0x2 mpls nhlfe add key 0 instructions push gen 800 nexthop eth1 ipv4 192.168.4.1 ip route add 192.168.1.0/24 via 192.168.4.1 mpls 0x3 Host B (windows) : IPADDRESS 192.168.7.2 NETMASK 255.255.255.0 GATEWAY 192.168.7.1 1. First Question for Both of Host, i using default gateway. then I do ping from host A to host B. Such as this results : host A: root@mpls5-desktop:~# ping 192.168.7.2 PING 192.168.7.2 (192.168.7.2) 56(84) bytes of data. 64 bytes from 192.168.7.2: icmp_seq=1 ttl=125 time=1.81 ms 64 bytes from 192.168.7.2: icmp_seq=2 ttl=125 time=1.79 ms 64 bytes from 192.168.7.2: icmp_seq=3 ttl=125 time=1.78 ms but when i do "traceoute" the result doesn't match what I expected. Such as this results : host A: root@mpls5-desktop:~# traceroute 192.168.7.2 traceroute to 192.168.7.2 (192.168.7.2), 30 hops max, 60 byte packets 1 mpls1.local (192.168.1.2) 0.096 ms 0.059 ms 0.036 ms 2 * * * 3 * * * 4 192.168.7.2 (192.168.7.2) 0.263 ms 0.245 ms 0.260 ms My first question is "what is the problem and what should I do"? 2. Second Question. how to prove or to know whether the MPLS network has been able to work on a network?? because when i using ethereal or tcpdump in LSR, i got the package MPLS, such as the following picture : http://wenkul.files.wordpress.com/2010/01/screenshot-ethereal.png >> (capture using ethereal) and http://wenkul.files.wordpress.com/2010/03/eth1-ping.png >> (capture with tcpdump) 3. Third Question I also tried to compare the Round Trip Time (RTT) from ordinary IP networks with MPLS networks by using the "ping" command as shown above. when RTT ordinary IP networks : host A >> root@mpls5-desktop:~# ping 192.168.7.2 -c 30 PING 192.168.7.2 (192.168.7.2) 56(84) bytes of data. 64 bytes from 192.168.7.2: icmp_seq=1 ttl=125 time=0.344 ms 64 bytes from 192.168.7.2: icmp_seq=2 ttl=125 time=0.308 ms 64 bytes from 192.168.7.2: icmp_seq=3 ttl=125 time=0.321 ms When RTT of MPLS network: host A: root@mpls5-desktop:~# ping 192.168.7.2 -c 30 PING 192.168.7.2 (192.168.7.2) 56(84) bytes of data. 64 bytes from 192.168.7.2: icmp_seq=1 ttl=125 time=1.81 ms 64 bytes from 192.168.7.2: icmp_seq=2 ttl=125 time=1.79 ms 64 bytes from 192.168.7.2: icmp_seq=3 ttl=125 time=1.78 ms it should theoretically MPLS network RTT is smaller than the normal IP networks. MPLS goal is to streamline the process of analyzing the data packets in an MPLS router making faster than normal IP networks. but Why the value of common IP network ping faster than MPLS network ???? I want to ask for help to all , because I need a short time to solve this problem. please help me. |