Multiple Wi-Fi Services on Mac
This is the purpose of a Location. With only one Wi-Fi service, create a new location at the top of the window. Settings such as DHCP only apply to the currently selected location. Locations can be switched from this menu or from anywhere using the Apple menu once created.