Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I share multiple devices on a single WiFi router. They all are assigned local IP addresses (192.168.x.x) depending on a first-connect, first-assigned basis I think.

Is there a way to make one device (my PC) always take a predefined local IP address (192.168.1.2) regardless of whether it was connected before or after other devices?

scr

EDIT: In addition to the answer, I've found an easier workaround that works for me: Assign IP address 192.168.1.100  to my PC. Obviously because I'll never connect upto 100 devices.

share|improve this question
2  
The router usually has an option to set the IP by MAC address or host name. –  Alex W Aug 10 '12 at 1:36

3 Answers 3

up vote 28 down vote accepted

When using DHCP, the (Wi-Fi) router is the DHCP server, that is, the network host that assigns the IP addresses. The computers do not choose their address from the pool; the router chooses and tells the computer what its address will be.

Therefore, you have two options if you want a computer to always have the same IP address:

Option 1: IP address reservation

Set up a static IP address reservation in the router, so the router knows to always give your computer the same IP address. How you do this, or whether it is even possible, depends on the type of router you have.

Your screenshot looks like the same software that Prolink routers use, and if that's true, you'd use one of the "Statically assigned" fields on the "Local Area Network (LAN) Settings" screen.

Option 2: Static IP address on the computer

Do not use DHCP (on that computer), and set that computer's IP address statically. You will also want to reconfigure the router so it doesn't try to assign that address to anyone else (so that the lowest address it gives out is 192.168.1.3).

If your router does indeed use Prolink software, then you would increase the "Start IP Address" setting to 192.168.1.3, then set your computer's static IP to 192.168.1.2.

share|improve this answer
1  
I'm leaving my answer so that people see the difference between quality (yours) and being first to answer (mine). Well done! +1 –  Everett Aug 10 '12 at 13:23
    
@Everett Thanks for the compliment. Much appreciated. –  Stephen Jennings Aug 11 '12 at 19:39

Force the IP address. Assign the IP address to the MAC address of the device in question.

share|improve this answer

You must configure the IPv4 properties for static models and fill your computer IP address in accordance with the Wi-Fi router's DHCP range.

If you are an administrator on the Wi-Fi router, you can provide a permanent IP address based on mac address computer

share|improve this answer

Your Answer

 
discard

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.