Jay,
First off thank you for your response.
I made the changes, and I had the same issue. I changed the setup slightly at
first and set the interface type for the vxlan tunnels as the devices they
would be utilizing for tunneling. After that didn't work I went back to the
previous way I had done it.
It seems to work when I leave LACP off, and use balance-slb as my bond_mode.
But again it only transmits traffic across one link at a time.
In case it helps, these VM's are Ubuntu 14.04 that are running on a 2012 R2
Hyper V server. Eth1, Eth2, Eth3, and Eth4 on both Vm's are on their own
separate network within hyper v. I was thinking it may be a driver issue with
hyper v, but wasn't sure if there was a mistake in my configuration.
Jacob
________________________________________
From: Jay Vosburgh [[email protected]]
Sent: Tuesday, November 25, 2014 12:15 PM
To: Nussbaum, Jacob
Cc: '[email protected]'
Subject: Re: [ovs-discuss] LACP bonding issue
Nussbaum, Jacob <[email protected]> wrote:
>I’m sending this out again hoping someone has an idea because this is
>baffling me. I have attached my configuration for both VM’s.
>
>I’m trying to configure a bonded tunnel between the 2 vm’s (2 bridges, S1
>and br0)
>
>Each time I set Lacp=active all of my links besides 1 are disabled. The
>bridges are running on two separate VM’s using VXlan tunnels.
>
>Anyone seen anything similar or know of something that may correct this
>issue?
I haven't used the OVS LACP implementation much, but I have some
experience with the bonding LACP implementation, and I see something in
your status that looks familiar, below.
>user@docker:~$ sudo ovs-vsctl show
>a1a5cdb9-0815-4a70-93f6-6d0eb8d6d32c
> Bridge "br0"
> Port "bond0"
> Interface "vxlan3"
> type: vxlan
> options: {remote_ip="10.0.0.12"}
> Interface "vxlan1"
> type: vxlan
> options: {remote_ip="10.0.0.10"}
> Interface "vxlan4"
> type: vxlan
> options: {remote_ip="10.0.0.13"}
> Interface "vxlan2"
> type: vxlan
> options: {remote_ip="10.0.0.11"}
> Port "vxlan5"
> Interface "vxlan5"
> Port "vxlan6"
> Interface "vxlan6"
> Port "br0"
> Interface "br0"
> type: internal
> Port "vxlan8"
> Interface "vxlan8"
> Port "vxlan7"
> Interface "vxlan7"
> ovs_version: "2.0.2"
>user@docker:~$ sudo ovs-appctl bond/show bond0
>---- bond0 ----
>bond_mode: balance-tcp
>bond-hash-basis: 0
>updelay: 0 ms
>downdelay: 0 ms
>next rebalance: 2120 ms
>lacp_status: negotiated
>
>slave vxlan1: disabled
> may_enable: false
>
>slave vxlan2: enabled
> active slave
> may_enable: true
>
>slave vxlan3: disabled
> may_enable: false
>
>slave vxlan4: disabled
> may_enable: false
>
> user@docker:~$ sudo ovs-appctl lacp/show
>---- bond0 ----
> status: passive negotiated
> sys_id: 9e:78:7e:1f:09:44
> sys_priority: 65534
> aggregation key: 1
> lacp_time: slow
>
>slave: vxlan1: defaulted detached
> port_id: 1
> port_priority: 65535
> may_enable: false
>
> actor sys_id: 9e:78:7e:1f:09:44
> actor sys_priority: 65534
> actor port_id: 1
> actor port_priority: 65535
> actor key: 1
> actor state: aggregation defaulted
>
> partner sys_id: 00:00:00:00:00:00
> partner sys_priority: 0
> partner port_id: 0
> partner port_priority: 0
> partner key: 0
> partner state:
In my experience with the bonding LACP implementation, the above
(partner MAC, et al, all zeroes) indicates that the port in question is
not receiving LACPDUs from the link partner.
>slave: vxlan2: current attached
> port_id: 2
> port_priority: 65535
> may_enable: true
>
> actor sys_id: 9e:78:7e:1f:09:44
> actor sys_priority: 65534
> actor port_id: 2
> actor port_priority: 65535
> actor key: 1
> actor state: aggregation synchronized collecting distributing
>
> partner sys_id: aa:88:94:85:19:43
> partner sys_priority: 65534
> partner port_id: 6
> partner port_priority: 65535
> partner key: 5
> partner state: activity aggregation synchronized collecting
> distributing
This port, because the partner values are filled with specific
link partner information that matches the vm2.txt you supplied (e.g., in
vm2.txt, port_id 6 shows this port as its partner), is presumably
correctly exchanging LACPDUs with the link partner.
LACPDUs are sent as Ethernet multicasts to a specific
destination, so I would expect that for a given configuration with
similar ports, either all would be delivered or none would be. This
seems very curious in that only one port functions; perhaps something in
the OVS or VXLAN forwarding is confused by the single MAC address for
all LACPDUs (I don't know; I'm just speculating here).
There is a fallback mechanism in the 802.1AX standard that would
permit one port of an aggregator to function as an individual port when
no LACPDUs are exchanged at all, but that doesn't appear to be the case
here (as in that case there would be no partner sys_id, et al).
I also notice that one bond (vm1.txt) is in LACP passive mode,
and the other (vm2.txt) is active. In principle this ought to be fine
(the passive bond responding to received LACPDUs from the active bond),
but I would suggest setting both ends to LACP active and see if that
helps. It might, and it shouldn't break anything.
Also, setting the LACP rate (lacp_time) to fast instead of slow
should make things converge more quickly for testing purposes.
-J
---
-Jay Vosburgh, [email protected]
ovs-vsctl add-br br0
ovs-vsctl add-bond br0 bond0 vxlan1 vxlan2 vxlan3 vxlan4
ovs-vsctl add-port br0 vxlan5 -- set Interface vxlan1 type=vxlan
options:remote_ip=10.0.0.14
ovs-vsctl add-port br0 vxlan6 -- set Interface vxlan2 type=vxlan
options:remote_ip=10.0.0.15
ovs-vsctl add-port br0 vxlan7 -- set Interface vxlan3 type=vxlan
options:remote_ip=10.0.0.16
ovs-vsctl add-port br0 vxlan8 -- set Interface vxlan4 type=vxlan
options:remote_ip=10.0.0.17
ovs-vsctl set port bond0 lacp=active
ovs-vsctl set port bond0 other_config:lacp-time=fast
ovs-vsctl set port bond0 bond_mode=balance-tcp
---- bond0 ----
bond_mode: balance-tcp
bond-hash-basis: 0
updelay: 0 ms
downdelay: 0 ms
next rebalance: 4335 ms
lacp_status: negotiated
slave vxlan1: enabled
active slave
may_enable: true
slave vxlan2: disabled
may_enable: false
slave vxlan3: disabled
may_enable: false
slave vxlan4: disabled
may_enable: false
root@docker:~# sudo ovs-appctl lacp/show
---- bond0 ----
status: active negotiated
sys_id: 16:8f:e0:05:b9:49
sys_priority: 65534
aggregation key: 1
lacp_time: fast
slave: vxlan1: current attached
port_id: 1
port_priority: 65535
may_enable: true
actor sys_id: 16:8f:e0:05:b9:49
actor sys_priority: 65534
actor port_id: 1
actor port_priority: 65535
actor key: 1
actor state: activity timeout aggregation synchronized collecting
distributing
partner sys_id: 42:a4:74:1c:3e:47
partner sys_priority: 65534
partner port_id: 1
partner port_priority: 65535
partner key: 1
partner state: activity timeout aggregation synchronized collecting
distributing
slave: vxlan2: defaulted detached
port_id: 2
port_priority: 65535
may_enable: false
actor sys_id: 16:8f:e0:05:b9:49
actor sys_priority: 65534
actor port_id: 2
actor port_priority: 65535
actor key: 1
actor state: activity timeout aggregation defaulted
partner sys_id: 00:00:00:00:00:00
partner sys_priority: 0
partner port_id: 0
partner port_priority: 0
partner key: 0
partner state:
slave: vxlan3: defaulted detached
port_id: 3
port_priority: 65535
may_enable: false
actor sys_id: 16:8f:e0:05:b9:49
actor sys_priority: 65534
actor port_id: 3
actor port_priority: 65535
actor key: 1
actor state: activity timeout aggregation defaulted
partner sys_id: 00:00:00:00:00:00
partner sys_priority: 0
partner port_id: 0
partner port_priority: 0
partner key: 0
partner state:
slave: vxlan4: defaulted detached
port_id: 4
port_priority: 65535
may_enable: false
actor sys_id: 16:8f:e0:05:b9:49
actor sys_priority: 65534
actor port_id: 4
actor port_priority: 65535
actor key: 1
actor state: activity timeout aggregation defaulted
partner sys_id: 00:00:00:00:00:00
partner sys_priority: 0
partner port_id: 0
partner port_priority: 0
partner key: 0
partner state:
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:~# ifconfig
br0 Link encap:Ethernet HWaddr 16:8f:e0:05:b9:49
inet6 addr: fe80::70f1:c9ff:fe86:713/64 Scope:Link
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:0 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:0 (0.0 B) TX bytes:648 (648.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
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
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:139312 errors:0 dropped:0 overruns:0 frame:0
TX packets:4116 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:27244489 (27.2 MB) TX bytes:501808 (501.8 KB)
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:5830591 errors:0 dropped:0 overruns:0 frame:0
TX packets:3496770 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7912620732 (7.9 GB) TX bytes:2056304996 (2.0 GB)
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:71 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5190 (5.1 KB) TX bytes:776 (776.0 B)
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:63 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4542 (4.5 KB) TX bytes:776 (776.0 B)
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:55 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3894 (3.8 KB) TX bytes:776 (776.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:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1184 (1.1 KB) TX bytes:1184 (1.1 KB)
ovs-vsctl add-br s1
ovs-vsctl add-bond s1 bond0 vxlan1 vxlan2 vxlan3 vxlan4
ovs-vsctl add-port s1 vxlan5 -- set Interface vxlan1 type=vxlan
options:remote_ip=10.0.0.4
ovs-vsctl add-port s1 vxlan6 -- set Interface vxlan2 type=vxlan
options:remote_ip=10.0.0.5
ovs-vsctl add-port s1 vxlan7 -- set Interface vxlan3 type=vxlan
options:remote_ip=10.0.0.6
ovs-vsctl add-port s1 vxlan8 -- set Interface vxlan4 type=vxlan
options:remote_ip=10.0.0.7
ovs-vsctl set port bond0 lacp=active
ovs-vsctl set port bond0 other_config:lacp-time=fast
ovs-vsctl set port bond0 bond_mode=balance-tcp
---- bond0 ----
bond_mode: balance-tcp
bond-hash-basis: 0
updelay: 0 ms
downdelay: 0 ms
next rebalance: 5554 ms
lacp_status: negotiated
slave vxlan1: enabled
active slave
may_enable: true
slave vxlan2: disabled
may_enable: false
slave vxlan3: disabled
may_enable: false
slave vxlan4: disabled
may_enable: false
root@Mininet:~# sudo ovs-appctl lacp/show
---- bond0 ----
status: active negotiated
sys_id: 42:a4:74:1c:3e:47
sys_priority: 65534
aggregation key: 1
lacp_time: fast
slave: vxlan1: current attached
port_id: 1
port_priority: 65535
may_enable: true
actor sys_id: 42:a4:74:1c:3e:47
actor sys_priority: 65534
actor port_id: 1
actor port_priority: 65535
actor key: 1
actor state: activity timeout aggregation synchronized collecting
distributing
partner sys_id: 16:8f:e0:05:b9:49
partner sys_priority: 65534
partner port_id: 1
partner port_priority: 65535
partner key: 1
partner state: activity timeout aggregation synchronized collecting
distributing
slave: vxlan2: defaulted detached
port_id: 2
port_priority: 65535
may_enable: false
actor sys_id: 42:a4:74:1c:3e:47
actor sys_priority: 65534
actor port_id: 2
actor port_priority: 65535
actor key: 1
actor state: activity timeout aggregation defaulted
partner sys_id: 00:00:00:00:00:00
partner sys_priority: 0
partner port_id: 0
partner port_priority: 0
partner key: 0
partner state:
slave: vxlan3: defaulted detached
port_id: 3
port_priority: 65535
may_enable: false
actor sys_id: 42:a4:74:1c:3e:47
actor sys_priority: 65534
actor port_id: 3
actor port_priority: 65535
actor key: 1
actor state: activity timeout aggregation defaulted
partner sys_id: 00:00:00:00:00:00
partner sys_priority: 0
partner port_id: 0
partner port_priority: 0
partner key: 0
partner state:
slave: vxlan4: defaulted detached
port_id: 4
port_priority: 65535
may_enable: false
actor sys_id: 42:a4:74:1c:3e:47
actor sys_priority: 65534
actor port_id: 4
actor port_priority: 65535
actor key: 1
actor state: activity timeout aggregation defaulted
partner sys_id: 00:00:00:00:00:00
partner sys_priority: 0
partner port_id: 0
partner port_priority: 0
partner key: 0
partner state:
root@Mininet:~# sudo ovs-vsctl show
3b369299-fd2b-4869-a540-1d0587162b4d
Bridge "s1"
Port "vxlan5"
Interface "vxlan5"
Port "vxlan6"
Interface "vxlan6"
Port "vxlan7"
Interface "vxlan7"
Port "vxlan8"
Interface "vxlan8"
Port "s1"
Interface "s1"
type: internal
Port "bond0"
Interface "vxlan4"
type: vxlan
options: {remote_ip="10.0.0.7"}
Interface "vxlan2"
type: vxlan
options: {remote_ip="10.0.0.5"}
Interface "vxlan3"
type: vxlan
options: {remote_ip="10.0.0.6"}
Interface "vxlan1"
type: vxlan
options: {remote_ip="10.0.0.4"}
ovs_version: "2.0.2"
root@Mininet:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:15:5d:01:08:27
inet addr:192.168.1.152 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::215:5dff:fe01:827/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:129270 errors:0 dropped:0 overruns:0 frame:0
TX packets:2855 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:24911852 (24.9 MB) TX bytes:342632 (342.6 KB)
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:3496915 errors:0 dropped:0 overruns:0 frame:0
TX packets:5830645 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2056324910 (2.0 GB) TX bytes:7912633404 (7.9 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:45 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3086 (3.0 KB) TX bytes:776 (776.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:44 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2996 (2.9 KB) TX bytes:776 (776.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:42 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2816 (2.8 KB) TX bytes:776 (776.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:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1584 (1.5 KB) TX bytes:1584 (1.5 KB)
s1 Link encap:Ethernet HWaddr 42:a4:74:1c:3e:47
inet6 addr: fe80::7cad:19ff:fe38:11e2/64 Scope:Link
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:6 errors:0 dropped:1 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:412 (412.0 B) TX bytes:648 (648.0 B)
---- bond0 ----
bond_mode: balance-tcp
bond-hash-basis: 0
updelay: 0 ms
downdelay: 0 ms
next rebalance: 4824 ms
lacp_status: negotiated
slave eth1: enabled
active slave
may_enable: true
slave eth2: disabled
may_enable: false
slave eth3: disabled
may_enable: false
slave eth4: disabled
may_enable: false
root@Mininet:~# sudo ovs-appctl lacp/show
---- bond0 ----
status: active negotiated
sys_id: 9a:55:9b:53:93:45
sys_priority: 65534
aggregation key: 2
lacp_time: fast
slave: eth1: current attached
port_id: 2
port_priority: 65535
may_enable: true
actor sys_id: 9a:55:9b:53:93:45
actor sys_priority: 65534
actor port_id: 2
actor port_priority: 65535
actor key: 2
actor state: activity timeout aggregation synchronized collecting
distributing
partner sys_id: be:bb:87:e8:0a:4c
partner sys_priority: 65534
partner port_id: 3
partner port_priority: 65535
partner key: 3
partner state: activity timeout aggregation synchronized collecting
distributing
slave: eth2: defaulted detached
port_id: 3
port_priority: 65535
may_enable: false
actor sys_id: 9a:55:9b:53:93:45
actor sys_priority: 65534
actor port_id: 3
actor port_priority: 65535
actor key: 2
actor state: activity timeout aggregation defaulted
partner sys_id: 00:00:00:00:00:00
partner sys_priority: 0
partner port_id: 0
partner port_priority: 0
partner key: 0
partner state:
slave: eth3: defaulted detached
port_id: 4
port_priority: 65535
may_enable: false
actor sys_id: 9a:55:9b:53:93:45
actor sys_priority: 65534
actor port_id: 4
actor port_priority: 65535
actor key: 2
actor state: activity timeout aggregation defaulted
partner sys_id: 00:00:00:00:00:00
partner sys_priority: 0
partner port_id: 0
partner port_priority: 0
partner key: 0
partner state:
slave: eth4: defaulted detached
port_id: 1
port_priority: 65535
may_enable: false
actor sys_id: 9a:55:9b:53:93:45
actor sys_priority: 65534
actor port_id: 1
actor port_priority: 65535
actor key: 2
actor state: activity timeout aggregation defaulted
partner sys_id: 00:00:00:00:00:00
partner sys_priority: 0
partner port_id: 0
partner port_priority: 0
partner key: 0
partner state:
root@Mininet:~#
root@Mininet:~# sudo ovs-vsctl show
3b369299-fd2b-4869-a540-1d0587162b4d
Bridge "s1"
Port "bond0"
Interface "eth2"
type: vxlan
options: {remote_ip="10.0.0.5"}
Interface "eth3"
type: vxlan
options: {remote_ip="10.0.0.6"}
Interface "eth1"
type: vxlan
options: {remote_ip="10.0.0.4"}
Interface "eth4"
type: vxlan
options: {remote_ip="10.0.0.7"}
Port "vxlan3"
Interface "vxlan3"
Port "s1"
Interface "s1"
type: internal
Port "vxlan4"
Interface "vxlan4"
Port "vxlan2"
Interface "vxlan2"
Port "vxlan1"
Interface "vxlan1"
ovs_version: "2.0.2"
root@Mininet:~#
---- bond0 ----
bond_mode: balance-tcp
bond-hash-basis: 0
updelay: 0 ms
downdelay: 0 ms
next rebalance: 7009 ms
lacp_status: negotiated
slave eth1: enabled
active slave
may_enable: true
slave eth2: disabled
may_enable: false
slave eth3: disabled
may_enable: false
slave eth4: disabled
may_enable: false
root@docker:~# sudo ovs-appctl lacp/show
---- bond0 ----
status: active negotiated
sys_id: be:bb:87:e8:0a:4c
sys_priority: 65534
aggregation key: 3
lacp_time: fast
slave: eth1: current attached
port_id: 3
port_priority: 65535
may_enable: true
actor sys_id: be:bb:87:e8:0a:4c
actor sys_priority: 65534
actor port_id: 3
actor port_priority: 65535
actor key: 3
actor state: activity timeout aggregation synchronized collecting
distributing
partner sys_id: 9a:55:9b:53:93:45
partner sys_priority: 65534
partner port_id: 2
partner port_priority: 65535
partner key: 2
partner state: activity timeout aggregation synchronized collecting
distributing
slave: eth2: defaulted detached
port_id: 4
port_priority: 65535
may_enable: false
actor sys_id: be:bb:87:e8:0a:4c
actor sys_priority: 65534
actor port_id: 4
actor port_priority: 65535
actor key: 3
actor state: activity timeout aggregation defaulted
partner sys_id: 00:00:00:00:00:00
partner sys_priority: 0
partner port_id: 0
partner port_priority: 0
partner key: 0
partner state:
slave: eth3: defaulted detached
port_id: 2
port_priority: 65535
may_enable: false
actor sys_id: be:bb:87:e8:0a:4c
actor sys_priority: 65534
actor port_id: 2
actor port_priority: 65535
actor key: 3
actor state: activity timeout aggregation defaulted
partner sys_id: 00:00:00:00:00:00
partner sys_priority: 0
partner port_id: 0
partner port_priority: 0
partner key: 0
partner state:
slave: eth4: defaulted detached
port_id: 1
port_priority: 65535
may_enable: false
actor sys_id: be:bb:87:e8:0a:4c
actor sys_priority: 65534
actor port_id: 1
actor port_priority: 65535
actor key: 3
actor state: activity timeout aggregation defaulted
partner sys_id: 00:00:00:00:00:00
partner sys_priority: 0
partner port_id: 0
partner port_priority: 0
partner key: 0
partner state:
root@docker:~#
root@docker:~# sudo ovs-vsctl show
a1a5cdb9-0815-4a70-93f6-6d0eb8d6d32c
Bridge "br0"
Port "vxlan2"
Interface "vxlan2"
Port "vxlan3"
Interface "vxlan3"
Port "bond0"
Interface "eth1"
type: vxlan
options: {remote_ip="10.0.0.14"}
Interface "eth2"
type: vxlan
options: {remote_ip="10.0.0.15"}
Interface "eth3"
type: vxlan
options: {remote_ip="10.0.0.16"}
Interface "eth4"
type: vxlan
options: {remote_ip="10.0.0.17"}
Port "br0"
Interface "br0"
type: internal
Port "vxlan1"
Interface "vxlan1"
Port "vxlan4"
Interface "vxlan4"
ovs_version: "2.0.2"
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss