Hi all,
I'm using teamd-v1.31(tag v1.31) from source compile from
https://github.com/jpirko/libteam .
This is my network topo:
```
teamd-1
| |
veth11 veth01
| |
| |
veth10 veth00
| |
teamd-0
```
Which is run team-1 with veth11 and veth01, run team-2 with veth10 and
veth00.
This is my conf:
```
### teamd-0
[root@centos8-20240407 public-libteam]# cat ../lacp-t0.conf
{
"device": "team0",
"runner": {
"name": "lacp",
"sys_prio": 5,
"agg_select_policy": "lacp_prio",
"active": true,
"tx_hash": ["eth", "ipv4", "ipv6"]
},
"link_watch": {"name": "ethtool"},
"ports": {
"veth00": {"lacp_prio": 30},
"veth10": {"lacp_prio": 20}
}
}
### teamd-1
[root@centos8-20240407 public-libteam]# cat ../lacp-t1.conf
{
"device": "team0",
"runner": {
"name": "lacp",
"sys_prio": 66,
"active": true,
"tx_hash": ["eth", "ipv4", "ipv6"]
},
"link_watch": {"name": "ethtool"},
"ports": {
"veth01": {},
"veth11": {}
}
}
```
In my opinion and code, I think this conf will cause this behavior:
- teamd-0 use lacp, use low system priority, use equal port priority.
- teamd-1 use lacp, use high system priority, use not euqal port priority.
- then veth11 and veth10 will UP, veth01 and veth00 will DOWN.
But in fact, veth11 and veth10 is UP, veth01 and veth00 is also UP.
So:
1) What's wrong with my configure?
2) How to configure use lacp port priority?
----
Simon Jones