Changing IP Address

Status
Not open for further replies.

Spartan Erik

Retired
Messages
6,764
Reaction score
0
Points
0
Well currently I have two computers that are on wireless 802.11b USB adapters, and one computer that is wired to my gateway/router. I've been wanting to be able to change my IP address quickly (on my wireless computer); so far, these methods do not work:

-Disable/enable network connection
-Start>Run>cmd>ipconfig /release>ipconfig /renew
-Physically disconnecting/reconnecting USB adapter hardware

All these methods work for my friends, but not for me. As of now, the only method I have of changing my IP address is rebooting the gateway/router, hence disconnecting everyone that is on my network for 20-30 seconds. I sent in a email request for support, and this is what I received:

Your 2Wire Gate acts as a Dynamic Host Control Protocol (DHCP) server and assigns your PC an IP address. When you power off all units the Gateway also authenticates to the ISP network and does a DHCP request and may come up with a new Gateway address.

You could set a fixed address within your PC's Internet protocol settings. We do not recommend that as it may cause web surfing issues. You have to remember that you are sharing one public IP address across 3 devices that are using Network Address Translation (NAT).

Is there any method besides the one listed above that could let me change my IP address quickly? And if there isn't any other method, how would I perform that action?
 

alvaroag

New Member
Messages
288
Reaction score
0
Points
0
let me see if i understood you... you want the gateway to assign another lan ip address to your wireless pc?

if that is, open a command console and execute "ipconfig /renew". for that, your network adaptar must be configured to use dhcp. that should work with no problems...
 

The_Magistrate

New Member
Messages
1,118
Reaction score
0
Points
0
ipconfig /renew will not work the way you want it to. The problem is that your router's DHCP server maintains leases on IP addresses for computers. When a new computer is attached to the network, the DHCP will give it a new IP address and lease it for a certain time period, usually 2 weeks. You can see how long your lease is by using ipconfig /all and noting the "Lease Expires" date.

The problem you are having is that when you reconnect your computer to the network, the DHCP server still has that IP address leased to your computer, so it gives it right back to you. If you reset the router, it resets the DHCP lease list and everyone gets new IP addresses.

I'm not sure why you want your laptop to have a new IP address, but there isn't a really easy way to give it one. First, check to see if the router allows you to set the lease time on IP addresses. If so, you could try setting it to a shorter interval. Second, (this one will work albeit not an ideal fix) use SMAC to manually change the MAC Address for your wireless card. This will force the DHCP to think that the card is actually a new device. It will then get a new IP address. It is best if you only change one HEX character and not change the whole thing. **NOTE** Changing your MAC Address can cause serious networking issues. This is a workaround, not a fix, but it will work like you want it to. I can't be held responsible for any problems you have following my advice. **NOTE**

P.S. It is just my curiosity, but why do you want a LAN device to get a new IP address? i.e. Why are you trying to do this?
 
Last edited:
Status
Not open for further replies.
Top