How to select in which order lower ports/slaves are added to bond/team?
Issue
- How to select in which order lower ports/slaves are added to bond/team?
- The preferred teaming interface doesn't come up as the active member at system bootup
- We have an active-backup team with two ports:
ifcfg-ens1f1:TEAM_PORT_CONFIG='{ "prio": -100, "sticky": true }'
ifcfg-ens3f0:TEAM_PORT_CONFIG='{ "prio" : -10 }'
- We want
ens3f0
to be the usual active member (prio: -10). When the link goes down, we wantens1f1
to take over the team and we want it to stay as the active (sticky
) even whenens3f0
comes back. The problem is: at system bootup,ens1f1
comes up slightly earlier thanens3f0
and the latter doesn't even have to chance to become the active member, even though it's been given the higher priority.
Environment
- Red Hat Enterprise Linux 8 and later
- NetworkManager
- teaming with port priority and
sticky
- bonding with
primary_reselect
option
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.