Use network locations on Mac Use the network location feature in macOS to quickly switch between different sets of network settings.
Switching between sets of network settings (locations) can be useful in circumstances such as these:
Your Mac is experiencing network connectivity issues and you want to quickly reset your network settings for testing purposes, without losing your current network settings.
You use the same network service (such as Wi-Fi or Ethernet) at work and at home, but the network settings you use at work don’t allow your Mac to automatically connect to the same type of network at home.
Your Mac connects to more than one network service (such as both Wi-Fi and Ethernet) at work and at home, but at work you want your Mac to try connecting to the Ethernet network first, and at home you want your Mac to try connecting to the Wi-Fi network first. In other words, you want a different service order for each location.
You can find out more details by following the link https://support.apple.com/en-us/105129
Requires macOS 10.14 (Mojave) or later. macOS 14.0 (Sonoma) and Intel and Apple Silicon (M1-M4) fully supported.