I have a Ubuntu hardy server which has 3 ethernet cards.
I configured them to act as one bridge(using brctl)

Here's my /etc/network/interfaces:
Code:
# The loopback network interface
auto lo
iface lo inet loopback

# The network interfaces
auto eth0
iface eth0 inet manual
auto eth1
iface eth1 inet manual
auto eth2
iface eth2 inet manual
Here's some of my /etc/rc.local:
Code:
# Setting up the bridge
ifconfig eth0 0.0.0.0
ifconfig eth1 0.0.0.0
ifconfig eth2 0.0.0.0
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 eth1
brctl addif br0 eth2
ifconfig br0 up
dhclient br0
Now my problem is that the brctl script is in rc.local which gets executed at the end of the boot process, but that's a pain since the server doesn't have network until then making everything less responsive after a startup.

Does anyone have any recommendation where i could put that script, or another way to configure that bridge?

One more question: my bridge is set for dhcp, but i would like a static ip. How do i make it static?

PS: Sorry if this is not the right category, it might be in Ubuntu(since that the os i have), Debian(since i'm talking about those policies), Programming(talk about scripts) or Networking