Results 1 to 1 of 1
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-21-2008 #1
Bridge configure script
I configured them to act as one bridge(using brctl)
Here's my /etc/network/interfaces:
# 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
# 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
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