Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I connect to 8 different Access Points, each with a separate subnet and each location does not allow DHCP.

I want my computer to change my IP address to an assigned IP address per location based on which access point I am connected to without having to run a netsh script each time.

Where is the windows settings for such functionality? If there is no windows functionality built in, is there a standard method or service that people commonly use for this desired functionality?

share|improve this question
Wireless networks not running DHCP? Now, that's odd. – Iszi Sep 19 '11 at 15:05
For this, I think DHCP is the "standard method or service that people commonly use". :-( – RedGrittyBrick Sep 19 '11 at 15:07
If it's only one SSID and multiple locations, the only solution I see is a batch file/powershell script that checks BSSID and sets the IP manually. And yes, DHCP is the way to get that functionality. – RobotHumans Sep 20 '11 at 14:34
Have you looked at this post?… – CharlieRB Oct 11 '11 at 20:17

Windows allows you to fallback to an alternative Static IP, which is covered in this related question:

If you configure each AP to use Automatic Private IP Addressing, then multiple access points can be configured to automatically assign IP addresses without DHCP:

The Internet Assigned Numbers Authority (IANA) has reserved for Automatic Private IP Addressing. As a result, APIPA provides an address that is guaranteed not to conflict with routable addresses.

After the network adapter has been assigned an IP address, the computer can use TCP/IP to communicate with any other computer that is connected to the same LAN and that is also configured for APIPA or has the IP address manually set to the 169.254.x.y (where x.y is the client’s unique identifier) address range with a subnet mask of Note that the computer cannot communicate with computers on other subnets, or with computers that do not use automatic private IP addressing. Automatic private IP addressing is enabled by default.

You may want to disable it in any of the following cases:

- Your network uses routers.

- Your network is connected to the Internet without a NAT or proxy server.

Unless you have disabled DHCP-related messages, DHCP messages provide you with notification when you change between DHCP addressing and automatic private IP addressing. If DHCP messaging is accidentally disabled, you can turn the DHCP messages back on by changing the value of the PopupFlag value in the following registry key from 00 to 01:


OSX allows mixing local and remote access points as well via link-local addressing.


Dynamic Configuration of IPv4 Link-Local Addresses

IPv6 Address Types

Mixing link-local IP addresses and routable IP addresses

Zero Configuration Networking

Airport: About Using Link-Local Addressing

Service Publication: An Example

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.