Date: Sun, 28 Sep 2003 11:11:53 +0200 From: "Dambielle Yannick" <yannick.dambielle@free.fr> To: "Giovanni P. Tirloni" <gpt@tirloni.org>, <freebsd-net@freebsd.org> Subject: Re: tcpdump - tun/tap virtual interfaces Message-ID: <001401c385a0$95536d00$3fc64352@shibuya> References: <001301c38545$27a15cf0$3fc64352@shibuya> <20030928045919.GB92528@pixies.tirloni.org>
next in thread | previous in thread | raw e-mail | index | archive | help
When I sniff lo0, I have this result : 10:09:12 10.0.0.1 > 10.0.0.1: icmp: echo request 10:09:12 10.0.0.1 > 10.0.0.1: icmp: echo reply ... I've noticed that in dmesg: tap0: discard frame w/o leading ethernet header (len 2 pkt len2) I don't know anything about that (?!?) Does it works for you when you sniff a tap interface ? Yannick ----- Original Message ----- From: "Giovanni P. Tirloni" <gpt@tirloni.org> To: <freebsd-net@freebsd.org> Sent: Sunday, September 28, 2003 6:59 AM Subject: Re: tcpdump - tun/tap virtual interfaces > * Dambielle Yannick (yannick.dambielle@free.fr) wrote: > > Hello everybody, > > > > I've tried to dump some paquets sent to a virtual interface without any > > success for a couple of hours so I ask for some helps to the list. > > I use a FreeBSD 5.0, my kernel has been rebuilt and installed with the > > following option in order to use a tap virtual interface : device tap > > The virtual interface has been created (tap0) and I've attached the IP > > adress 10.0.0.1. It seems ok, I can see it with ifconfig. > > All the tests are local tests. > > While I ping 10.0.0.1 (paquets are sent and not lost), I laught a tcpdump -i > > tap0 from another shell... Nothing is dumped (?!)... > > Well, if some of you has an idea, I'll be very happy. > > Try sniffing your loopback (lo0) interface. > > -- > Giovanni P. Tirloni <gpt at tirloni.org> > Fingerprint: 8C3F BEC5 79BD 3E9B EDB8 72F4 16E8 BA5E D031 5C26 > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001401c385a0$95536d00$3fc64352>