Re: Network bridge - faster startup?
- From: Dean <de@xxxxxxxxxxxx>
- Date: Sun, 11 Sep 2011 21:16:25 +0100
On Sun, 11 Sep 2011 19:38:34 +0000 (UTC), Nick Leverton wrote:
In article <zLWdnYn9du2Fm_DTnZ2dnUVZ8hKdnZ2d@xxxxxxxxxxxxxxxx>,
Dean <de@xxxxxxxxxxxx> wrote:
eth0 and eth1 are bridged. I have a 100mb router/switch, so the bridge
gives me a decent performing 1Gb connection between the windows box and the
ubuntu server without having to buy a higher spec switch.
Is there any way to speed up the bridge?
Try addin the followin to the interface definition:
bridge_maxwait 0
bridge_fd 0
The forwardin delay is probably what's makin it take 15 seconds from
learnin to forwardin status. I for.et what maxwait is but I think it's
related to a startup delay.
Thanks. I'm assuming the order of interface options isn't important. I now
have:
auto br0
iface br0 inet static
address 192.168.0.3
netmask 255.255.255.0
network 192.168.0.0
gateway 192.168.0.1
dns-nameservers 192.168.0.1
bridge_maxwait 0
bridge_fd 0
pre-up ifconfig eth0 down
pre-up ifconfig eth1 down
pre-up brctl addbr br0
pre-up brctl addif br0 eth0
pre-up brctl addif br0 eth1
pre-up ifconfig eth0 0.0.0.0
pre-up ifconfig eth1 0.0.0.0
post-down ifconfig eth0 down
post-down ifconfig eth1 down
post-down ifconfig br0 down
post-down brctl delif br0 eth0
post-down brctl delif br0 eth1
post-down brctl delbr br0
But I'm still seing the 15 seconds bewteen entering learning/forwarding
state.
Sorry my key between f and h is broken ...
Care to help with some problems with Gnome applications ;-)
.
- Follow-Ups:
- Re: Network bridge - faster startup?
- From: Nick Leverton
- Re: Network bridge - faster startup?
- References:
- Network bridge - faster startup?
- From: Dean
- Re: Network bridge - faster startup?
- From: Nick Leverton
- Network bridge - faster startup?
- Prev by Date: Re: Network bridge - faster startup?
- Next by Date: Re: Network bridge - faster startup?
- Previous by thread: Re: Network bridge - faster startup?
- Next by thread: Re: Network bridge - faster startup?
- Index(es):
Relevant Pages
|