Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

DHCP keeps changing computer IP

Posted on 2006-11-07
13
857 Views
Last Modified: 2012-05-05
I have a cable connection, with 2 computers and a laptop, all getting an IP via DHCP, each with an IP of 192.168.10x (100-102)

Problem is, every now and then, during reboots, crash of time warner, etc. My IPs for each computer change. One day my desktop, wich was xx.xx.xx.101 is suddenly xx.xx.xx.100

What can I do to ensure that a particular computer keeps a certain IP?

I use WinXP Pro and a Linksys router.
0
Comment
Question by:gelat
  • 5
  • 4
  • 2
  • +2
13 Comments
 
LVL 77

Expert Comment

by:Rob Williams
ID: 17895783
You can statically (manually) assign IP's, subnet mask and DNS servers to your PC's
At a command line (DOS window)  enter    ipconfig  /all
It will return those values to which your computer is currently set. Then go to  control panel | Network connections | right click on your network adapter and choose properties | highlight Internet protocol TCP/IP and click Properties and then check the appropriate boxes (circles) and enter those values. They will not change any more.
One nor you can leave everything the same except you should change the IP address. Your router has a DHCP scope/range. You don't want the possibility of a conflict by choosing something in that range, which obviously starts at 100 so choose something like 192.168.010.90-91
0
 
LVL 8

Expert Comment

by:jessmca
ID: 17895925
Go to scope properties and make sure the duration is set to 8 days.

Or, add a reservation for each computer.  You will need the mac address for each card you want to assign the ip address to.

Jess
0
 
LVL 2

Expert Comment

by:r2r
ID: 17896382
Set your IP to static (manual configuration), first you get your Server IP add your gateway and DNS, write it down, then change your IP address. Each computer must have unique IP Address, and the same Gateway and DNS.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:gelat
ID: 17897756
So I can leave the router at DHCP, and give each desktop a static IP within the DHCP range?
0
 
LVL 14

Expert Comment

by:Geisrud
ID: 17898357
I would recommend IP address reservation as Jessmca mentioned.  On your DHCP server, you can set a MAC address to always receive a specific IP address.  This way your laptops are still DHCP if you need to travel, etc.
0
 

Author Comment

by:gelat
ID: 17898462
I do not know how to set a MAC address to a particular IP. How do I do this in a linksys router?
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 17900874
Not all Linksys routers have the ability to create reservations. But if yours does it will be on the same page as where you set the DHCP scope (range) for your LAN workstations. Find the MAC address of a given computer by logging onto that computer and at a command line (DOS window) enter  
  ipconfig  /all
It will return all IP information including the "Physical address".  This is t is the MAC address, and will look something like  AA-AB-2C-12-2F-33
Then on the Linksys DHCP page for the LAN, there will be a place to enter the MAC address and the IP you wish to have assigned, every time, by DHCP.

Note: There is likely a page on your router where you can "clone the MAC address". This is not what you want. Totally irrelevant.
0
 

Author Comment

by:gelat
ID: 17906259
Ok, I have a WRTG54 1.1 Speedboost G router, and it does not have a page to assign IP by MAC
0
 
LVL 77

Accepted Solution

by:
Rob Williams earned 75 total points
ID: 17906575
You are right, WRT54G series do not offer that feature. Unfortunately it also doesn't allow you to set the Lease duration as suggested by jessmca.
You will need to assign static IP's as suggested in my first post.
.
0
 
LVL 8

Expert Comment

by:jessmca
ID: 17907967
I would assign static ip addresses as Rob suggests to the 2 computers and only use dhcp for the laptop.

Providing your static addresses dont clash, all three ip addresses will remain static unless anoth computer joins the mix.

Jess
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 18341486
Thanks gelat ,
--Rob
0
 

Author Comment

by:gelat
ID: 18341886
Sorry it took so long, just got overwhelemed in work....
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 18341956
No problem. We all get swamped from time to time. It is the nature of the business.
--Rob
0

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question