Is there a way to set the “Alternate IP” info on a laptop through the command prompt?
I can set a static address using “netsh int ip set address local”. When I try a dump after manualy setting the Alternate IP it only shows the DHCP settings and nothing about the alternate IP. Is there a way to automate setting the alternate IP via batch files?
One Response to “Is there a way to set the “Alternate IP” info on a laptop through the command prompt?”

This isn’t a complete answer but i have noticed these articles regarding netsh on the tech republic website, registration is free, i believe it is run by zdnet or pcmag not sure which. The last entry is from a forum question which implies that you can from the netsh command to set dns information. Hope this steers you in the right direction or that it helps.
http://techrepublic.com.com/5100-10877_11-5695101.html?tag=search
http://techrepublic.com.com/5138-1035-5893215.html?tag=search
here is an example regarding dns setting in a batch file that may be of assistance
netsh interface ip set dns /?
you can take it from here…
netsh interface ip set dns “Local Area Connection” static 192.168.10.10 primary
edit the ip address and primary/ secondary tag accordingly
http://www.techrepublic.com
(Report comment)