tap interface problem
Sébastien Serre
sserre.bx at gmail.com
Sun Sep 27 16:42:51 UTC 2009
Hello, I hope somebody here known well tap interfaces on freebsd :).
I try to configure virtualbox with bridge interface. Everything seams ok:
# ifconfig tap0
tap0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu
1500
ether 00:bd:4f:0a:00:00
inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
# ls -l /dev/tap0
crw-rw-rw- 1 root wheel 0, 109 Sep 27 16:54 /dev/tap0
The problem is that nothing pass in the tap0 interface. tcpdump does not show
any traffic when I try to connect a machine on the 192.168 network.
I can ping the interface address (192.168.0.1). But without with the use of
the tap itself (use of lo0):
# route -n get 192.168.0.1
route to: 192.168.0.1
destination: 192.168.0.1
interface: lo0
flags: <UP,HOST,DONE,LLINFO,WASCLONED,LOCAL>
recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu
expire
0 0 0 0 0 0 16384 0
Then i have a tap interface up, but i can't pass to it any traffic.
Does anybody have a suggestion, or know some debugging tools to show what
append?
Thanks
Sebovick
More information about the freebsd-questions
mailing list