DHCP IP Renew when changing from on DHCP profile to another / Bug Reports / NetSetMan Support

NetSetMan Support

Search for already answered questions about NetSetMan (Pro) or ask new ones

You are not logged in.

#1 2008-11-07 17:06

Seth
Member
Registered: 2008-11-07
Posts: 3

DHCP IP Renew when changing from on DHCP profile to another

Created two profiles Profile 1 and Profile 2 that are both DHCP enabled.

When I change from 1 to 2 or from 2 to 1 and change my physical network without rebooting I dont get the new IP address.  NetSetMan doesn't seem to release and renew when you change profiles.

Thanks
Seth

Offline

#2 2008-11-08 20:21

NetSetMan Support
Administrator
Registered: 2005-08-06
Posts: 1,878

Re: DHCP IP Renew when changing from on DHCP profile to another

Well there's a function for renewing the DHCP IP, which is already implemented in NetSetMan but at the moment disabled, because it takes 1 minute if no DHCP server is available at the moment, which would slow down the activation process for many people.

How would you change DHCP to DHCP in Windows normally to receive a new IP?

Offline

#3 2008-11-10 14:54

Seth
Member
Registered: 2008-11-07
Posts: 3

Re: DHCP IP Renew when changing from on DHCP profile to another

I work with a lot of VMs and move them hot from one lan to another.  I also suspend/hibernate my laptop and move it to various networks Wired and Wireless.

Offline

#4 2008-11-10 21:31

NetSetMan Support
Administrator
Registered: 2005-08-06
Posts: 1,878

Re: DHCP IP Renew when changing from on DHCP profile to another

So how do you deal with it without NetSetMan?
I'd like to know the normal way you would change DHCP to DHCP, because this will help to implement a suitable solution into NSM.

Offline

#5 2008-11-11 15:07

Seth
Member
Registered: 2008-11-07
Posts: 3

Re: DHCP IP Renew when changing from on DHCP profile to another

from command line

ipconfig /release
ipconfig /renew

or I use WinIPS (no longer supported)

Offline

#6 2008-11-11 18:47

NetSetMan Support
Administrator
Registered: 2005-08-06
Posts: 1,878

Re: DHCP IP Renew when changing from on DHCP profile to another

Ok, this is what I wanted to know. So it's not a feature of Windows but the build-in tool ipconfig.
You can use those two lines in the script feature in the "After" tab.

However, I will  look at an automatic solution for this.

Offline