Hello all,
I have another bonding issue with OVS I was hoping someone could help with.

I have two virtual machines.  Each with 5 network interfaces (eth0 -eth4).  
Eth1-4 are bonded between the two VM's.  The mininet VM has multiple "hosts" 
that I have the traffic mirrored over the bonded port (bond0) to the other VM.

Now everything seems to work ok, but I have it configured for balance-slb mode 
and it only seems to use one link at a time.  I've passed hundreds of Gb's 
across this network and it will only use one Network Interface at a time.

Did I mess up the configuration on this?

Jacob
root@docker:~# ovs-vsctl show
a1a5cdb9-0815-4a70-93f6-6d0eb8d6d32c
    Bridge "br0"
        Port "br0"
            Interface "br0"
                type: internal
        Port "bond0"
            Interface "vxlan1"
                type: vxlan
                options: {remote_ip="10.0.0.14"}
            Interface "vxlan4"
                type: vxlan
                options: {remote_ip="10.0.0.17"}
            Interface "vxlan3"
                type: vxlan
                options: {remote_ip="10.0.0.16"}
            Interface "vxlan2"
                type: vxlan
                options: {remote_ip="10.0.0.15"}
        Port "vxlan8"
            Interface "vxlan8"
        Port "vxlan5"
            Interface "vxlan5"
        Port "vxlan7"
            Interface "vxlan7"
        Port "vxlan6"
            Interface "vxlan6"
    ovs_version: "2.0.2"

 

root@docker:~# sudo ovs-appctl bond/show bond0
---- bond0 ----
bond_mode: balance-slb
bond-hash-basis: 0
updelay: 0 ms
downdelay: 0 ms
next rebalance: 9898 ms
lacp_status: off

slave vxlan1: enabled
        active slave
        may_enable: true

slave vxlan2: enabled
        may_enable: true

slave vxlan3: enabled
        may_enable: true

slave vxlan4: enabled
        may_enable: true


root@docker:~# ifconfig
br0       Link encap:Ethernet  HWaddr 16:8f:e0:05:b9:49
          inet6 addr: fe80::dced:88ff:fe2a:352c/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:134735 errors:0 dropped:134304 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:9290606 (9.2 MB)  TX bytes:738 (738.0 B)

docker0   Link encap:Ethernet  HWaddr 56:84:7a:fe:97:99
          inet addr:172.17.42.1  Bcast:0.0.0.0  Mask:255.255.0.0
          inet6 addr: fe80::5484:7aff:fefe:9799/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:35536 errors:0 dropped:0 overruns:0 frame:0
          TX packets:68728 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1933234 (1.9 MB)  TX bytes:103452825 (103.4 MB)

eth0      Link encap:Ethernet  HWaddr 00:15:5d:01:08:28
          inet addr:192.168.1.120  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::215:5dff:fe01:828/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:423266 errors:0 dropped:0 overruns:0 frame:0
          TX packets:164043 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:161386266 (161.3 MB)  TX bytes:118654211 (118.6 MB)

eth1      Link encap:Ethernet  HWaddr 00:15:5d:01:08:30
          inet addr:10.0.0.4  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::215:5dff:fe01:830/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:24047153 errors:0 dropped:2407045 overruns:0 frame:0
          TX packets:25149 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:36603745228 (36.6 GB)  TX bytes:1056870 (1.0 MB)

eth2      Link encap:Ethernet  HWaddr 00:15:5d:01:08:31
          inet addr:10.0.0.5  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::215:5dff:fe01:831/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:70 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5420 (5.4 KB)  TX bytes:1074 (1.0 KB)

eth3      Link encap:Ethernet  HWaddr 00:15:5d:01:08:3c
          inet addr:10.0.0.6  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::215:5dff:fe01:83c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:69 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5290 (5.2 KB)  TX bytes:1074 (1.0 KB)

