[PVE-User] About openvswitch: just for testing purpose

Diaolin diaolin at diaolin.com
Thu Feb 20 11:13:51 CET 2014


I'm testing the "testing" release in a minimal production env

(15 vm on 2 nodes)

The switch works (OVSBridge)
but i'm searching to enable a tunnel between three nodes
in this manner:


/etc/network/interfaces

auto vmbr1
iface vmbr1 inet static
	address  10.168.1.55
	netmask  255.255.255.0
	ovs_type OVSBridge
	ovs_ports vx1

allow-vmbr1 vx1
iface vx1 inet manual
	ovs_type OVSTunnel
	ovs-bridge vmbr1
	ovs_tunnel_type vxlan
	ovs_tunnel_options options:remote_ip=192.168.1.56 options:key=flow 
options:dst_port=9999


seems that gre and vxlan are not compiled in...

in the two cases (gre and vxlan)

but i've seen that if using 3.1.10 it works like a charme

CONFIG_OPENVSWITCH=m
CONFIG_OPENVSWITCH_GRE=y
CONFIG_OPENVSWITCH_VXLAN=y


in the 2.6.32-27-pve the vxlan and the gre are missing

CONFIG_OPENVSWITCH=m


is this related to the backporting of openvswitch???

I take a look at the sources and seems that gre/vxlan are
missing in the 2.32 tree...

In any case no problem, only as advice for who is testing:

in the 2.6.32 no way to configure vxlan or gre on OVSTunnel.

Any idea to implement OVSTunnel in the interface?

:-)

Tx, Diaolin




tail -3 /var/log/openvswitcd/ovs-vswitchd.log
2014-02-20T09:34:31.642Z|00019|dpif|WARN|system at ovs-system: failed to 
add vxlan1 as port: Address family not supported by protocol
2014-02-20T09:35:39.035Z|00020|dpif|WARN|system at ovs-system: failed to 
add gre1 as port: Address family not supported by protocol
2014-02-20T09:36:16.139Z|00021|dpif|WARN|system at ovs-system: failed to 
add gre1 as port: Address family not supported by protocol


---
S’à destacà l’ultima föia dal bósch nét
crodàda l’ei, solàgna, ‘n mèzz ai sàssi
e ‘ntant fis-ciava ‘n zìfol de oseleti
a tegnìr vìo ‘l pensér che vèn matìna
[Diaolin]



More information about the pve-user mailing list