Ubuntu 14.04 + libvirt KVM,3个物理nic,3个外部ip,3个子网+内部networking如何?

我有一个Ubuntu的14.04 LTS服务器3 nic,3外部ip从3不同的子网与3不同的网关。

我已经安装了libvirt KVM和两个Windows 7 64位客户机。

eth0(1.1.1.1与网关1.1.1.254)是Ubuntu主机(和一个tun0 OpenVPN)。
br1-eth1(2.2.2.2带网关2.2.2.254)是Win7-1 guest和
br2-eth2(3.3.3.3与网关3.3.3.254)是Win7-2 guest。

的/ etc /networking/接口

auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 1.1.1.1 netmask 255.255.255.0 gateway 1.1.1.254 dns-nameservers 8.8.4.4 8.8.8.8 auto br1 iface br1 inet manual bridge_ports eth1 bridge_fd 0 bridge_hello 2 bridge_maxage 12 bridge_stp off auto br2 iface br2 inet manual bridge_ports eth2 bridge_fd 0 bridge_hello 2 bridge_maxage 12 bridge_stp off 

win7-1.xml

 <interface type='bridge'> <mac address='52:54:00:aa:aa:aa'/> <source bridge='br1'/> <target dev='vnet1'/> <model type='virtio'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> 

win7-2.xml

 <interface type='bridge'> <mac address='52:54:00:ba:ba:ba'/> <source bridge='br2'/> <target dev='vnet2'/> <model type='virtio'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> 

我在Windows客户机中设置了eth1和eth2外部IP。

networking是好的,工作(configuration是否正常?),但我想创build一个Ubuntu主机和两个Windows来宾之间的内部networking。
我想从192.168.0.1的Windows来宾访问Ubuntu主机,192.168.0.2(Win7-1)和192.168.0.3(Win7-3)来自主机的访客。

我可以使用virsh命令来pipe理guest虚拟机,并仅编辑libvirt xml文件。

请给我正确的/ etc /networking/接口和主机xmls这个内部networkingconfiguration!

非常感谢你!