hi,
How to dynamic bind a new IP address to a network adapter without system reboot, In Both Windows 9x and Windows 2000?
which system function I need to call?
How I can do this?
Any suggest is appreciate!
Thanks in advance for you help.
Crasher Guo
As far as I know there is no supported method for setting/adding a static IP
address to an adapter. If you only need to assign one IP address, you may
consider using DHCP on the interface and using ioctl’s to control setting
the IP address. Unfortunately, this isn’t the most elegant solution.
Windows 2000 and XP have functions in the IP Helper API for adding IP
addresses to an adapter. Windows 9x, however, does not support these
functions.
Hope that helps,
Matt Miller
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Crasher Guo
Sent: Sunday, May 18, 2003 9:00 AM
To: NT Developers Interest List
Subject: [ntdev] How to dynamic bind a new IP address to a network adapter
without system reboot?
hi,
How to dynamic bind a new IP address to a network adapter without system
reboot, In Both Windows 9x and Windows 2000?
which system function I need to call?
How I can do this?
Any suggest is appreciate!
Thanks in advance for you help.
Crasher Guo
You are currently subscribed to ntdev as: xxxxx@positivenetworks.net
To unsubscribe send a blank email to xxxxx@lists.osr.com
Hi,Matt Miller
Thanks for you reply. I think use DHCP is a good solution. But I do this with My Virtual Nic adapter , so I must reply DHCP request by myself. It’s very trouble.
thanks again.
======= 2003-06-18 09:30:00 You wrote=======
As far as I know there is no supported method for setting/adding a static IP
address to an adapter. If you only need to assign one IP address, you may
consider using DHCP on the interface and using ioctl’s to control setting
the IP address. Unfortunately, this isn’t the most elegant solution.
Windows 2000 and XP have functions in the IP Helper API for adding IP
addresses to an adapter. Windows 9x, however, does not support these
functions.Hope that helps,
Matt Miller-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Crasher Guo
Sent: Sunday, May 18, 2003 9:00 AM
To: NT Developers Interest List
Subject: [ntdev] How to dynamic bind a new IP address to a network adapter
without system reboot?hi,
How to dynamic bind a new IP address to a network adapter without system
reboot, In Both Windows 9x and Windows 2000?
which system function I need to call?
How I can do this?
Any suggest is appreciate!
Thanks in advance for you help.
Crasher Guo
You are currently subscribed to ntdev as: xxxxx@positivenetworks.net
To unsubscribe send a blank email to xxxxx@lists.osr.com
You are currently subscribed to ntdev as: xxxxx@sinfors.com.cn
To unsubscribe send a blank email to xxxxx@lists.osr.com
= = = = = = = = = = = = = = = = = = = =
Crasher Guo
xxxxx@sinfors.com.cn
2003-05-19