[ovs-discuss] ovs 2.12, dpdk 19.11, vxlan traffic not sent
Michal Bella
michal.bella.78 at gmail.com
Fri Feb 28 15:25:12 UTC 2020
Hi,
if anybody can help, I dont see VXLAN traffic sent even if counters for
flowsget increased (marked bold) and port 10 should be sending it (tx
stats go up).I was using ovs 2.5.0 without dpdk and it worked. Just a
side note if anybodycan explain, I dont see with ovs 2.12
vxlan_sys_4789 created in system.
To tell the purpose - I want UDP traffic to udp-port 2123 sent via
VXLAN to userpace, othertraffic should be forwarded between ports 1/2.
Many thanks,Michal
$> ovs-ofctl dump-flows gtp_br0NXST_FLOW reply (xid=0x4): cookie=0x0,
duration=TM, table=0, n_packets=0, n_bytes=0, idle_age=TM,
priority=10000,in_port=10 actions=resubmit(,2) cookie=0x1, duration=TM,
table=0, n_packets=101990, n_bytes=7241290, idle_age=TM,
priority=1000,udp,tp_dst=2123 actions=resubmit(,1) cookie=0x0,
duration=TM, table=0, n_packets=132, n_bytes=11898, idle_age=TM,
priority=1,in_port=1,dl_src=1c:c1:de:76:e7:c9,dl_dst=d0:67:26:ae:ce:10
actions=output:2 cookie=0x0, duration=TM, table=0, n_packets=9919,
n_bytes=703919, idle_age=TM,
priority=1,in_port=2,dl_src=d0:67:26:ae:ce:10,dl_dst=1c:c1:de:76:e7:c9
actions=output:1 cookie=0x0, duration=TM, table=0, n_packets=132,
n_bytes=15357, idle_age=TM, priority=0 actions=CONTROLLER:65535
cookie=0x0, duration=TM, table=1, n_packets=101990, n_bytes=7241290,
idle_age=TM, actions=output:10 cookie=0x0, duration=TM, table=2,
n_packets=0, n_bytes=0, idle_age=TM,
priority=100,ip,dl_dst=1c:c1:de:76:e7:c9 actions=output:1 cookie=0x0,
duration=TM, table=2, n_packets=0, n_bytes=0, idle_age=TM,
priority=100,ip,dl_dst=d0:67:26:ae:ce:10 actions=output:2
--------------------------------------------------------
$> ovs-vsctl show392baf39-2c66-4136-80a8-95476f88c971 Bridge
"gtp_br0" Controller
"tcp:127.0.0.1:6653" is_connected:
true datapath_type: netdev Port vtep Interface
vtep type: vxlan options:
{dst_port="4789", key=flow, remote_ip="10.10.12.57"} Port "dpdk-
p1" Interface "dpdk-p1" type:
dpdk options: {dpdk-devargs="0000:5d:00.1"} Port
"dpdk-p0" Interface "dpdk-p0" type:
dpdk options: {dpdk-devargs="0000:5d:00.0"} Port
"gtp_br0" Interface "gtp_br0" type:
internal ovs_version: "2.12.0"
----------------------------------------------
$> ovs-ofctl dump-ports-desc gtp_br0OFPST_PORT_DESC reply (xid=0x2):
1(dpdk-p1):
addr:f4:03:43:c3:a2:68 config: 0 state: 0 current:
10GB-FD AUTO_NEG speed: 10000 Mbps now, 0 Mbps max 2(dpdk-p0):
addr:f4:03:43:c3:a2:60 config: 0 state: 0 current:
10GB-FD AUTO_NEG speed: 10000 Mbps now, 0 Mbps max 10(vtep):
addr:d6:bb:21:6d:d9:c9 config: 0 state: 0 speed: 0
Mbps now, 0 Mbps max LOCAL(gtp_br0):
addr:f4:03:43:c3:a2:60 config: 0 state: 0 current:
10MB-FD COPPER speed: 10 Mbps now, 0 Mbps max
-----------------------------------------------------
ovs-vsctl list interface
vtep
_uuid : 08fed2d6-fd02-4e19-a08d-
fad587bb9906admin_state : upbfd :
{}bfd_status : {}cfm_fault : []cfm_fault_status :
[]cfm_flap_count : []cfm_health : []cfm_mpid :
[]cfm_remote_mpids : []cfm_remote_opstate : []duplex :
[]error : []external_ids : {}ifindex :
125ingress_policing_burst: 0ingress_policing_rate:
0lacp_current : []link_resets : 0link_speed :
[]link_state : uplldp : {}mac :
[]mac_in_use : "d6:bb:21:6d:d9:c9"mtu :
[]mtu_request : []name :
vtepofport : 10ofport_request :
10options : {dst_port="4789", key=flow,
remote_ip="10.10.12.57"}other_config : {}statistics :
{rx_bytes=0, rx_packets=0, tx_bytes=7718370,
tx_packets=108621}status : {tunnel_egress_iface="br0",
tunnel_egress_iface_carrier=up}type : vxlan
----------------------------------------------------------------------
$> ovs-appctl dpctl/dump-flows | grep
2123recirc_id(0),in_port(3),packet_type(ns=0,id=0),
\ eth(src=d0:67:26:ae:ce:10,dst=1c:c1:de:76:e7:c9),\ eth_type(0x0800)
,ipv4(src=192.168.100.1/128.0.0.0,\ dst=192.168.100.2/128.0.0.0,proto=
17,tos=0/0x3,frag=no),\ udp(dst=2123), packets:170365, bytes:12095915,
used:0.009s, actions:drop
-----------------------------------
$> ping 10.10.12.57PING 10.10.12.57 (10.10.12.57) 56(84) bytes of
data.64 bytes from 10.10.12.57: icmp_seq=1 ttl=64 time=0.148 ms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20200228/005d9800/attachment.html>
More information about the discuss
mailing list