Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 1999 11:03 -0500
From:      "Hao Xu" <Hao.Xu@Pulse.Com>
To:        "questions@freebsd.org" <questions@freebsd.org>
Subject:   problem with "tcpdump -e"
Message-ID:  <19990517110124224-37c13e96@Pulse.Com>

next in thread | raw e-mail | index | archive | help
I want to see the Ethernet header in tcpdump, but the "-e" does not seem to work
properly. Below is what I get by comparing "tcpdump -x port 520" and "tcpdump -x
-e port 520":

Anyone could advise me any workaround? (I definitely want to see the whole Ether
header because I have my own ETHER_TYPE in my code.)

Thanks a bunch!!

-Hao

PS: my comparison:

/root> /usr/sbin/tcpdump -x port 520
tcpdump: listening on fxp0
11:04:07.246324 ntvlan-1.pulse.com.router > 255.255.255.255.router: rip-resp 10:
 10.10.0.0(1)[|rip] [tos 0xc0]
                         45c0 00e8 0000 0000 0211 ab3a 0a0b 0201
                         ffff ffff 0208 0208 00d4 0000 0201 0000
                         0002 0000 0a0a 0000 0000 0000 0000 0000
                         0000 0001 0002
^C
79 packets received by filter
0 packets dropped by kernel

/root> /usr/sbin/tcpdump -x -e port 520
tcpdump: listening on fxp0
11:04:35.136958 0:60:47:8d:fa:10 Broadcast ip 246: ntvlan-1.pulse.com.router > 2
55.255.255.255.router: rip-resp 10: 10.10.0.0(1)[|rip] [tos 0xc0]
                         45c0 00e8 0000 0000 0211 ab3a 0a0b 0201
                         ffff ffff 0208 0208 00d4 0000 0201 0000
                         0002 0000 0a0a 0000 0000 0000 0000 0000
                         0000 0001 0002
^C
31 packets received by filter
0 packets dropped by kernel                                                    


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990517110124224-37c13e96>