Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] bridge configuration problem
Date: Fri, 08 Aug 2008 11:48:35
Message-Id: B8C14552-F528-46A6-ACC4-3BF57CF6C0F1@stellar.eclipse.co.uk
In Reply to: [gentoo-user] bridge configuration problem by Shaochun Wang
1 On 8 Aug 2008, at 03:17, Shaochun Wang wrote:
2 > ...
3 > I configure my network bridge as following:
4 > ...
5 > Does anyone know what's wrong with it?
6
7 It looks quite different to mine:
8
9 $ cat /etc/conf.d/net
10 dns_domain="redacted.example.net"
11
12 dns_servers="192.168.1.43 192.168.1.1 212.104.130.9 212.104.130.65"
13
14 bridge_br0="eth0 eth1"
15
16 config_eth0=( "null" )
17 config_eth1=( "null" )
18
19 config_br0=( "192.168.1.44 netmask 255.255.255.0 broadcast
20 192.168.1.255" )
21 routes_br0=( "default via 192.168.1.1" )
22
23 preup() {
24 if [[ ${IFACE} == "br0" ]] ;
25 then sleep 30 ;
26 fi
27 return 0
28 }
29 $
30
31 Note that the preup is added in an attempt to overcome similar
32 problems to those you describe - starting or restarting the bridge
33 doesn't always work first time - but mine is still flakey.
34
35 Stroller.

Replies

Subject Author
Re: [gentoo-user] bridge configuration problem Shaochun Wang <scwang@××××××.cn>