Looking for relevant CIO Whitepapers? Visit the SearchCIO-Midmarket.com Research Library.
mssmikey | May 15 2007 10:14AM GMT
Look into the “netsh” command. Specifically, the “netsh interface ip set” subcommands. Run netsh in dos. it brings up a interactive prompt. type “interface” now youre in the interface sublevel. then “ip” now your in the “interface ip” level. You now can use the “show” and “set” commands. and of course your new best friend, the “help” command.
spadasoe | May 15 2007 2:41PM GMT
Assume your network interface is called wired. The following can be used to configure various settings. They are for the most part self-explanatory:
netsh interface ip set address name="Wired” gateway=10.10.1.2 gwmetric=1
netsh interface ip set address wired static 10.10.1.127 255.255.0.0
netsh interface ip set dns wired static 10.10.1.87
netsh interface ip add dns wired 10.10.1.86
netsh interface ip set wins wired static 10.10.1.87
netsh interface ip add wins wired 10.10.1.6
bobkberg | May 17 2007 1:01AM GMT
Maybe it’s a school question and maybe not.
I’ve been in this business for 20+ years, and I never knew that Windows had a command line addressing prompt. Linux/Unix, yes, but didn’t know Windows had added one.
So I certainly learned something useful from this question.
Bob