Hi Scott, we also have MPLS links in our network. The latest libpcap and tcpdump from CVS supports filtering of MPLS packets. You can use "tcpdump mpls and ... <normal header filter>", for instance, "tcpdump -vvv mpls and ip" will print all IP packets with MPLS headers.
But I have a problem to get IPv6 packets with this version of libpcap or tcpdump (I don't know where is the problem), it reports: # tcpdump -n -vvv mpls and ip6 tcpdump: ip6 not supported Regards, Sven Ubik ------------------------------------------------- On Wed, 21 Dec 2005, Scott Stoddard wrote: > Hi all, I hope this is the right place to post this but I could not find a > users tcpdump list. I am trying to capture traffic between two hosts at a > point where the traffic is encapsulated in MPLS headers. But using the > normal 'host x and host x' doesnt seem to work. I am guessing it has > something to do with the mpls header on the packets possibly changing the > location of the src/dst addresses from the packets header edge? I thought I > might be able to work around this by using the snarf options -s0 to grab the > whole packet and matching on the host pairs I am looking for but nothing is > captured. Anyone have experience with trying to decode these type of > packets? Or know if I am headed in the right direction? :-p thanks! > > --Scott > > > - > This is the tcpdump-workers list. > Visit https://lists.sandelman.ca/ to unsubscribe. > - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.
