Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

vxlan between openstack node and mininet switch

Hi All, I have basic devstack installation all in one machine. Physical interface of this machine is eth0 with ip 192.168.1.51. Post devstack installation br-ex was created with ip 192.168.12.1. I created a cirros instance with ip 10.12.15.3 ( on private network in openstack ). I was able to reach the instance from the host terminal.

I have mininet simulated with a single switch and single host( with ip 10.0.0.1 ) in another machine. I have created vxlan port on the switch and installed flows to be able reach 10.12.15.3 instance on the openstack machine. I used the command below to create vxlan port. "sh ovs-vsctl add-port s1 vtep -- set interface vtep type=vxlan option:remote_ip=192.168.12.1 option:key=flow ofport_request=10"

Now I did 'h1 ping 10.12.15.3' in mininet terminal. I do not expect the ping will work since I have not configured vxlan port on openstack machine But I was expecting to see if the ARP request reaches 10.12.15.3. So on the openstack machine I did a tcpdump. I could see the ARP request coming in 'ARP, Request who-has 10.12.15.3 tell 10.0.0.1, length 28' on the physical interface eth0. But I could not see the same on br-ex or br-int. As per my understanding the packet has to go through bridge to reach 10.12.15.3 . I am wondering why I cant see these requests on the bridges. And where should I create vxlan port in openstack machine to make this vxlan tunnel work? Any help appreciated.