014.01.38.3. How does NetworkManager decide which connection to activate for Ethernet interfaces, and what factors does it consider in the decision-making process?
NetworkManager gathers all available network device information, searches a list of connections, and then decides to try to activate one. Here's how it decides on a connection to activate for Ethernet interfaces:-
If a wired connection is available, try to connect using it. Otherwise, try the wireless ones.
Scan the list of available wireless networks. If a network is available that you've previously connected to, NetworkManager will try it again.
If more than one previously connected wireless network is available, select the most recently connected.
After the connection is established the NetworkManager maintains it until it finds a better connection or the connection is lost.
NetworkManager determines which connection to activate for Ethernet interfaces by first gathering information about all available network devices. The decision-making process involves the following steps:
1. If a wired connection is available, NetworkManager attempts to connect using it. If not, it explores wireless connections.
2. It scans the list of available wireless networks. If a network is present to which you've connected previously, NetworkManager will prioritize attempting to connect to it.
3. In the case of multiple previously connected wireless networks being available, NetworkManager selects the most recently connected one.
Once a connection is established, NetworkManager maintains it until it identifies a better connection or the existing connection is lost.