eth4      Link encap:Ethernet  HWaddr 00:15:5d:01:08:3d
          inet addr:10.0.0.7  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::215:5dff:fe01:83d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:59 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4166 (4.1 KB)  TX bytes:1074 (1.0 KB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:28 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2416 (2.4 KB)  TX bytes:2416 (2.4 KB)
root@Mininet:~# ovs-vsctl show
3b369299-fd2b-4869-a540-1d0587162b4d
    Bridge "s1"
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port "s1-eth9"
            Interface "s1-eth9"
        Port "s1-eth7"
            Interface "s1-eth7"
        Port "vxlan6"
            Interface "vxlan6"
        Port "bond0"
            Interface "vxlan4"
                type: vxlan
                options: {remote_ip="10.0.0.7"}
            Interface "vxlan1"
                type: vxlan
                options: {remote_ip="10.0.0.4"}
            Interface "vxlan3"
                type: vxlan
                options: {remote_ip="10.0.0.6"}
            Interface "vxlan2"
                type: vxlan
                options: {remote_ip="10.0.0.5"}
        Port "s1-eth3"
            Interface "s1-eth3"
        Port "s1-eth12"
            Interface "s1-eth12"
        Port "s1"
            Interface "s1"
                type: internal
        Port "s1-eth8"
            Interface "s1-eth8"
        Port "vxlan5"
            Interface "vxlan5"
        Port "s1-eth11"
            Interface "s1-eth11"
        Port "s1-eth4"
            Interface "s1-eth4"
        Port "s1-eth6"
            Interface "s1-eth6"
        Port "s1-eth5"
            Interface "s1-eth5"
        Port "s1-eth10"
            Interface "s1-eth10"
        Port "s1-eth1"
            Interface "s1-eth1"
        Port "vxlan7"
            Interface "vxlan7"
        Port "s1-eth2"
            Interface "s1-eth2"
        Port "vxlan8"
            Interface "vxlan8"
    ovs_version: "2.0.2"
 

root@Mininet:~# sudo ovs-appctl bond/show bond0
---- bond0 ----
bond_mode: active-backup
bond-hash-basis: 0
updelay: 0 ms
downdelay: 0 ms
lacp_status: off

slave vxlan1: enabled
        active slave
        may_enable: true

slave vxlan2: enabled
        may_enable: true

slave vxlan3: enabled
        may_enable: true

slave vxlan4: enabled
        may_enable: true

root@Mininet:~#


eth1      Link encap:Ethernet  HWaddr 00:15:5d:01:08:38
          inet addr:10.0.0.14  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::215:5dff:fe01:838/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:25200 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24046773 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1062048 (1.0 MB)  TX bytes:36603699156 (36.6 GB)

eth2      Link encap:Ethernet  HWaddr 00:15:5d:01:08:39
          inet addr:10.0.0.15  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::215:5dff:fe01:839/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:136 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9360 (9.3 KB)  TX bytes:904 (904.0 B)

eth3      Link encap:Ethernet  HWaddr 00:15:5d:01:08:3a
          inet addr:10.0.0.16  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::215:5dff:fe01:83a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:135 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9270 (9.2 KB)  TX bytes:904 (904.0 B)

eth4      Link encap:Ethernet  HWaddr 00:15:5d:01:08:3b
          inet addr:10.0.0.17  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::215:5dff:fe01:83b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:127 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8586 (8.5 KB)  TX bytes:904 (904.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1085971 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1085971 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:111270321 (111.2 MB)  TX bytes:111270321 (111.2 MB)

s1        Link encap:Ethernet  HWaddr f2:4f:52:40:4e:44
          inet6 addr: fe80::ccdd:14ff:fe25:e3a2/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:156 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:10280 (10.2 KB)  TX bytes:648 (648.0 B)

s1-eth1   Link encap:Ethernet  HWaddr be:2c:87:ab:17:7e
          inet6 addr: fe80::bc2c:87ff:feab:177e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2580989 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1145344 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:91481676074 (91.4 GB)  TX bytes:75743550 (75.7 MB)

s1-eth2   Link encap:Ethernet  HWaddr 02:e9:15:cc:32:e2
          inet6 addr: fe80::e9:15ff:fecc:32e2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:123 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33701 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9174 (9.1 KB)  TX bytes:2192084 (2.1 MB)

s1-eth3   Link encap:Ethernet  HWaddr 6e:9b:70:39:1a:7e
          inet6 addr: fe80::6c9b:70ff:fe39:1a7e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:121 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33699 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9090 (9.0 KB)  TX bytes:2192000 (2.1 MB)

s1-eth4   Link encap:Ethernet  HWaddr aa:f5:85:cd:28:5f
          inet6 addr: fe80::a8f5:85ff:fecd:285f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:122 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33699 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9132 (9.1 KB)  TX bytes:2191952 (2.1 MB)

s1-eth5   Link encap:Ethernet  HWaddr fe:7f:d0:05:11:71
          inet6 addr: fe80::fc7f:d0ff:fe05:1171/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:124 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33702 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9216 (9.2 KB)  TX bytes:2192126 (2.1 MB)

s1-eth6   Link encap:Ethernet  HWaddr 1e:e1:91:46:9e:90
          inet6 addr: fe80::1ce1:91ff:fe46:9e90/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:122 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33699 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9132 (9.1 KB)  TX bytes:2191964 (2.1 MB)

s1-eth7   Link encap:Ethernet  HWaddr ce:ab:61:44:d3:3e
          inet6 addr: fe80::ccab:61ff:fe44:d33e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:130 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33707 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9468 (9.4 KB)  TX bytes:2192288 (2.1 MB)

s1-eth8   Link encap:Ethernet  HWaddr 76:d5:a7:cf:27:81
          inet6 addr: fe80::74d5:a7ff:fecf:2781/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:125 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33702 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9258 (9.2 KB)  TX bytes:2192090 (2.1 MB)

s1-eth9   Link encap:Ethernet  HWaddr 8a:f4:fe:a0:43:2b
          inet6 addr: fe80::88f4:feff:fea0:432b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:122 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33700 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9132 (9.1 KB)  TX bytes:2192042 (2.1 MB)

s1-eth10  Link encap:Ethernet  HWaddr 96:fb:0c:c9:fb:3e
          inet6 addr: fe80::94fb:cff:fec9:fb3e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:123 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33700 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9174 (9.1 KB)  TX bytes:2192006 (2.1 MB)

s1-eth11  Link encap:Ethernet  HWaddr fa:94:f1:05:b9:4a
          inet6 addr: fe80::f894:f1ff:fe05:b94a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:122 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33699 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9132 (9.1 KB)  TX bytes:2191952 (2.1 MB)

s1-eth12  Link encap:Ethernet  HWaddr 16:c6:84:24:a1:d6
          inet6 addr: fe80::14c6:84ff:fe24:a1d6/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1111780 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2614623 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:73562348 (73.5 MB)  TX bytes:91483862788 (91.4 GB)

root@Mininet:~#

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to