Scrum that. cd /lib/modules/3.11.0-12-generic/kernel/drivers/net modprobe vxlan
$ lsmod | grep vx vxlan 27837 0 ip_tunnel 23600 1 vxlan Still no dependency on openvswitch though ?? On Thu, Feb 20, 2014 at 1:48 PM, Dominic Curran <[email protected]>wrote: > > > > On Thu, Feb 20, 2014 at 7:29 AM, Gurucharan Shetty <[email protected]>wrote: > >> On Wed, Feb 19, 2014 at 2:19 PM, Dominic Curran <[email protected]> >> wrote: >> > Hi >> > >> > I'm running OVS on top of Ubuntu 13.10. I have installed OVS and built >> the >> > tip of the latest master (as of yesterday). >> > >> > I'm trying to setup VXLAN between two machines. >> > >> > >> > The two machines can ping each other on their DHCP assigned addresses. >> > >> > On M1 I setup: >> > $ sudo ovs-vsctl add-br br1 >> > $ sudo ifconfig br1 192.168.0.101 netmask 255.255.255.0 >> > $ sudo ovs-vsctl add-port br1 vx -- set interface vx type=vxlan >> > options:remote_ip=192.168.0.102 options:key=40 >> This won't work. >> Assuming eth1 of M1 is connected to eth1 of M2: >> Keep the IP address on eth1 and not on br1. >> >> Or do something like this on M1 >> ovs-vsctl add-br br1 >> ovs-vsctl add-port br1 eth1 >> ifconfig br1 192.168.0.101 netmask 255.255.255.0 >> >> ovs-vsctl add-br br-int >> ovs-vsctl add-port br-int vx -- set interface vx type=vxlan >> options:remote_ip=192.168.0.102 options:key=40 >> >> Similar on M2 >> >> #on M1 >> ifconfig br-int 1.2.3.4/24 >> >> #on M2 >> ifconfig br-int 1.2.3.5/24 >> >> 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 > > and when I try to load the module it fails with an error: > > dom@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 > >
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
