On Monday, September 7, 2015, Xiao Liang (xiaolia) <xiao...@cisco.com>
wrote:

> Hi,
>
> 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.
>

You can only change the namespace of OVS as whole. To do that you, you
should start ovs-vswitchd in that namespace. If you want to route tunnel
packets to a different namespace, you'll have to do that through the
routing table.
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to