I was wondering if there is a way to create a bridge that was essentially only internal that the VM's would be able to communicate on.
What I am trying to do is have 2 Windows kvm vm's have 2 nics inside the vm. One on a public bridge and the other on a private bridge.
Right now the host has vmbr0 which is connected to eth0 and both VM's can communicate with the outside world. I've also created vmbr1 which has no associated network interface from the host. I assumed that I could just add this bridge to the vm's as their second interface and it would essentially act as a virtual switch, which does not seem to be the case.
Hope I've described this well enough
---Host /etc/network/interfaces file---
# network interface settings
auto lo
iface lo inet loopback
iface eth0 inet manual
#Public bridge
auto vmbr0
iface vmbr0 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
#Private bridge
auto vmbr1
iface vmbr1 inet manual
bridge_ports none
bridge_stp off
bridge_fd 0
What I am trying to do is have 2 Windows kvm vm's have 2 nics inside the vm. One on a public bridge and the other on a private bridge.
Right now the host has vmbr0 which is connected to eth0 and both VM's can communicate with the outside world. I've also created vmbr1 which has no associated network interface from the host. I assumed that I could just add this bridge to the vm's as their second interface and it would essentially act as a virtual switch, which does not seem to be the case.
Hope I've described this well enough
---Host /etc/network/interfaces file---
# network interface settings
auto lo
iface lo inet loopback
iface eth0 inet manual
#Public bridge
auto vmbr0
iface vmbr0 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
#Private bridge
auto vmbr1
iface vmbr1 inet manual
bridge_ports none
bridge_stp off
bridge_fd 0