Ask Your Question
0

I an having a problem using vxlan with Linuxbridge

asked 2014-06-17 09:20:04 -0500

Phil_h gravatar image

I am using Icehouse on Ubuntu 14.04. I have set up a controller node, a network node using OVS, a compute node using OVS and a compute node using linuxbridge. I am using VXLAN to encapsulate packets on the data plane. I may be doing something wrong but I believe I have run into a neutron bug and I would like to be sure before I submit a bug report.

I can get this all working but I have to do a couple of items outside Openstack that Openstack is not doing correctly.

Specificially on the compute node running the linuxbridge, first to get things talking the VXLAN kernel modlue must be loaded with the udp_port=4789, since Linux will use the port 8472 by default and OVS uses the prorper VXLAN udp port of 4789.

Using the cli I can build networks and VMs on both compute nodes but the VMs on the compute node using linuxbridge never get IPs. Specifically I see the DHCP reply packets coming into the ethernet interface on this node but they never get forwarded to the vxlan interface.

Neutron builds the vxlan interface with the following commands: ip link add vxlan-10 type vxlan id 10 dev eth1 proxy ip link set vxlan-10 up brctl addif brq499c385c-cf vxlan-10 ip nei add 10.0.2.5 lladdr fa:16:3e:97:81:cf dev vxlan-10 bridge fdb append 00:00:00:00:00:00 dev vxlan-10 dst 10.0.2.6 bridge fdb add fa:16:3e:3e:08:c4 dev vxlan-10 dst 10.0.2.6 bridge fdb append 00:00:00:00:00:00 dev vxlan-10 dst 10.0.2.5 bridge fdb add fa:16:3e:97:81:cf dev vxlan-10 dst 10.0.2.5

which doesn't work. If I delete the vxlan interface and build it but change the second line to: ip link add vxlan-10 type vxlan id 10 remote 10.0.2.5 dev eth1

Everything works. All of my VMs get IPs and I can connect from VMs built on the OVS compute node to the ones built on the linuxbridge node.

Has anyone using Icehouse gotten this type of setup working?

Phil

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-06-17 11:40:09 -0500

SGPJ gravatar image

A week back I got this issue and with latest release it seems ok. Please get the latest.

edit flag offensive delete link more
0

answered 2014-06-17 11:28:39 -0500

Phil_h gravatar image

Doing a upgrade fixed th e problem. Apparantely it waws a bug in a package.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-06-17 09:20:04 -0500

Seen: 1,492 times

Last updated: Jun 17 '14