[ovs-discuss] Problems setting up VxLAN
Gurucharan Shetty
shettyg at nicira.com
Thu Feb 20 22:01:22 UTC 2014
>> Now, you can ping 1.2.3.5 from M1 over a vxlan tunnel, provided that
>> your kernel module supports vxlan tunnels.
>>
>
> So do I need a vxlan kernel module then ?
>
> B/c I found a blog which shows a vxlan module loaded:
> e.g.
> $ lsmod | grep openv
> openvswitch 66772 0
> vxlan 37238 1 openvswitch
> gre 13888 1 openvswitch
> libcrc32c 12603 1 openvswitch
>
> ...when showing how to setup OVS & Fedora.
>
> Link:
> http://networkstatic.net/install-open-vswitch-networking-red-hat-fedora-20/
>
> I ask because I do not have such a module loaded:
> $ lsmod | grep openv
> openvswitch 79599 0
> gre 14174 1 openvswitch
> libcrc32c 12615 1 openvswitch
There are two places you can pick OVS kernel modules. One is upstream
Linux (in which case, you probably need to load other modules) and the
other is from openvswitch.org (you will have to compile one for a
particular version of OVS or simply build a debian package as in
INSTALL.Debian). With the one from openvswitch.org, it will work
standalone. I don't know where you got your OVS kernel module from.
Does it come default with Ubuntu 13.10?
I think it is also important to know the OVS user space version.
(ovs-vsctl --version). If it is older than 1.10 (?), I think it does
not support vxlan.
You can always try with gre instead of vxlan to make sure your config
is correct (again, I suggest to use the kernel module from
openvswitch.org).
>
> and when I try to load the module it fails with an error:
>
> dom at ubuntu:/lib/modules/3.11.0-12-generic/kernel/drivers/net$ sudo insmod
> vxlan.ko
> [sudo] password for dom:
> Error: could not insert module vxlan.ko: Unknown symbol in module
>
> $ tail /var/log/kern.log -n5
> Feb 20 20:09:01 ubuntu kernel: [ 12.881112] device ovs-system entered
> promiscuous mode
> Feb 20 20:09:01 ubuntu kernel: [ 12.881301] openvswitch: netlink: Key
> attribute has unexpected length (type=62, length=4, expected=0).
> Feb 20 20:09:01 ubuntu kernel: [ 12.997359] device br1 entered promiscuous
> mode
> Feb 20 21:02:54 ubuntu kernel: [ 3245.701560] vxlan: Unknown symbol
> ip_tunnel_get_stats64 (err 0)
> Feb 20 21:35:44 ubuntu kernel: [ 5215.922225] vxlan: Unknown symbol
> ip_tunnel_get_stats64 (err 0)
>
>
> Its a 13.10 Ubuntu kernel:
> $ uname -r
> 3.11.0-12-generic
>
> Which I find a bit odd. is this a known issue ? Do I need to build a later
> kernel as well.
>
> Any help appreciated.
>
> Thanks
> dom
>
More information about the discuss
mailing list