[Netexpect-users] Can't make mpls bottom of stack

Yousuke Takahashi yousuke4126 at gmail.com
Wed Jun 11 08:22:18 UTC 2014


Hi Eloy,

I'm using this great sotware.
But I find that this tool cannot make MPLS bottom of stack today.

This is an example for tgn. nexp has the same problem.
-----
* ip.pcap (correct behavior)
#tgn -w ip.pcap "ether()/" "ip(src = 192.168.0.1, dst = 192.168.0.20)/"
"tcp(src = 333 , dst = 4444, window = 16384)/" "data (data = 'random:1200')"
#tcpdump  -nr ip.pcap | less
reading from file ip.pcap, link-type EN10MB (Ethernet)
17:16:58.700152 IP 192.168.0.1.333 > 192.168.0.20.4444: Flags [], seq
0:1200, win 16384, length 1200

* mpls.pcap (incorrect behavior; bottom of stack "s = 1"  is not to set.)
# tgn -w mpls.pcap "ether()/" "mpls(label=2999,  s = 1)/" "ip(src =
192.168.0.1, dst = 192.168.0.20)/"  "tcp(src = 333 , dst = 4444, window =
16384)/" "data (data = 'random:1200')"
# tcpdump  -nr mpls.pcap | less
17:18:16.203560 MPLS (label 2999, exp 0, ttl 0) (label 282624, exp 2, ttl
216) (label 4096, exp 0, ttl 0) (label 262255, exp 1, [S], ttl 186)
        0x0000:  c0a8 0001 c0a8 0014 014d 115c 0000 0000  .........M.\....
        0x0010:  0000 0000 5000 4000 8f94 0000 ceab ba5f  ....P. at ........_
        0x0020:  4388 28c1 0fed b173 229a b58f 0d17 3fbf  C.(....s".....?.
        0x0030:  cc21 4dec cc86 92f4 8079 844e 243f ad68  .!M......y.N$?.h
        0x0040:  c7d5 29d6 c2da 49e4 74fe 7481 15b3 41e2  ..)...I.t.t...A.
-----

Please fix it if you have time.

Yousuke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/netexpect-users/attachments/20140611/f2fae521/attachment.html>


More information about the Netexpect-users mailing list