[tcpdump-workers] print vlan number

2014-06-16 Thread richard lucassen
Hello list,

Just a simple question: I have eth1 with some VLAN's. When tcpdumping
with:

# tcpdump -h
tcpdump version 3.9.8
libpcap version 0.9.8

the vlan tags are printed using "tcpdump -ni eth1":

10:16:12.068967 vlan 65, p 0, IP 10.65.0.196.49189 > 10.2.131.14.2598

But using a newer version, the tags have disappeared:

# tcpdump -h
tcpdump version 4.3.0
libpcap version 1.3.0

10:48:41.551598 IP 192.168.206.188 > 192.168.206.1

I'd expect:

10:48:41.551598 vlan 259, p 0, IP 192.168.206.188 > 192.168.206.1

Is this a bug or has this been changed?

R.

-- 
___
It is better to remain silent and be thought a fool, than to speak
aloud and remove all doubt.

+------+
| Richard Lucassen, Utrecht|
+--+
___
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Re: [tcpdump-workers] print vlan number

2014-06-16 Thread richard lucassen
On Mon, 16 Jun 2014 13:11:22 +0200
Romain Francoise  wrote:

> richard lucassen  writes:
> 
> > Is this a bug or has this been changed?
> 
> Are you using Debian or a derivative like Ubuntu? The tcpdump package
> used to have a patch to reverse the meaning of the -e flag, but it was
> dropped a few years ago. If you want to see the vlan id, you need to
> use -e.

That's it. The tcpdump printing VLANs was Ubuntu-8.04, the other a
Debian Squeeze. The -e does the job, thnx for your answer. Thnx to Guy
as well for his reply.

R.

-- 
___
It is better to remain silent and be thought a fool, than to speak
aloud and remove all doubt.

+------+
| Richard Lucassen, Utrecht|
+--+
___
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers