Hi,
I am running into an issue which sounds pretty basic, probably I might be
missing something.
Using, OVS: 2.9.0:
1. Created a mininet instance using:
mn --topo single,3
2. Converted switch s1 to userspace switch and executed following commands:
# Delete controller
ovs-vsctl del-controller s1
#Convert s1 to userspace switch
ovs-vsctl set Bridge s1 datapath_type=netdev
# Add a VxLAN interface
ovs-vsctl add-port s1 vxlan -- set Interface vxlan type=vxlan \
options:key=5 options:local_ip=1.1.1.1 options:remote_ip=1.1.1.2
ofport_request=10
# Add a Flow to pick any packet coming in on port 1(s1-eth1) egress out of
vlan port
ovs-ofctl add-flow s1 "table=0,in_port=1 actions=output:10"
# Configure s1-eth3 to be the interface which connects to 1.1.1.0/24
ifconfig s1-eth3 1.1.1.1
arp -s 1.1.1.2 00:00:01:00:00:01
3. Now, I started ping h1 to h2 via mininet CLI.
I expected to see VxLAN tagged packets on s1-eth3. But I do not.
When I do ofproto/trace I see an error appears, "native tunnel routing
failed"
root@mininet:~# ovs-ofctl dump-flows s1
cookie=0x0, duration=197.045s, table=0, n_packets=3, n_bytes=210,
in_port="s1-eth1" actions=output:vxlan
root@mininet:~# ovs-appctl ofproto/trace s1
in_port=1,dl_dst=00:01:02:03:04:05
Flow:
in_port=1,vlan_tci=0x0000,dl_src=00:00:00:00:00:00,dl_dst=00:01:02:03:04:05,dl_type=0x0000
bridge("s1")
------------
0. in_port=1, priority 32768
output:10
-> output to native tunnel
>> native tunnel routing failed
Final flow: unchanged
Megaflow: recirc_id=0,eth,in_port=1,dl_type=0x0000
Datapath actions: drop
root@mininet:~# ovs-appctl ovs/route/lookup 1.1.1.2
src 1.1.1.1
gateway ::
dev s1-eth3
Question is: Is there anything extra I need to configure if the switch were
to use userspace datapath? Or what I am seeing is a bug?
If I do the same configuration on kernel datapath mode(everything except
the step which changes bridge datapath type), I see VxLAN packets on
s1-eth3.
Thanks
*Vasu Dasari*
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss