Ethereal-dev: Re: [ethereal-dev] Sample MPLS sniffs.

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Mon, 13 Mar 2000 09:58:34 -0600
On Sun, Mar 12, 2000 at 10:12:52PM -0600, Ashok Narayanan wrote:
> 
> 
> Sure. I've attached the following files to this trace:
> 
> 1) mpls_te.cap: MPLS Traffic Engineering sniffs. Includes RSVP
> messages with MPLS/TE extensions and OSPF link updates with MPLS
> LSAs.
> 
> 2) mpls-basic: A basic sniff of MPLS-encapsulated IP packets over
> Ethernet.
> 
> 3) mpls-exp: IP packets with EXP bits set.
> 
> 4) mpls-twolevel: An IP packet with two-level tagging.
> 
> Gilbert, do you want to put these up on the Ethereal page?

Thanks. I'll add them.  I have a couple questions:

In ethertype.c, you detect both ETHERTYPE_MPLS and ETHERTYPE_MPLS_MULTI,
but only dissect the former.  Did you leave out the latter on purpose
or accidentally?

Are you able to run a display filter based on the existence of
the "mpls" protocol? I can filter on things like "mpls.label > 20",
but a filter on "mpls" on any of your traces shows *no* packets, even
though they exist. I can filter on the existence of other protocols, but
not mpls. Of course, this weekend I modified proto.c, so this may be
my fault... I'm investigating.

--gilbert