Saturday 29 June 2019

networking - Specific static IP settings on different WiFi


I've been trying to set a static IP address for myself. My router details are as following:


Wireless LAN adapter Wi-Fi:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::4c77:ef95:76:961b%13
IPv4 Address. . . . . . . . . . . : 192.168.1.16
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1

I set the static IP address to 192.168.1.50. However, since I go to school and connect to my own access point I set up there, the IP it gives me is 172.168.1.2 (without a static IP). My question is, can I configure my Wifi adapter to set a static IP address only if I'm connected to my home network?



Answer



I am assuming you're on Windows. If not then please correct. If you go into:


Network and Sharing Centre > Right click Wireless adapter > Properties > Select IPv4 > Properties.


In there configure your primary network settings under the general tab (probably obtain IP automatically) and under Alternative specify the information related to your other network.


Hope this helps


EDIT: So using alternative IP. Generally speaking you would configure your alternative configuration to specify settings when a DHCP server is not present (and cannot collect an IP automatically). If this is the case for you then set the primary to collect an IP automatically (for your school network) and assign manual configuration to alternative when at home.


If, however, this doesn't work you can probably assign both networks manually, but this would depend how your school network runs. I assume you won't be able to specify a manual connection if there are several hundred systems on the network. Be aware though, as pointed out below, once you start specifying static network configurations you won't be able to use your system anywhere else without resetting the network.


No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...