macOS Network Interface priority order
The macOS network interface priority order determines which network interface (like WiFi, Ethernet, etc.) the system uses first when multiple interfaces are available. Set this priority order through the System Preferences or via the command line:
List all network services in priority order:
networksetup -listallnetworkservices
Set the network interface priority order with:
networksetup -ordernetworkservices "Service1" "Service2" ...
Replace "Service1"
, "Service2"
, etc., with the actual network service names.
Regarding WiFi SSID priority, macOS automatically scores based on several factors, including the user manually selecting a WiFi network.