[ovs-discuss] VXLAN problems

Igor Sever igor at xorops.com
Wed Dec 18 08:19:49 UTC 2013


I tried to implement tunneling between KVM virtual machines on two hosts
that are using public IP-s but are on the same LAN (Hetzner provider).
Virtual machines on both hosts are using same private 192. network.

I installed and configured Open vSwitch 2.0.0 on Centos 6.5. Standard
networking, bridging and all is working fine, as I can see. Access to
Internet from VM-s is working fine.


First I tried to implement GRE but I was getting errors:

kernel: gre_compat_init: cannot register gre protocol handler

kernel: openvswitch: cannot register gre protocol handler


Then I tried with VXLAN and configuration went fine, tunnel was
established, ping and SSH between VM-s  on different hosts is working. BUT
… data transfer would choke and break , … I tried SCP and DD with NC
transfers and all is breaking.


TCPDUMP is showing a lot of error like “out of order”, “dup ack”, “rst”…


NETPERF is showing very slow speed with a lot of retransmissions:

Throughput,Local Transport Retransmissions

755.06,1959


 Curent configuration is like this:

    Bridge "ovsbr0"

        Port "ovsbr0"

            Interface "ovsbr0"

                type: internal

        Port "eth0"

            Interface "eth0"

    Bridge "ovsgrebr1"

        Port "vx1"

            Interface "vx1"

                type: vxlan

                options: {remote_ip="78.x.x.x"}

        Port "ovsgrebr1"

            Interface "ovsgrebr1"

                type: internal

        Port "mysqlh1_net"

            Interface "mysqlh1_net"

    ovs_version: "2.0.0"


I tried to lower MTU on VM-s to 1450, but made no difference.

What could be the problem? Should I scrape it all and give up on tunneling
or do I have some other option?

Thanks very much.

Kind regards,

Igor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20131218/6649b960/attachment.html>


More information about the discuss mailing list