I have a server with 4 public IP's. I have it with this configuration and I want to bridge the interface eth0 for using it with KVM:
So, I have 3 IP's (A.B.C.144, A.B.C.145, A.B.C.146) and another interface with the main IP that I want to bridge (188.165.X.Y)
# The loopback network interface auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 188.165.X.Y netmask 255.255.255.0 network 126.96.36.199 broadcast 188.8.131.52 gateway 184.108.40.206 # KVM Bridge auto br0 iface br0 inet static address 188.165.X.Y netmask 255.255.255.0 network 220.127.116.11 broadcast 18.104.22.168 gateway 22.214.171.124 bridge_ports eth0 bridge_fd 9 bridge_hello 2 bridge_maxage 12 bridge_stp off auto eth0:0 iface eth0:0 inet static address A.B.C.145 netmask 255.255.255.255 auto eth0:1 iface eth0:1 inet static address A.B.C.146 netmask 255.255.255.255 auto eth0:2 iface eth0:2 inet static address A.B.C.147 netmask 255.255.255.255
Everything (eth0, eth0:0: eth0:1, eth0:2) is working fine except the bridge (br0). But, If I do:
I lose the connection and I have to restore configuration without br0.
What should I do?
With @Ulrich configuration:
device eth0 entered promiscuous mode e1000e 0000:00:19.0: irq 43 for MSI/MSI-X e1000e 0000:00:19.0: irq 43 for MSI/MSI-X ADDRCONF(NETDEV_UP): eth0: link is not ready ADDRCONF(NETDEV_UP): br0: link is not ready e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None e1000e 0000:00:19.0: eth0: 10/100 speed: disabling TSO ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready br0: port 1(eth0) entering forwarding state br0: port 1(eth0) entering forwarding state ADDRCONF(NETDEV_CHANGE): br0: link becomes ready