Need help on OVS Bond

kinetica

Member
May 9, 2014
24
1
21
Hello,
I need a fast & easy help in order to configure OVS Bond:

I always used Linux Bond and LACP, in very simple environments with no issue.

Now I am trying to migrate this type on configurations on OVS switch.
I have a server with 2 network card (2 ports each) :

Network.PNG
I have created the OVS Bond:

bond config.PNG
The switch is configured witch LACP in the usual way (no issue), but after reboot the server I can't ping on network 10.10.40.0.

This is the configuration:

Code:
auto lo
iface lo inet loopback

allow-vmbr0 eno1
iface eno1 inet manual
        ovs_type OVSPort
        ovs_bridge vmbr0

iface eno2 inet manual

iface enp175s0f1 inet manual

iface enp175s0f0 inet manual

allow-vmbr1 bond0
iface bond0 inet manual
        ovs_bonds enp175s0f0 enp175s0f1
        ovs_type OVSBond
        ovs_bridge vmbr1
        ovs_options lacp=active bond_mode=balance-tcp

auto vmbr0
iface vmbr0 inet static
        address  192.168.80.6
        netmask  255.255.255.0
        gateway  192.168.80.1
        ovs_type OVSBridge
        ovs_ports eno1

auto vmbr1
iface vmbr1 inet static
        address  10.10.40.1
        netmask  255.255.255.0
        ovs_type OVSBridge
        ovs_ports bond0

and this is the network:

Code:
ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP group default qlen 1000
    link/ether d0:94:66:89:3d:63 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::d294:66ff:fe89:3d63/64 scope link
       valid_lft forever preferred_lft forever
3: eno2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether d0:94:66:89:3d:64 brd ff:ff:ff:ff:ff:ff
4: enp175s0f0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop master ovs-system state DOWN group default qlen 1000
    link/ether b4:96:91:31:cd:14 brd ff:ff:ff:ff:ff:ff
5: enp175s0f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop master ovs-system state DOWN group default qlen 1000
    link/ether b4:96:91:31:cd:16 brd ff:ff:ff:ff:ff:ff
6: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 1e:6d:9d:c6:26:63 brd ff:ff:ff:ff:ff:ff
7: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
    link/ether d0:94:66:89:3d:63 brd ff:ff:ff:ff:ff:ff
    inet 192.168.80.6/24 brd 192.168.80.255 scope global vmbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::d294:66ff:fe89:3d63/64 scope link
       valid_lft forever preferred_lft forever
8: vmbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
    link/ether b4:96:91:31:cd:14 brd ff:ff:ff:ff:ff:ff
    inet 10.10.40.1/24 brd 10.10.40.255 scope global vmbr1
       valid_lft forever preferred_lft forever
    inet6 fe80::b696:91ff:fe31:cd14/64 scope link
       valid_lft forever preferred_lft forever
9: bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
    link/ether 6e:ce:c6:e0:63:21 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6cce:c6ff:fee0:6321/64 scope link
       valid_lft forever preferred_lft forever

The configuration is really easy. I have used the same way generally I use to configure Linux Bond.
Any suggestion please
thanks a million