MacBook – Changing to a different WiFi connection

macbook proNetworkwifi

I'm using MacBook Air running MacOS Sierra and using an IP address(provided by my college) that has been bound to my device's MAC address manually.

ie- My device's MAC address is has been bonded with a specific IP address provided by the College's network administrators.

So, I've manually configured the network connection with that specific IP address.

Here is the configuration

Now, when I connect to my phone's wi-fi (Redmi 4A), it gets connected (DHCP), the internet works well and after 2-3 minutes the internet finally disconnects even though I'm still connected to my phone's wi-fi.

Is this due to the manual network settings set only for the IP address provided by the college.

EDIT: :

I found that the manual setting for the college wifi is causing a problem. When connecting to phone's wifi, the Using DHCP option doesn't get automatically selected.

So, what I did is that when connecting to my phone's wifi, I selected the Using DHCP and it worked well.

But the problem now is that when I reconnect to my college wifi, the Configure IPv4 now shows Using DHCP which I had previously selected when connecting to my phone's wifi.
Hence, when connecting to the college wifi, all the manual settings have disappeared and I have to fill the configuration details again.

Please suggest some workaround to deal with the above problem. I don't want to reconfigure all the manual settings again and again when I switch between the 2 wifis.

Best Answer

To connect to your phones hotspot you will need to set Configure IPv4 to Use DHCP.

To have different network settings for the same interface you can set up network locations. For instance, add a new location for college with the IPv4 settings you've specified, and when you're using your phones hotspot or somewhere that doesn't require manual setup, use the default Automatic location.