Here is a quick post for setting up GRE tunnels on OpenVswitch. Both Vswitch boxes are attached to an OpenFlow Beacon controller.
More up to date how-to can be found here:
Configuring VXLan and GRE tunnels on OpenvSwitch
KVM live storage migration makes an interesting story and run at VMware tools. The dreaded layer2 data center link conversation may never go away unfortunately. It would be nice to push this to the Hypervisors rather than mucking up our pretty networks.
oVirt is looking pretty slick in recent weeks for a KVM Hypervisor virtual manager for HA, live migration, storage management, system scheduler etc. Started an install but haven’t finished enough of it to test yet.
Ovswitch A
ovs−vsctl add−port br0 vlan10 tag=10 −− set Interface vlan10 type=internal ovs-vsctl add-br br1 ovs-vsctl add-port br1 gre0 -- set interface gre0 type=gre options:remote_ip=192.168.1.76 ovs−vsctl add−port br1 vlan10 tag=10 −− set Interface vlan10 type=internal ifconfig vlan10 10.1.1.2 netmask 255.255.255.0 up
Ovswitch B
ovs−vsctl add−port br0 vlan10 tag=10 −− set Interface vlan10 type=internal ovs-vsctl add-br br1 ovs-vsctl add-port br1 gre0 -- set interface gre0 type=gre options:remote_ip=192.168.1.25 ovs−vsctl add−port br1 vlan10 tag=10 −− set Interface vlan10 type=internal ifconfig vlan10 10.1.1.1 netmask 255.255.255.0 up
######## Output #############
/home/brent# ovs-appctl fdb/show br1 port VLAN MAC Age 3 10 9a:58:d9:fa:e2:1f 4 2 10 a6:26:6a:9f:f8:ba 4
/home/brent# ovs-dpctl show
system@br1: lookups: hit:6813 missed:176 lost:0 flows: 0 port 0: br1 (internal) port 2: vlan10 (internal) port 3: gre0 (gre: remote_ip=192.168.1.76)
Destination Gateway Genmask Flags Metric Ref Use Iface default 192.168.1.1 0.0.0.0 UG 0 0 0 br0 192.168.1.0 * 255.255.255.0 U 0 0 0 br0 10.1.1..0 * 255.255.255.0 U 0 0 0 vlan10
Some completely unscientific numbers are here. Granted this is a laptop burning a whole in my lap going to a crummy old lab box. We are going to test soon on some high end gear and see what the perf numbers are over GRE to see what kind of scale looks reasonable.
Baseline over Eth0 not in the GRE tunnel

