Physical ethernet interface and TAP in same bridge group
    Sergey Evteeff 
    ostap at mail.radiant.ru
       
    Wed Feb 16 15:31:00 GMT 2005
    
    
  
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 at mail.radiant.ru
				
    
    
More information about the freebsd-questions
mailing list