[ovs-discuss] Fwd: Problem with vxlan configuration

Tommy Hilfiger tomhillfor at gmail.com
Sat Mar 21 18:05:02 UTC 2015


Hello everyone. I am trying to configure a vxlan tunnel. Here is the setup
I have.
I have two individual linux machines ( L1 with ip 192.168.0.100 & L2 with
ip 192.168.0.101 ) in the network each reachable from one another. I have
simulated one virtual switch s1 and a host h1 in both the machines using
mininet.

    ​​[image: Inline image 1]

I created a vxlan port on switches on both the machines using following
commands

1. On L1 =  ovs-vsctl add-port s1 vtep -- set interface vtep type=vxlan
option:remote_ip=192.168.0.101 option:key=flow ofport_request=10
2. On L2 = ovs-vsctl add-port s1 vtep -- set interface vtep type=vxlan
option:remote_ip=192.168.0.100 option:key=flow ofport_request=10

I used the following video for reference
https://www.youtube.com/watch?v=tnSkHhsLqpM&noredirect=1

I installed flows in the switches as shown in the video. Now when I try to
ping from 10.0.0.1 to 10.0.0.2, the ping fails. I did a packet capture on
the physical interface of machines L1 and L2 and I was able to see the
VXLAN packets when I ping. But I do not know what happens to these packets
as I do not get any response from the ping. Could someone tell me what I am
missing? or what am I doing wrong?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150321/10704f1e/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 28547 bytes
Desc: not available
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150321/10704f1e/attachment-0002.png>


More information about the discuss mailing list