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.

How do I get my computer to always use the same ipaddress, currently this seems to be allocated by the router then if that machine is shutdown and another machine started then the ipaddress can be allocated to that machine instead.

I would much prefer it if each computer always used the same ipaddress.

Computers on the network are:

PC Macbook ipad linux machine nas

and some can be connected wireless, via ethernet or both (whihc seem to both have their own ipaddress)

Help with even configuring some of these oses would be useful

share|improve this question
1  
You want to set a static IP address (locally) OR set a reservation (on the server). However, without knowing the model of your router, we cannot help any further. –  jnovack Apr 4 '13 at 17:17
    
Sorry its a Thomson TG585 v7 router –  Paul Taylor Apr 4 '13 at 19:41
    
Google seems to suggest you cannot do it on the router (the DHCP server) with this god awful piece of equipment. Although, if you really want to learn and you are adventurous, you should be able to install OpenWRT on it. Therefore, your only other option is to assign static addresses to your devices. –  jnovack Apr 4 '13 at 19:51
add comment

1 Answer

up vote 4 down vote accepted

You're looking for static IP settings.

Windows instructions

Linux instructions (May differ depending on distribution in use)

Mac instructions

iPad instructions

Your NAS is probably Linux-based, so try following those instructions when configuring that.

share|improve this answer
    
Another option, to avoid issues if you bring your computer to various networks where you don't know the subnet by default, is to set up your router to dynamically assign static IP's (sounds wrong, I know). But based on MAC/HOSTNAME, many routers support specified IPs. (DD-WRT on anything, my ASUS router has Administration > Specified IP. I find the router to be a better way to do it since doing the above could potentially cause you headaches if you forget and are connecting somewhere new. –  nerdwaller Apr 4 '13 at 17:20
    
The answer is correct as far as it goes, but, before you set a static address, you should reserve a range of addresses on your internal subnet for static use. That involves logging into the configuration panel of your modem/firewall/WiFi device (whichever of them is acting as DHCP server to your internal network) and tell the device to restrict dynamic allocations to a portion of the address space that it controls. Then, you can administer the remaining addresses statically. –  Ron Apr 4 '13 at 19:20
    
@Ron Good point. At home I have two machines running static at 100 and 101, but dynamic everything else between 2 and 99 (reserving 1 for the router). –  Kruug Apr 4 '13 at 19:26
    
@Kruug thanks, taking the Mac as an example would it be better to use the 'Use DHCP with Manul Address' option, looks simpler rather than the fully manual option. –  Paul Taylor Apr 4 '13 at 19:47
    
What if I want it to work also in a WIFI of a coffee shop? not only in my house? –  Odelya Apr 11 at 10:42
add comment

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.