[ovs-discuss] Problem with adding any kind of tunneling

Eugene Istomin E.Istomin at edss.ee
Tue Oct 23 11:58:40 UTC 2012


Hello,

we have a troubles with setting up any kind of tunnels between two xen 
hypervisors with OVS 1.7.1.


/etc/SuSE-release
openSUSE 12.2 (x86_64)

uname -a
Linux hv01 3.4.14-1-xen

modinfo openvswitch
filename:       /lib/modules/3.4.14-1-xen/kernel/net/openvswitch/openvswitch.ko
license:        GPL
description:    Open vSwitch switching datapath
srcversion:     85CBAC03B121BA9E19165EC
depends:        
intree:         Y
vermagic:       3.4.14-1-xen SMP mod_unload modversions Xen 



For example we use br0 for outer network and br1 for inner network.

On first server:
sudo ovs-vsctl add-br br0
sudo ovs-vsctl add-br br1

sudo ovs-vsctl add-port br0 eth1
sudo ifconfig br0 10.3.17.225/24 up
sudo ifconfig br1 10.3.18.225/24 up
sudo ifconfig eth1 0.0.0.0 up

sudo route add default gw 10.3.17.1

sudo ovs-vsctl add-port br1 gre1 -- set interface gre1 type=gre 
options:remote_ip=10.3.17.223

On second:
..
sudo ifconfig br0 10.3.17.223/24 up
sudo ifconfig br1 10.3.18.223/24 up
...remote_ip=10.3.17.225


hv01:~ # ovs-vsctl show
41656f02-89d1-4030-b346-db682607f359
    Bridge "br0"
        Port "br0"
            Interface "br0"
                type: internal
        Port "eth1"
            Interface "eth1"
    Bridge "br1"
        Port "gre1"
            Interface "gre1"
                type: gre
                options: {remote_ip="10.3.17.223"}
        Port "br1"
            Interface "br1"
                type: internal
    ovs_version: "1.8.90"

hv01:~ # ovs-dpctl show
system at br0:
        lookups: hit:407 missed:262 lost:19
        flows: 0
        port 0: br0 (internal)
        port 1: eth1
system at br1:
        lookups: hit:14 missed:4 lost:0
        flows: 0
        port 0: br1 (internal)



After many hours of problem solving i switched to VXLAN version of OVS and use 
vxlan tunnel but result stays the same.
I think problem is in initial tunnel creation.

Can anyone had this issue?
Thanks.
-- 
Best regards,
Eugene Istomin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20121023/815e91aa/attachment.html>


More information about the discuss mailing list