Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
I have a network adapter called "Local Area Connection". Say its IP is 172.16.40.11 and I have also configured same adapter for NLB. the NLB IP is (say) 172.16.40.15
My requirement is to modify the the IP to 172.16.40.12
so I wrote following command
netsh interface ip set address name="Local Area Connection" static 172.16.40.12 255.255.252.0 10.140.217.1
This command works and ip is change from 11 to 12 but my NLB IP is lost.

How can I make sure that NLB IP is not lost in the process?
Posted
Updated 20-Oct-13 22:30pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900