tcpdump - tun/tap virtual interfaces
Robert Watson
rwatson at freebsd.org
Sun Sep 28 09:41:04 PDT 2003
On Sun, 28 Sep 2003, Dambielle Yannick wrote:
> 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.
Do you see anything when you ping the broadcast address or other foreign
address of the tap interface? Packets delivered to local IP addresses
generally don't go out an interface.
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
robert at fledge.watson.org Network Associates Laboratories
More information about the freebsd-net
mailing list