You are not logged in.

#1 2010-05-21 12:37:10

menollo
Member
Registered: 2010-05-21
Posts: 5

Brdige sometimes named br0_rename

I've a strage problem.

I've a bridge br0 with interfaces eth1 and vbox0.
Most of the time there is no problem, but sometimes the bridge is created as br0_rename (during system boot).

Does someone know why my interface is created as br0_rename and not as usual br0?
I can't find anything strange in the log files.

in /etc/rc.conf i've this:

eth0="eth0 ....."
eth1="eth1 up"
br0="br0 192.168.0.1 netmask 255.255.0.0"
INTERFACES=(eth0 eth1 br0)

and in /etc/conf.d/bridges this:

bridge_br0="eth1 vbox0"
BRIDGE_INTERFACES=(br0)

Last edited by menollo (2010-05-21 12:38:16)

Offline

#2 2010-05-21 14:21:28

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: Brdige sometimes named br0_rename

is the vbox0 interface available before the bridge is created, maybe the vbox0 interface starts up a little late and thats causing the problem, try using rc.local for creating the bridge, see if it works then.

Offline

#3 2010-05-21 14:31:56

menollo
Member
Registered: 2010-05-21
Posts: 5

Re: Brdige sometimes named br0_rename

thanks for reply, I think you're right and it's something with the vbox0 interface..
vbox0 is not part of br0_rename..

i forgot to post rc.local:

tunctl -t vbox0  -u vbox
ifconfig vbox0 0.0.0.0 promisc up
brctl addif br0 vbox0

(vbox0 interface is owned by user vbox)

Offline

#4 2010-05-21 14:36:16

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: Brdige sometimes named br0_rename

you should remove the vbox0 from /etc/conf.d/bridges file if your using rc.local to add vbox0.

Offline

#5 2010-05-21 14:51:34

menollo
Member
Registered: 2010-05-21
Posts: 5

Re: Brdige sometimes named br0_rename

thanks again.
I've removed vbox0 in /etc/conf.d/bridges.

It looks good now and I hope it will every boot

Offline

Board footer

Powered by FluxBB