Code:
[root@server network-scripts]# service network restart
Shutting down interface br0: [ OK ]
Shutting down interface br1: [ OK ]
Shutting down interface br2: [ OK ]
Shutting down interface eth0: [ OK ]
Shutting down interface eth2: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
Bringing up interface eth1: RTNETLINK answers: Cannot assign requested address
can't add eth1 to bridge br1: Invalid argument
[ OK ]
Bringing up interface eth2: [ OK ]
Bringing up interface br0: [ OK ]
Bringing up interface br1: [ OK ]
Bringing up interface br2: [ OK ]
I ran into some problems where I had to reinstall the os on my server. I'm running centos 6 and kvm. fresh install, updated, now trying to set up bridged networking. I don't know what this error means or where to look for more information.
ifcfg-eth0
Code:
DEVICE=eth0
HWADDR=6c:62:6d:c8:e4:d9
ONBOOT=yes
BRIDGE=br0
BOOTPROTO=none
TYPE=Ethernet
IPV6INIT=no
USERCTL=no
ifcfg-br0
Code:
DEVICE=br0
ONBOOT=yes
TYPE=Bridge
BOOTPROTO=none
IPADDR=192.168.3.2
NETMASK=255.255.255.0
GATEWAY=192.168.3.10
STP=on
DELAY=0
IPV6INIT=no
USERCTL=no
ifcfg-eth1
Code:
DEVICE=eth1
ONBOOT=yes
BRIDGE=br1
BOOTPROTO=none
TYPE=Ethernet
IPV6INIT=no
USERCTL=no
ifcfg-br1
Code:
DEVICE=br1
ONBOOT=yes
TYPE=Bridge
BOOTPROTO=none
IPADDR=192.168.210.2
GATEWAY=192.168.210.2
STP=on
DELAY=0
IPV6INIT=no
USERCTL=no
ifcfg-eth2
Code:
DEVICE=eth2
ONBOOT=yes
BRIDGE=br2
BOOTPROTO=none
TYPE=Ethernet
IPV6INIT=no
USERCTL=no
ifcfg-br2
Code:
DEVICE=br2
ONBOOT=yes
TYPE=Bridge
BOOTPROTO=none
IPADDR=192.168.220.2
GATEWAY=192.168.220.2
STP=on
DELAY=0
IPV6INIT=no
USERCTL=no
the local network is in the 192.168.3. range. the temp router ends in 10, but will be 1 when running in a virtual machine. eth0 is the lan, eth1 wan, eth2 not in use. in the past I've always gotten the wan bridge to work by setting an unused ip/subnet just to bring the interface online but not request an ip via dhcp.