Bridge configure script
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:
Here's some of my /etc/rc.local:
# The loopback network interface
iface lo inet loopback
# The network interfaces
iface eth0 inet manual
iface eth1 inet manual
iface eth2 inet manual
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.
# 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
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