Computing.Net > Forums > Networking > Why I always get the same IP?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Why I always get the same IP?

Reply to Message Icon

Name: G Chen
Date: March 1, 2005 at 07:56:39 Pacific
OS: WinXP
CPU/Ram: 1.8g/256m
Comment:

Folks:

I am wondering why I always get the same IP address even after I do ipconfig /release and ipconfig /renew several times. Is my IP info stored somewhere as cache? If so, is there any way to clean it up? I need to have a different IP for some testing purpose.

Could anybody help me please?

gangchen



Sponsored Link
Ads by Google

Response Number 1
Name: wanderer
Date: March 1, 2005 at 10:02:44 Pacific
Reply:

perhaps you can answer the question of how you are getting your ip address? Are you autoassigned or do you have a static entry

[tcp/ip protocol properties in network properties]


0

Response Number 2
Name: kmevanszoo
Date: March 1, 2005 at 11:16:38 Pacific
Reply:

Yes your IP address assignment is stored somewhere else off your PC.

If you access the internet directly through a modem or broadband modem, your IP is "leased" from your ISP, usually for 48 hours up to about 6 months, some more, some less. So when you perform ipconfig/release and /renew, you are probably going to get the same IP address, unless you stay off your ISP for a week or more. If you use a home router, your IP is assigned by the router and you can control how long that IP address is assigned to you, and what IP to assign your PC.

HTH


0

Response Number 3
Name: pt cruiser
Date: March 2, 2005 at 13:02:57 Pacific
Reply:

Two possible reasons, asuming you are configured as a DHCP client to start:
* Lease duration-You maintain the same numneric ip assignment for the length of the lease, even if you release & renew which leasds to reason two
* MAC address. The ip address assignment is linked to your MAC address. For example, if you are set for DHCP and move your PC to a different subnet (assuming for the moment you are on a subnetted network) you will then receive a different ip address representing the scope/pool/range of addresses on that subnet.

If you get your assignment from an ISP the answer may be slightly different depending on how they issue addresses and what ranges they manage.


0

Response Number 4
Name: OrionCA
Date: March 3, 2005 at 12:34:35 Pacific
Reply:

If you have a "static" IP address set up in your TCP/IP configuration your PC will always try to connect using that IP address. If instead you select "Assign IP addresses automatically" every time you connect to the DHCP server your machine will request the first available IP address.

Releasing this IP address may not get you a new one: Once an address is released it's returned to the table of available IP addresses and usually winds up at the top of the list. If no one else requests an IP between your /release and /renew you'll get the same IP address back. You have no way on your end of rejecting an IP assignment: You can set up a script to /release and /renew until you get another assignment but that depends on someone else connecting during the interim. With some servers you may have to wait a LOOOOONNNNNNGGGGGG TIIIIMMMMEEEEE.

If you're just trying to mask your IP address to avoid admin blocks or fool people into thinking you're someone else in an online discussion (a) shame on you and (b) use a proxy server.


0

Response Number 5
Name: Danny Larouche
Date: March 3, 2005 at 13:28:22 Pacific
Reply:

The DHCP client process is basicaly in 4 steps. When it start, it first verify if there is already a known dhcp server in memory. Then it verify if an IP address in already assigned. Before sending a "dhcp discover" it will try to reach the last dhcp server and will try to renew a known IP before asking for a new one.

In order to force a complete dhcp cycle, disconnect the network before you do a release/renew. plug it back and redo a release/renew.


Danny Larouche, cwna ciw


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Networking Forum Home


Sponsored links

Ads by Google


Results for: Why I always get the same IP?

3 vmware-guest get the same ip ? www.computing.net/answers/networking/3-vmwareguest-get-the-same-ip-/10271.html

How to get the default IP address www.computing.net/answers/networking/how-to-get-the-default-ip-address/30317.html

Two network card with the same IP www.computing.net/answers/networking/two-network-card-with-the-same-ip-/13760.html