tcpdump - tun/tap virtual interfaces

Giovanni P. Tirloni gpt at tirloni.org
Sat Sep 27 21:59:25 PDT 2003


* Dambielle Yannick (yannick.dambielle at 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


More information about the freebsd-net mailing list