ethernet over ip

Nickolay A. Kritsky nkritsky at star-sw.com
Tue Aug 3 12:49:00 PDT 2004


Hello Pawel,

Tuesday, August 03, 2004, 6:17:31 PM, Pawel Malachowski wrote:

PM> On Tue, Aug 03, 2004 at 09:36:11AM -0400, Dave Dolson wrote:

PM> One can also try with userland tunnel daemon (like vtund), associate
PM> tunnel with tap(4) interfaces and turn on bridging on tap and LAN-side
PM> interfaces.

hmm... I have tried simple bridging with tap0 and it looks strange:

bash-2.05b# sysctl  -a |grep bridge
net.link.ether.bridge_cfg: ed0:1,tap0:1
net.link.ether.bridge: 1
net.link.ether.bridge_ipfw: 0
net.link.ether.bridge_ipf: 0
net.link.ether.bridge_ipfw_drop: 0
net.link.ether.bridge_ipfw_collisions: 0
bash-2.05b# ifconfig tap0
tap0: flags=8903<UP,BROADCAST,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::2bd:f4ff:fe91:8000%tap0 prefixlen 64 scopeid 0xd
        ether 00:bd:f4:91:80:00
bash-2.05b# head -c 100 /dev/tap0 |less

gave nothing in 2 minutes, while packets are seen on ed0 every ~10
seconds.

bash-2.05b# uname -sr
FreeBSD 4.9-RELEASE

-- 
Best regards,
;  Nickolay A. Kritsky
; SysAdmin STAR Software LLC
; mailto:nkritsky at star-sw.com




More information about the freebsd-net mailing list