I’ve been using the virsh default linux bridge as my go-to interface for when I want local communication between VMs.
Now we’re moving some clients to a more complex setup and I’d like to have them on their own “private LAN” so to speak.
What I’ve done so far:
- I created a new bridge interface
ovs-vsctl add-br privlan0
- I added It to ON with this config:
BRIDGE = "privlan0"
DESCRIPTION = "Private LAN for prod"
DNS = "8.8.8.8"
GATEWAY = "192.168.0.1"
NETWORK_ADDRESS = "192.168.0.1"
NETWORK_MASK = "255.255.255.0"
OUTER_VLAN_ID = ""
PHYDEV = ""
SECURITY_GROUPS = "0"
VLAN_ID = "1"
VN_MAD = "ovswitch"
Once I add a VM to this network It can successfully talk to the host and others, however none of the VMs have internet access, how caan I add this?
Thanks