Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2005 19:31:01 +0400
From:      Sergey Evteeff <ostap@mail.radiant.ru>
To:        freebsd-questions@freebsd.org
Subject:   Physical ethernet interface and TAP in same bridge group
Message-ID:  <200502161931.01231.ostap@mail.radiant.ru>

next in thread | raw e-mail | index | archive | help
Hello.

First, I have a question about correct TAP interface bringing up. How I must 
do it? 
Some people recommend do it like this:
dd if=/dev/null of=/dev/tap0 bs=1500 count=1
dd if=/dev/null of=/dev/tap1 bs=1500 count=1
dd if=/dev/null of=/dev/tap2 bs=1500 count=1

All ok, but I think it's not correct. So, how?

Second question I'd have is how I can join it into bridge group?
Some hand-passes like 
sysctl -w net.link.ether.bridge_cfg=fxp0:1,tap0:1,tap1:1,tap2:1
sysctl -w net.link.ether.bridge=1
is work, in this case IP traffic through bridge group successfully but 
Ethernet frames not. 

As a result of this I want have more than one ng pppoed at one physical 
interface. I think that:
/usr/libexec/pppoed -a Hub0 -l hub0 tap0
/usr/libexec/pppoed -a Hub1 -l hub1 tap1
/usr/libexec/pppoed -a Hub2 -l hub2 tap2
will work.

Maybe I think wrong? Anybody have some solution for me?

Thanks.

PS: sorry for my english.
-- 
Sergey Evteeff		mailto:ostap@mail.radiant.ru
				



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502161931.01231.ostap>