I just try libteam 1.2 (also 1.0) with kernel 3.9.4.
my setting for teamd (lacp.conf):
{
"device": "team0",
"runner": {
"name": "lacp",
"active": true,
"fast_rate": false,
"tx_hash": ["eth", "ipv4", "ipv6"]
},
"link_watch": {"name": "ethtool"},
"ports": {"ethi0": {}, "ethi1": {}}
}
after execute 'teamd -f lacp.conf -d', the device team0 created, but I
can't make it up.
ip link show:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode
DEFAULT
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ethha0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP mode DEFAULT qlen 1000
link/ether 00:24:1d:5e:64:1e brd ff:ff:ff:ff:ff:ff
3: ethi0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master team0
state UP mode DEFAULT qlen 1000
link/ether c6:b1:c1:d0:2d:d6 brd ff:ff:ff:ff:ff:ff
4: ethext: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP mode DEFAULT qlen 1000
link/ether 00:1b:21:10:ab:9f brd ff:ff:ff:ff:ff:ff
5: ethi1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master team0
state UP mode DEFAULT qlen 1000
link/ether c6:b1:c1:d0:2d:d6 brd ff:ff:ff:ff:ff:ff
6: ethha1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP mode DEFAULT qlen 1000
link/ether 00:0e:0c:35:e4:c2 brd ff:ff:ff:ff:ff:ff
8: team0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state
DOWN mode DEFAULT
link/ether c6:b1:c1:d0:2d:d6 brd ff:ff:ff:ff:ff:ff
ip addr show:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
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: ethha0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP qlen 1000
link/ether 00:24:1d:5e:64:1e brd ff:ff:ff:ff:ff:ff
inet 10.0.0.11/24 brd 10.0.0.255 scope global ethha0
valid_lft forever preferred_lft forever
inet6 fe80::224:1dff:fe5e:641e/64 scope link
valid_lft forever preferred_lft forever
3: ethi0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master team0
state UP qlen 1000
link/ether c6:b1:c1:d0:2d:d6 brd ff:ff:ff:ff:ff:ff
inet6 fe80::c4b1:c1ff:fed0:2dd6/64 scope link
valid_lft forever preferred_lft forever
4: ethext: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP qlen 1000
link/ether 00:1b:21:10:ab:9f brd ff:ff:ff:ff:ff:ff
inet 192.168.1.11/24 brd 192.168.1.255 scope global ethext
valid_lft forever preferred_lft forever
inet6 fe80::21b:21ff:fe10:ab9f/64 scope link
valid_lft forever preferred_lft forever
5: ethi1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master team0
state UP qlen 1000
link/ether c6:b1:c1:d0:2d:d6 brd ff:ff:ff:ff:ff:ff
inet6 fe80::c4b1:c1ff:fed0:2dd6/64 scope link
valid_lft forever preferred_lft forever
6: ethha1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP qlen 1000
link/ether 00:0e:0c:35:e4:c2 brd ff:ff:ff:ff:ff:ff
inet 10.0.1.11/24 brd 10.0.1.255 scope global ethha1
valid_lft forever preferred_lft forever
inet6 fe80::20e:cff:fe35:e4c2/64 scope link
valid_lft forever preferred_lft forever
8: team0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state
DOWN
link/ether c6:b1:c1:d0:2d:d6 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.11/24 brd 192.168.0.0 scope global team0
valid_lft forever preferred_lft forever
no help for execute: ip link set dev team0 up
it always down.
the switch setting should be ok, because the same setting work fine for
bonding LACP like this:
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer3+4 (1)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 200
Down Delay (ms): 200
802.3ad info
LACP rate: slow
Min links: 0
Aggregator selection policy (ad_select): stable
Active Aggregator Info:
Aggregator ID: 1
Number of ports: 2
Actor Key: 17
Partner Key: 3
Partner Mac Address: c8:be:19:e7:b1:43
Slave Interface: ethi1
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:1b:21:36:52:7f
Aggregator ID: 1
Slave queue ID: 0
Slave Interface: ethi0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:1b:21:36:52:7e
Aggregator ID: 1
Slave queue ID: 0
Any suggestion for this?
--
Tommy Wu