I have the following configured on my ubuntu host:
virsh config for "passthrough"
<network> <name>passthrough</name> <uuid>75a1b772-36ad-11e3-99dd-002590c04404</uuid> <forward mode='nat'/> <bridge name='ptbr0' stp='on' delay='0' /> <ip address='10.20.0.50' netmask='255.255.254.0'> <dhcp> <range start='10.20.0.51' end='10.20.0.75' /> </dhcp> </ip> </network>
and my /etc/network/interfaces
auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 10.22.4.28 netmask 255.255.252.0 network 10.22.4.0 gateway 10.22.4.1 dns-nameserver 10.22.4.23 dns-search blackport.local auto eth1 iface eth1 inet manual auto ptbr0 iface ptbr0 inet static address 10.20.0.50 network 10.20.0.0 netmask 255.255.254.0 broadcast 10.20.0.255 gateway 10.20.0.1 bridge_ports eth1 bridge_fd 9 bridge_hello 2 bridge_maxage 12 bridge_stp off
So in other words, I have a 10.20.0.0/24 network, a 10.22.4.0/22 network, and the ubuntu host has a card dedicated to each network. I want the guest vm's to hang out in 10.20.0 and be reachable from the 10.22.4 netowrk. My ptbr0 card comes up with the ipaddress 10.20.0.50 which IS reachable from the 10.22.4 network. However, when my first kvm comes up with the address 10.20.0.56, it is not reachable, with a "Destination port unreachable"
I tried to set up a route on the ubuntu host that pushed traffic to the ptbr0 device, but it did not work. What else can I try to make this happen?