[ovs-discuss] Forward VxLAN packets in network namespace?

Xiao Liang (xiaolia) xiaolia at cisco.com
Mon Sep 7 08:00:13 UTC 2015


The problem is that I want to add a VxLAN port to OVS bridge and let the tunnel packets be routed in a particular netns.

In VxLAN vport code I found that the namespace of the tunnel sock is inherited from dp. I could add a dp by "ip netns exec ns1 ovs-dpctl add-dp br1", but how can I use it then? I've also tried "ip netns exec ns1 ovs-vsctl add-br br1" and "ip link set br1 netns ns1", but seems not work.

How can I do this? Thanks in advance.


More information about the discuss mailing list