[ovs-discuss] Open vSwitch, brcompatd & OpenVZ on Debian

Sam Gaw hello at samgaw.co.uk
Thu May 5 08:28:54 UTC 2011

I've been experimenting with OVS (1.1.0pre2) alongside OpenVZ running on Debian Squeeze (2.6.32-5) and was wondering if anyone had any experience or advice with this sort of setup?

Normally with OpenVZ I would create a bridge and add the containers' veth interfaces to the bridge. The config in /etc/network/interfaces ends up looking like:

	allow-hotplug eth0
	iface eth0 inet manual

	auto vzbr0
	iface vzbr0 inet static
	    bridge_ports eth0
	    bridge_stp off
	    bridge_fd 0

The command to join the container's eth0 veth interface to the bridge is just:

	vzctl set 100 --netif_add eth0,,,,vzbr0 --save

Reading the Open vSwitch documentation on VLANs (http://openvswitch.org/?page_id=146) it describes exactly how I'd want the bridges to operate, as a VLAN trunk to my switches, but I'm not quite sure what config I'm expected to use to set the bridges up. I've tried creating a new bridge with both ovs-vsctl (add-br, add-port) and brctl but I'm not seeing any traffic going to my containers.

Any help is much appreciated.


More information about the discuss mailing list