[ovs-discuss] ovs dpdk vxlan does NOT work

Pravin Shelar pshelar at nicira.com
Wed Sep 23 19:45:13 UTC 2015


On Tue, Sep 22, 2015 at 5:49 PM, Na Zhu <zhunatuzi at gmail.com> wrote:

> Hi,
>
> My version is 2.4.90, i download from ovs github and build it myself.
>
> [root at juno bin]# ./ovs-vsctl --version
> ovs-vsctl (Open vSwitch) 2.4.90
> Compiled Sep 19 2015 08:46:02
> DB Schema 7.12.1
>
> [root at juno bin]# ./ovs-appctl dpif/show
> netdev at ovs-netdev: hit:246440 missed:9259
>         br-vxlan:
>                 bond0 1/2: (system)
>                 br-vxlan 65534/1: (tap)
>         br0:
>                 br0 65534/3: (tap)
>                 vxlan0 1/4: (vxlan: remote_ip=10.53.87.254)
>
Can you ping 10.53.87.254?


> [root at juno bin]# ./ovs-appctl dpif/dump-flows br0
> [root at juno bin]#
>
> [root at juno bin]# ./ovs-appctl dpif/dump-flows br-vxlan
> recirc_id(0),in_port(2),eth(src=00:25:90:2e:11:0c,dst=00:25:90:2e:0e:a4),eth_type(0x0800),ipv4(dst=10.53.87.242,proto=6/0x1,frag=no),
> packets:1216, bytes:152197, used:0.143s, flags:SFP., actions:1
> recirc_id(0),in_port(2),eth(src=52:54:00:09:28:0d,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=10.52.36.106,tip=10.52.36.102,op=1/0xff,sha=52:54:00:09:28:0d),
> packets:132, bytes:7920, used:0.618s, actions:1
> recirc_id(0),in_port(2),eth(src=00:50:56:89:4b:74,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=10.53.34.233,tip=10.53.34.234,op=1/0xff,sha=00:50:56:89:4b:74),
> packets:85, bytes:5100, used:0.826s, actions:1
> recirc_id(0),in_port(2),eth(src=00:0c:29:e5:88:e4,dst=01:00:5e:00:00:12),eth_type(0x0800),ipv4(frag=no),
> packets:139, bytes:8340, used:0.616s, actions:1
> recirc_id(0),in_port(2),eth(src=00:08:e3:ff:fd:90,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=10.55.60.1,tip=10.55.60.4,op=1/0xff,sha=00:08:e3:ff:fd:90),
> packets:6, bytes:360, used:4.789s, actions:1
> recirc_id(0),in_port(2),eth(src=00:50:56:bc:29:13,dst=01:00:5e:00:00:12),eth_type(0x0800),ipv4(frag=no),
> packets:30, bytes:1800, used:0.704s, actions:1
> recirc_id(0),in_port(2),eth(src=00:0c:29:10:67:d2,dst=01:00:5e:00:00:12),eth_type(0x0800),ipv4(frag=no),
> packets:139, bytes:8340, used:0.648s, actions:1
> recirc_id(0),in_port(2),eth(src=00:50:56:bc:52:5e,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=10.54.159.98,tip=10.54.159.100,op=1/0xff,sha=00:50:56:bc:52:5e),
> packets:77, bytes:4620, used:0.265s, actions:1
> recirc_id(0),in_port(2),eth(src=52:54:00:23:82:5d,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=10.52.36.107,tip=10.52.36.102,op=1/0xff,sha=52:54:00:23:82:5d),
> packets:95, bytes:5700, used:2.460s, actions:1
> recirc_id(0),in_port(2),eth(src=00:0c:29:51:d5:16,dst=01:00:5e:00:00:12),eth_type(0x0800),ipv4(frag=no),
> packets:140, bytes:8400, used:0.328s, actions:1
> recirc_id(0),in_port(2),eth(src=00:50:56:89:1f:74,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=10.53.34.235,tip=10.53.34.230,op=1/0xff,sha=00:50:56:89:1f:74),
> packets:99, bytes:5940, used:0.553s, actions:1
> recirc_id(0),in_port(2),eth(src=52:54:00:b6:0c:50,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=10.52.36.105,tip=10.52.36.102,op=1/0xff,sha=52:54:00:b6:0c:50),
> packets:129, bytes:7740, used:4.243s, actions:1
> recirc_id(0),in_port(2),eth(src=00:50:56:89:09:6b,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=10.53.34.235,tip=10.53.34.230,op=1/0xff,sha=00:50:56:89:09:6b),
> packets:99, bytes:5940, used:0.554s, actions:1
> recirc_id(0),in_port(2),eth(src=52:54:00:4f:dd:cf,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=10.52.36.109,tip=10.52.36.102,op=1/0xff,sha=52:54:00:4f:dd:cf),
> packets:99, bytes:5940, used:0.805s, actions:1
> recirc_id(0),in_port(2),eth(src=50:57:a8:85:cb:04,dst=50:57:a8:85:cb:04),eth_type(0x9000),
> packets:0, bytes:0, used:never, actions:drop
> recirc_id(0),in_port(2),eth(src=00:50:56:89:07:77,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=10.53.34.235,tip=10.53.34.230,op=1/0xff,sha=00:50:56:89:07:77),
> packets:99, bytes:5940, used:0.554s, actions:1
> recirc_id(0),in_port(2),eth(src=00:0c:29:1c:ea:54,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0800),ipv4(frag=no),
> packets:4, bytes:1368, used:5.620s, actions:1
> recirc_id(0),in_port(2),eth(src=00:50:56:89:4b:74,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=10.53.34.233,tip=10.53.34.230,op=1/0xff,sha=00:50:56:89:4b:74),
> packets:121, bytes:7260, used:0.466s, actions:1
> recirc_id(0),in_port(2),eth(src=00:50:56:60:7c:bc,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=10.55.147.137,tip=10.55.147.135,op=1/0xff,sha=00:50:56:60:7c:bc),
> packets:0, bytes:0, used:never, actions:1
> recirc_id(0),in_port(2),eth(src=00:25:90:35:d8:84,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=10.52.36.98,tip=10.52.36.102,op=1/0xff,sha=00:25:90:35:d8:84),
> packets:64, bytes:3840, used:3.690s, actions:1
> [root at juno bin]#
>
> There are many flows about other packet in the link, no flows about my arp
> packet (sip=192.168.1.1, dip=192.168.1.2)
>
>
You need to run traffic and check datapath flow. These flow are deleted if
not used.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150923/e308eee5/attachment-0002.html>


More information about the discuss mailing list