i'm currently stuck at setting up the bridged networking on a dedicated server to allow the KVM-guests to use ips from an extra subnet. As far as i know, the address, broadcast and gateway must always be in range of the netmask.
My original network setup (/etc/network/interfaces) looks like this:
auto eth0 iface eth0 inet static address 220.127.116.11 broadcast 18.104.22.168 netmask 255.255.255.224 gateway 22.214.171.124
So, to allow using the device as a bridge, i changed the file like this:
auto eth0 iface eth0 inet manual auto br0 iface br0 inet static address 126.96.36.199 broadcast 188.8.131.52 netmask 255.255.255.224 gateway 184.108.40.206 bridge-ports eth0
Result: Networking still available. However this is the information i got from the provider:
subnet: 220.127.116.11/29 addresses: 9.8.7.(200-207) netmask: 255.255.255.248 gateway: 18.104.22.168 broadcast: 22.214.171.124
So the gateway as actually my main ip. However it does not exists in the current network. I've added a second bridge to my interfaces file:
auto br1 iface br1 inet static address 126.96.36.199 broadcast 188.8.131.52 netmask 255.255.255.248 gateway 184.108.40.206 bridge-ports eth0
The result is: i can ping 220.127.116.11, however when trying to ping via br1, no host can be resolved. The output of "route -n" is:
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 18.104.22.168 0.0.0.0 UG 0 0 0 br0 22.214.171.124 0.0.0.0 255.255.255.248 U 0 0 0 br1 126.96.36.199 0.0.0.0 255.255.255.224 U 0 0 0 br0
I'm looking forward thankfully for any assistance with this problem.