Recap on netsh (Windows)
Dump interface config (Tested on Windows 2003 STD SP2)
Save your perfect running config (real pain add many many ip's in windows manually).
C:\documents and settings\Administrator\My Documents>netsh -c interface dump > interface.server1.txt
Want to update or change some values? Just edit interface.server1.txt (carefull about correct syntax - http://technet.microsoft.com/en-us/library/cc738592(WS.10).aspx)
Save as new file like "interface.server1.new.txt"
Deploy your new settings
C:\documents and settings\Administrator\My Documents>netsh -f interface.server1.new.txt
Something went wrong or testing done?
- Revert to old config!
C:\documents and settings\Administrator\My Documents>netsh -f interface.server1.txt
Violá! Be sure always verify settings and connectivity!
Save your perfect running config (real pain add many many ip's in windows manually).
C:\documents and settings\Administrator\My Documents>netsh -c interface dump > interface.server1.txt
Want to update or change some values? Just edit interface.server1.txt (carefull about correct syntax - http://technet.microsoft.com/en-us/library/cc738592(WS.10).aspx)
Save as new file like "interface.server1.new.txt"
Deploy your new settings
C:\documents and settings\Administrator\My Documents>netsh -f interface.server1.new.txt
Something went wrong or testing done?
- Revert to old config!
C:\documents and settings\Administrator\My Documents>netsh -f interface.server1.txt
Violá! Be sure always verify settings and connectivity!
Etiketter: netsh, networking, windows