PDA

View Full Version : IP address changes after every reboot


Mka
December 24th, 2005, 07:03 PM
Ok, so...this has been going on for a few weeks now and I don't know why. Everytime I reboot my computer, the IP address coming from my router changes. Somedays it's 192.168.1.102 and other days it's 192.168.1.100, 192.168.1.101 and so on. I've got two other computers on the home network here, and I'm sure it's changing their IP's too.

Is there a way to make it so these don't change everytime I reboot? Will I have to make static IP's instead of having them set to automatic? Or is there a router setting? The router is a Linksys BEFSR41 and I'm running Windows XP Pro.

Thanks to anyone who can help with this!

degsy
December 24th, 2005, 07:18 PM
Your router is using DHCP which means that it dynamically assigns IP Addresses.

The usual way is to give the lowest IP to the next PC that connects.
So if you connect first you would get 100 and if one of the other PCs connected it would get 101 etc.

If the other PC is already connected when you connect then you would get the nest available IP.


You can setup static IP addresses. You can either disable DHCP in the router or assign a static IP outside of the DCHP range.

e.g.
If the router is setup for DHCP IPs between 192.168.1.100 and 150
then assign your PCs IP of 192.168.1.200, 192.168.1.201 etc.


Goto Start>Run> and type in cmd /k ipconfig /all

Copy the IP information
e.g.

Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : NVIDIA nForce
Physical Address. . . . . . . . . : 00-50-8D-D5-F
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.1.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 194.168.4.100
194.168.8.100
Do this to get the default gateway and DNS Servers

You can then goto Control Panel>Network Connections
Double click the connection and choose properties
Then click on the Internet Protocol TCP/IP entry and click properties

Click to Use following IP Address and then add the details

z1p
December 24th, 2005, 11:53 PM
ANother option that is available with some routers, is assigning DHCP assigned IP addresses based on MAC address. THat way you always end up withthe same IP but can use DHCP. I don't know if your router supports it.