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

2015-09-07 Thread Jesse Gross
On Monday, September 7, 2015, Xiao Liang (xiaolia) wrote: > > > -Original Message- > > From: Jesse Gross [mailto:je...@nicira.com ] > > Sent: Monday, September 07, 2015 21:55 > > To: Xiao Liang (xiaolia) > > Cc: discuss@openvswitch.org > > Subject: Re: [ovs-discuss] Forward VxLAN packets

Re: [ovs-discuss] MPLS push - OVS 2.4

2015-09-07 Thread Seyed Hossein Mortazavi
Hi Serguei, The Match is on IPv4 packets (type 0x800) and the action is to add a MPLS header to the packet. I'm pinging from h1 to h2 so the first packet that reaches s1 has a Ethernet header and a IPv4 header. The output should be the same packet with a MPLS header between the IP and Eth headers.

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

2015-09-07 Thread Xiao Liang (xiaolia)
> -Original Message- > From: Jesse Gross [mailto:je...@nicira.com] > Sent: Monday, September 07, 2015 21:55 > To: Xiao Liang (xiaolia) > Cc: discuss@openvswitch.org > Subject: Re: [ovs-discuss] Forward VxLAN packets in network namespace? > > On Monday, September 7, 2015, Xiao Liang (xiaol

Re: [ovs-discuss] MPLS push - OVS 2.4

2015-09-07 Thread Serguei Bezverkhi (sbezverk)
Hi Seyed, Shouldn’t you use packet type 0x8847 instead of 0x0800 in your layer 2 to identify to your higher layer that it is MPLS packet?? I have never tried it but it seems logical. Thank you Serguei [http://www.cisco.com/c/dam/assets/email-signature-tool/logo_07.png?ct=1423747865775] Sergu

[ovs-discuss] MPLS push - OVS 2.4

2015-09-07 Thread Seyed Hossein Mortazavi
Hi, I'm running OVS 2.4 on Ubuntu 14.04 with Kernel 3.11. I'm trying to add MPLS headers (and then pop them) to IP packets. My topology looks like: h1---s1---s2---s3---h2 I've statically already configured the switches such that they would have rules for ARP installed. However adding the rule:

Re: [ovs-discuss] Datapath userspace reordering

2015-09-07 Thread Ben Pfaff
On Mon, Sep 07, 2015 at 09:58:19AM +1000, Dario Banfi wrote: > Could you help me understand what goes on in openvswitch in the > ofproto-dpif-xlate.c? > When I set SLOW_ACTION for the context and I try to log in all the > ctx->xin->packet I get alternatively one packet and one other “packet” I >

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

2015-09-07 Thread Jesse Gross
On Monday, September 7, 2015, Xiao Liang (xiaolia) 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

[ovs-discuss] Who is attending the OpenStack summit in Tokyo?

2015-09-07 Thread Elad Yosef
I want to have a small talk about forking the OVS with DPDK to accelerate the Nuage sulotion ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

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

2015-09-07 Thread Xiao Liang (xiaolia)
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 i