NetSetMan Support
You are not logged in.
- Topics: Active | Unanswered
Pages: 1
#1 2009-08-17 11:22
- peter_nn
- Member
- Registered: 2009-08-17
- Posts: 2
Multiple ip on one NIC
Is it possible to configure DHCP + Static IP on one network interface card? How?
I am using three profiles: DHCP, static ip, DHCP + static IP (configured within Regedit).
Best regards,
Peter
Offline
#2 2009-08-19 01:27
- NetSetMan Support
- Administrator
- Registered: 2005-08-06
- Posts: 1,878
Re: Multiple ip on one NIC
In Windows it is not possible to have DHCP and a static IP for one adapter at the same time. As soon as you assign an IP manually, DHCP is turned off. Again: This is a Windows behavior where NetSetMan can't do anything.
However, it is possible to have DHCP and manually configured (static) gateways. If you need this, open the "Additional Addresses" dialog (click one of the "+" icons) and add the gateways that you need. Click OK. Then set DHCP in the main window. Apply the profile.
Offline
#3 2009-08-19 08:26
- peter_nn
- Member
- Registered: 2009-08-17
- Posts: 2
Re: Multiple ip on one NIC
It is possible. I am using it.
I have to use Regedit to assign DHCP and static ip on the same NIC (with disable/enable interface).
I am searching for "one button" solution (like cute NetSetMan program or some batch commands - netsh can't set DHCP + static).
Peter
Offline
#4 2009-08-19 20:41
- NetSetMan Support
- Administrator
- Registered: 2005-08-06
- Posts: 1,878
Re: Multiple ip on one NIC
Well, unfortunatelly this procedure is not an official feature. It's kind of a workaround or a trick. The bad thing about that is, that there's no guarantee that it'll work with all Windows versions and all the different system environments. Searching for this method I found several postings of people who stated that it didn't work for them.
Implementing a feature that only works in several (uncertain) cases is questionable.
I'll put it on the ToDo list to get back to this issue another time when there's plenty time for testing. Right now I'm concentrating on some other new features.
If you know how to handle some scripting language (like VBS) you can write a short script that adds the IPs to the registry and then restarts the adapter. You can then bind this script into one profile of NetSetMan that first activates DHCP and then executes that script.
Offline
Pages: 1