• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

standby & network

Taurus

hardware monkey
#1
i use standby a lot. is there a way to have my computer repair it's network connection and acquire a new ip address each time i wake it up? instead of using it's old one?
 

hansrijf

sh! it stinks
#3
There should be a command to release the lease on your ip address and get a new one. You can add this to your scheduled tasks. I just would not know the exact command. I think it is "net". Try "net /?" from a commandbox (without the quotes ofcourse)
 

American Zombie

Administrator
Staff member
Political User
#4
If using DHCP the IP address will most likely not change even if you release/renew. The reason is most ISP's assign IP by the MAC address of your network card or router.
 
#5
If there is a router involved it should have an option to set how long it leases an IP address for. Note this may disrupt 2p2 or big file downloads.

If straight connection to the modem then you can use
ipconfig /release /all
followed by
ipconfig /renew
use scheduled tasks as hans suggested to automate the process.

There is no guarantee any approach will produce a new ip address. That depends on the algorithms used by your ISP to assign ip's. I used to find that I had to be disconnected for hours before I actually got a new ip adress.
 

Taurus

hardware monkey
#7
yeah, we're all connected to a router.

issue is i will put my comp in standby and my roommate will later turn on the PS3 and start playing online. then i come home and wake the comp up and then there's an ip address conflict and he gets kicked offline.

i ended up just asigning the PS3 it's own ip address.
 

kcnychief

█▄█ ▀█▄ █
Political User
#9
Alternatively most routers give you the ability to program DHCP reservations. This would be based on the MAC address of each device. If you were to give a PC a static IP assigned through Windows, if you format it's gone. If you format and the NIC is the same, still there :)

Also, please don't bump your own thread.
 

Taurus

hardware monkey
#10
Alternatively most routers give you the ability to program DHCP reservations. This would be based on the MAC address of each device. If you were to give a PC a static IP assigned through Windows, if you format it's gone. If you format and the NIC is the same, still there :)

Also, please don't bump your own thread.
thanks, i didn't notice the static DHCP setion in my router. and thanks for the other ideas, guys.

and sorry for bumping. was i suppose to make a new thread with the same question?
 

Members online

No members online now.

Latest posts

Latest profile posts

Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,013
Latest member
Pdawgintown