On 8 Aug 2008, at 03:17, Shaochun Wang wrote:
...
I configure my network bridge as following:
...
Does anyone know what's wrong with it?
It looks quite different to mine:
$ cat /etc/conf.d/net
dns_domain="redacted.example.net"
dns_servers="192.168.1.43 192.168.1.1 212.104.130.9 212.104.130.65"
bridge_br0="eth0 eth1"
config_eth0=( "null" )
config_eth1=( "null" )
config_br0=( "192.168.1.44 netmask 255.255.255.0 broadcast
192.168.1.255" )
routes_br0=( "default via 192.168.1.1" )
preup() {
if [[ ${IFACE} == "br0" ]] ;
then sleep 30 ;
fi
return 0
}
$
Note that the preup is added in an attempt to overcome similar
problems to those you describe - starting or restarting the bridge
doesn't always work first time - but mine is still flakey.
Stroller.