[ovs-discuss] Test with vxlan using ovs-dpdk (2.4)

Praveen MANKARA RADHAKRISHNAN praveen.mankara at 6wind.com
Wed Oct 28 10:05:11 UTC 2015


Hi Sugesh,

Thanks for the reply.
arp entries are show in vs-appctl tnl/arp/show command. but it seems o
packet is coming to the bridge with physical port.

I have already tried to set using tnl/arp/set command but it seems set is
not present in openvswitch 2.4
it returns the following error.

"
ovs-appctl tnl/arp/set br0 10.200.0.6 02:11:22:44:55:11
"tnl/arp/set" is not a valid command
ovs-appctl: ovs-vswitchd: server returned an error "

One important thing is to note that i was using dpdk-2.0.0. does that make
any difference?

Thanks
Praveen

On Tue, Oct 27, 2015 at 6:28 PM, Chandran, Sugesh <sugesh.chandran at intel.com
> wrote:

>
>
>
>
> *Regards*
>
> *_Sugesh*
>
>
>
> *From:* discuss [mailto:discuss-bounces at openvswitch.org] *On Behalf Of *Praveen
> MANKARA RADHAKRISHNAN
> *Sent:* Monday, October 26, 2015 5:23 PM
> *To:* bugs at openvswitch.org
> *Cc:* Daniel Virassamy
> *Subject:* [ovs-discuss] Test with vxlan using ovs-dpdk (2.4)
>
>
>
> HI,
>
>
>
> I am Praveen,
>
>
>
> I am trying a specific test scenario using ovs-dpdk.
>
>
>
> Test set up
>
> -------------------
>
>
>
> from the traffgen vlan packets are coming to dpdk interface its stripped
> using ovs command.
>
> and sending to a vxlan interface which is comnnected in theo other dpdk
> interface and send back to traffgen.
>
>
>
> i have done the vxlan set up similar to the sample test case.
>
>
>
> https://github.com/openvswitch/ovs/blob/master/README-native-tunneling.md
>
>
>
> the issue is that from the sumpflows i can see that packets are send to
> vxlan but it is not going to the other bridge.
>
>
>
> the same scenario is working without dpdk.
>
>
>
> I am using openvswitch-2.4.0.
>
>
>
> Linux (without dpdk)
>
> ---------------------------------
>
>
>
> ovs-vsctl add-br br0
>
> ovs-vsctl add-port br0 eth0
>
> ovs-vsctl add-port br0 vxlan0 -- set interface vxlan0 type=vxlan
> options:remote_ip=10.200.0.6
>
> ovs-ofctl add-flow br0
> dl_vlan=1,dl_dst=02:11:22:44:55:22,actions=strip_vlan,output:2
>
>
>
> ovs-vsctl add-br br1
>
> ovs-vsctl add-port br1 eth1
>
>
>
>  ip a a 10.200.0.5/24 dev br1
>
> arp -s 10.200.0.6 02:11:22:44:55:11 -i eth2
>
>
>
> and from the traffgen i am sending traffic with dst mac 02:11:22:44:55:22
> and vlan id 1.
>
> it is correctly working.
>
>
>
> ovs-dpdk
>
> ------------------
>
>
>
> started ovs-dpdk ::
>
> ovs-vswitchd --dpdk -c 0x1 -n 4 -- unix:$DB_SOCK --pidfile --detach
>
>
>
> ovs-vsctl add-br br0 -- set bridge br0 datapath_type=netdev
>
> ovs-vsctl add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk
>
>
>
> ovs-vsctl add-br br1 -- set bridge br1 datapath_type=netdev
>
> ovs-vsctl add-port br1 dpdk1 -- set Interface dpdk1 type=dpdk
>
>
>
> ovs-vsctl add-port br0 vxlan0 -- set interface vxlan0 type=vxlan
> options:remote_ip=10.200.0.6
>
> ovs-ofctl add-flow br0
> dl_vlan=1,dl_dst=02:11:22:44:55:22,actions=strip_vlan,output:2
>
>
>
>  ip a a 10.200.0.5/24 dev br1
>
> arp -s 10.200.0.6 02:11:22:44:55:11 -i eth2
>
>
>
>
>
> here i have started the ovs-dpddk and do the same set up
>
> but packets are not seen in bridge1 (br1) and in traffgen.
>
>
>
> is there any specif configuration i need to do in ovs-dpdk
>
> could it be because of the arp?
>
> Is there a way to set static arp to the ovs-dpdk?
>
> >>>> Does the arp entries shown properly in “ovs-appctl tnl/arp/show”???
>
> >>>>> You can set the arp entries using ovs-appctl tnl/arp/set <bridge>
> <ip> <mac>. In OVS-DPDK the DPDK interfaces are not managed by kernel so
> assigning static arp to physical interface may not work.
>
> Could you help in identifying the problem?
>
>
>
> Thanking you in advance
>
> Praveen
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20151028/1ebbda96/attachment-0001.html>


More information about the discuss mailing list