Marco Matarazzo
2003-08-26 14:38:44 UTC
Hi all,
is there any way to monitor a VLAN trunk with tcpdump using expressions?
Quick example:
if I do a tcpdump -n -e -ttt -vv -i fxp0 on my trunk interface this is what
I get:
Aug 26 16:39:16.067000 0:9:7b:3f:5c:8 0:2:b3:8f:87:3 8100 64: 802.1Q vid 29
pri 0 a.b.c.d.port > e.f.g.h.1056 (etc. etc.)
if I want to filter on, say, host I can't do a
tcpdump -n -e -ttt -vv -i fxp0 host a.b.c.d
because it returns nothing. I can of course do a grep on the output, but it
takes far more resources... I can of course do a simultaneous dump on all
vlans, but there are too many... :)
Any trick?
Cheers,
]\/[arco
is there any way to monitor a VLAN trunk with tcpdump using expressions?
Quick example:
if I do a tcpdump -n -e -ttt -vv -i fxp0 on my trunk interface this is what
I get:
Aug 26 16:39:16.067000 0:9:7b:3f:5c:8 0:2:b3:8f:87:3 8100 64: 802.1Q vid 29
pri 0 a.b.c.d.port > e.f.g.h.1056 (etc. etc.)
if I want to filter on, say, host I can't do a
tcpdump -n -e -ttt -vv -i fxp0 host a.b.c.d
because it returns nothing. I can of course do a grep on the output, but it
takes far more resources... I can of course do a simultaneous dump on all
vlans, but there are too many... :)
Any trick?
Cheers,
]\/[arco