wikiroute

networking recipes

User Tools

Site Tools


mpls_traceroute

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
mpls_traceroute [2014/02/08 17:33] samermpls_traceroute [2014/02/08 21:36] samer
Line 6: Line 6:
 For example, a traceroute to ''www.univ-rennes1.fr'' reveals the different hops toward the destination: For example, a traceroute to ''www.univ-rennes1.fr'' reveals the different hops toward the destination:
  
-<code>+<code shell>
 $ traceroute -P icmp www.univ-rennes1.fr $ traceroute -P icmp www.univ-rennes1.fr
 traceroute to frontalhttp.univ-rennes1.fr (129.20.126.100), 64 hops max, 72 byte packets traceroute to frontalhttp.univ-rennes1.fr (129.20.126.100), 64 hops max, 72 byte packets
-  neufbox (192.168.1.1)  1.804 ms  1.718 ms  1.510 ms +  neufbox  1.804 ms  1.718 ms  1.510 ms 
-  129.112.16.109.rev.sfr.net (109.16.112.129)  28.440 ms  34.535 ms  28.499 ms +  129.112.16.109.rev.sfr.net  28.440 ms  34.535 ms  28.499 ms 
-  77.56.66.86.rev.sfr.net (86.66.56.77)  28.384 ms  29.678 ms  27.561 ms +  77.56.66.86.rev.sfr.net  28.384 ms  29.678 ms  27.561 ms 
-  185.73.66.86.rev.sfr.net (86.66.73.185)  30.758 ms  30.744 ms  29.597 ms +  185.73.66.86.rev.sfr.net  30.758 ms  30.744 ms  29.597 ms 
-  renater-ix1.sfinx.tm.fr (194.68.129.102)  37.389 ms  38.937 ms  41.514 ms +  renater-ix1.sfinx.tm.fr  37.389 ms  38.937 ms  41.514 ms 
-  te4-2-rouen-rtr-021.noc.renater.fr (193.51.189.50)  41.297 ms  42.737 ms * +  te4-2-rouen-rtr-021.noc.renater.fr  41.297 ms  42.737 ms * 
-  te4-2-caen-rtr-021.noc.renater.fr (193.51.189.45)  42.710 ms  41.381 ms  40.157 ms +  te4-2-caen-rtr-021.noc.renater.fr  42.710 ms  41.381 ms  40.157 ms 
-  te1-5-rennes-rtr-021.noc.renater.fr (193.51.189.53)  42.530 ms  43.130 ms  43.615 ms +  te1-5-rennes-rtr-021.noc.renater.fr  42.530 ms  43.130 ms  43.615 ms 
-  * u-1-rennes-cri-gi8-1-rennes-rtr-021.noc.renater.fr (193.51.184.25)  46.353 ms  41.514 ms +  * u-1-rennes-cri-gi8-1-rennes-rtr-021.noc.renater.fr  46.353 ms  41.514 ms 
-10  frontalhttp.univ-rennes1.fr (129.20.126.100)  42.702 ms  41.322 ms  42.429 ms+10  frontalhttp.univ-rennes1.fr  42.702 ms  41.322 ms  42.429 ms
 </code> </code>
  
-Examining the detail of the received ICMP TTL exceeded packets with Wireshark reveals an ICMP Mutli-part extension that carries the MPLS label.+Examining the detail of the received ICMP time exceeded messages with Wireshark reveals an ICMP Multi-part extension that carries the MPLS label as it arrived to the hop sending the message. In the following capture, the router ''te4-2-rouen-rtr-021.noc.renater.fr'' received label 53, most probably from the MPLS edge router ''renater-ix1.sfinx.tm.fr'' 
  
-<code>+<code shell>
 No.     Time           Source                Destination           Protocol Length Info No.     Time           Source                Destination           Protocol Length Info
      41 5.947446000    193.51.189.50         192.168.1.24          ICMP     182    Time-to-live exceeded (Time to live exceeded in transit)      41 5.947446000    193.51.189.50         192.168.1.24          ICMP     182    Time-to-live exceeded (Time to live exceeded in transit)
Line 31: Line 31:
     Code: 0 (Time to live exceeded in transit)     Code: 0 (Time to live exceeded in transit)
     Checksum: 0x3974 [correct]     Checksum: 0x3974 [correct]
-    Internet Protocol Version 4, Src: 192.168.1.24 (192.168.1.24), Dst: 131.254.254.131 (131.254.254.131)+    Internet Protocol Version 4, Src: 192.168.1.24, Dst: 131.254.254.131
     User Datagram Protocol, Src Port: 46416 (46416), Dst Port: 33452 (33452)     User Datagram Protocol, Src Port: 46416 (46416), Dst Port: 33452 (33452)
     Data (24 bytes)     Data (24 bytes)
Line 50: Line 50:
 </code> </code>
  
-[[http://www.bitwizard.nl/mtr | MTR]] is an adapted tool for capturing the MPLS label switching with a traceroute-like command:+[[http://www.bitwizard.nl/mtr | MTR]] is a traceroute-like tool that enables to visualise the label switching:
  
-<code> +<code shell
-$mtr -e www.univ-rennes1.fr+$ mtr -e www.univ-rennes1.fr
  1. neufbox  1. neufbox
  2. 129.112.16.109.rev.sfr.net  2. 129.112.16.109.rev.sfr.net
mpls_traceroute.txt · Last modified: 2014/02/15 23:38 by samer