Well i dont know much about the version you are using but on gentoo,
www.gentoo.org
i made my own rc script to setup and take down the bridge on startup and
shutdown.
maybe you could use this.

#!/sbin/runscript
#Created by Chris Ellsworth 6/10/2002

depend() {
        need net
}

start() {
   ebegin "Starting Bridge"
   brctl addbr $bridge_name
   brctl addif $bridge_name $nic1
   brctl addif $bridge_name $nic2
   brctl stp $bridge_name off
   ifconfig $bridge_name up
   eend $?
}

stop() {
   ebegin "Stopping Bridge"
   ifconfig $bridge_name down
   brctl delif $bridge_name $nic1
   brctl delif $bridge_name $nic2
   brctl delbr $bridge_name
   eend $?
}

and  ____________----------------------

# this config file sets varables for a bridge between two network
# cards
# developed on 4-12-2002

bridge_name="brint_ext"
nic1="eth2"
nic2="eth0"
____________
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 14, 2002 4:12 AM
Subject: [Bridge] Shutdown problem


> Dear all,
>
>    I have successfully setup my bridge with firewalling capability (nf) to
> connect two segment of LANs together and now using the below: -
>
> [1] kernel 2.4.18 (patched with bridge-nf-0.0.6-against-2.4.18.diff)
> [2] iptables-1.2.5
> [3] bridge-utils-0.9.5
>
>    Everything works fine until i want to shutdown my linux box. I get the
> message below every time i try to shutdown my system.
>
> unregister_netdevice: waiting for eth1 to become free. Usage count = 14157
>
>    I get the same message (except the number of usage count)... i tried to
> delete my bridge first before shutdown with: -
>
> % brctl delif br01 eth0
> % brctl delif br01 eth1
> % ifconfig br01 down
> % brctl delbr br01
>
> and i even restart my network (without the bridge) with
>
> % /etc/rc.d/init.d/network restart
>
> before i issue the shutdown command (% shutdown -r now)...
>
> what is the problem? what am i missing here?
>
> Thank you in advance.
>
> _______________________________________________
> Bridge mailing list
> [EMAIL PROTECTED]
> http://www.math.leidenuniv.nl/mailman/listinfo/bridge
>
>


_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://www.math.leidenuniv.nl/mailman/listinfo/bridge

Reply via email to