Haven't received any suggestions yet and not able to fix the issue. The only 
workaround that resolved the issue was to restart the OVS.

Did anyone else face the same issue as described below ?

Warm Regards,
Vishal Ajmera

From: [email protected] 
[mailto:[email protected]] On Behalf Of Vishal Deep Ajmera
Sent: Tuesday, January 02, 2018 3:43 PM
To: [email protected]
Subject: Re: [ovs-discuss] REDHAT: Route issue with dpdk-bond ports

Can someone help with route issue below ?

Warm Regards,
Vishal

From: 
[email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Vishal Deep Ajmera
Sent: Tuesday, December 26, 2017 2:02 PM
To: [email protected]<mailto:[email protected]>
Subject: [ovs-discuss] REDHAT: Route issue with dpdk-bond ports

Hi,

On Red-Hat, kernel IP Routes are getting deleted whenever a dpdk-bond port is
added to "netdev" type bridge.  I understand that when a DPDK port is added to
ovs, the bridge port (LOCAL) is reconfigured with MAC address which requires
IOCTL calls to bring the device down and up. This causes kernel to remove the
routes.

Can someone please have a look and let me know what am I missing here ?
Steps to reproduce the issue:

# Create the bridge in OVS.
$ ifup br0

# Dump the routes
$ ip route
11.2.0.0/24 dev br0 proto kernel scope link src 11.2.0.26
100.100.100.10 via 11.2.0.202 dev br0
100.100.100.20 via 11.2.0.201 dev br0
169.254.0.0/16 dev br0 scope link metric 1036

# Add DPDK Bond to bridge br0
$ ifup dpdkbond0

# Dump the routes
$ ip route
11.2.0.0/24 dev br0 proto kernel scope link src 11.2.0.26
--> Other routes for br0 are missing.

Here are the ifcfg files for the bridge BR0 and DPDKBOND0 port along with
static routes.
=============================================
$ cat ifcfg-br0
DEVICE=br0
ONBOOT=yes
HOTPLUG=no
NM_CONTROLLED=no
PEERDNS=no
DEVICETYPE=ovs
TYPE=OVSUserBridge
BOOTPROTO=static
IPADDR=11.2.0.26
NETMASK=255.255.255.0
OVS_EXTRA="set bridge br0 fail_mode=standalone"

$ cat ifcfg-dpdkbond0
DEVICE=dpdkbond0
ONBOOT=yes
HOTPLUG=no
NM_CONTROLLED=no
PEERDNS=no
DEVICETYPE=ovs
TYPE=OVSDPDKBond
OVS_BRIDGE=br0
BOND_IFACES="dpdk0 dpdk1"
OVS_OPTIONS="bond_mode=balance-tcp other_config:lacp-time=fast lacp=passive"

$ cat route-br0
100.100.100.10 via 11.2.0.201 dev br0
100.100.100.20 via 11.2.0.202 dev br0

=============================================

Warm Regards,
Vishal

_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to