If you are using multiple connections (like to get internet. networks..etc) you may find it boring that each time you have to change settings using GUI, MS "netsh" has the answers(not advertising for it!)..see the following examples (change the "Local Area Connection" to your connection name, and substitute the xxx with the ip number accordingly!):
And if you want to change the dns ip address:
netsh int ip set address name="Local Area Connection" source=static addr=xxx.xxx.xxx.xxx mask=xxx.xxx.xxx.xxx gateway=xxx.xxx.xxx.xxx gwmetric=1
And if you want to change the dns ip address:
netsh int ip set dnsserver name="Local Area Connection" static xxx.xxx.xxx.xxx primaryJust put the command lines you are willing to use in a ".bat" file and run it each time you going to change connection (Note: Vista users should run the script with Admin privilege on)
Labels: Networking
Smilar pages
1 Comments:
Thanks for sharing this information. It is knowledgeable, really ip changer is helping us and reducing our work.
Post a Comment
<< Home