Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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 have several machines at my home and most of them are wireless. My desktop and my network drive are plugged in to my router directly. I would like those two items to always have the same ip how can I ensure this. My desktop (MAC) is running a website that I need to test from my Laptop (PC)

WORKING ??? so I think I have things setup right but I'm not sure, so I have the router setup like this

enter image description here

and then I have my network settings like so

enter image description here

will this work properly ?

share|improve this question
up vote 3 down vote accepted

Either set a static IP and exclude these from the DHCP pool, or simply (and probably easiest), set up DHCP Reservations/static leases.

It changes based on whatever router you have, but usually it involves going to the DHCP configuration and there should be a page that states reservations - simply look at the MAC address of the current machine and set it.

If you need any help on this stage, please give the model of your router and I will try to help you further.

share|improve this answer
ok I set it manually but from you said I need to exclude it from the pool. if I "set up DHCP Reservations/static leases." does that mean that I have to setup that up for every new computer / device that enters my network ? I'm not familiar with this . I have a linksys router – mcgrailm Jun 11 '11 at 14:20
@mcgrailm, No, you reserve two static IP's for your 2 computers and the router will always give them those 2 IP's. Everything else that connects will behave normally and receive a dynamic IP. Not every Linksys router supports this; what is your model#? Also, the static assignment is actually per MAC address, not computer. So if you assign your wired NIC MAC to an IP, you'll have to create a separate entry for you wireless NIC MAC. – hyperslug Jun 11 '11 at 14:39
@mcgrailm: In short, you'll have to do a setup for every new computer / device that enters your network that will have a static IP. There is no getting around it. If you need more information on how to do that, please ask in a new question. – Chris Ting Jun 11 '11 at 14:42
@Chris Ting I won't need static ip for every machine/device so thats fine. The router model is a WRT54g2 v1 I set it up a long time ago – mcgrailm Jun 11 '11 at 15:01
@mcgrailm, your stock firmware doesn't support static leases, AFAIK. It can, however, be flashed with a custom firmware like DD-WRT which does have this feature. – hyperslug Jun 11 '11 at 16:44

There are two ways to to do this:

  1. Assign them static IP addresses based on their MAC addresses via your router's configuration. (If you can say which router you have, I can probably link you to documentation about how to do it.)

  2. Request an IP via the Network settings of the computers themselves (although it won't be possible if another computer on the network has already been assigned that IP by the DHCP server in the router.)

To do it the second way on the Mac (OS 10.6), go to System Preferences > Network

Mac - System Preferences - Network

Then select the connection method on the left you're using (eg. Airport) and click Advanced. Then go to the TCP/IP tab and select DHCP with manual IP address and enter the IP that you want.


For the PC, this article will show you how depending on which version of Windows you have installed.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .