NETSH IS VERY USEFULL COMMAND FOR CONFIGUIRING NETWORK RELATED SETTINGS ON THE WINDOWS SERVERS/PCS.WITH THE WINDOWS SERVER CORE EDITION ITS GREAT TOOL.

1 

WE CAN SIMPLE OPEN CMD WITH RUNAS ADMIN PROFILE.THEN TYPE NETSH FOR ENTERING NETSH MODULE

 

2

NOW IM GOING TO ADD IP ADDRESS TO MY NETWORK CONNECTION( I HAVE RENAMED MY LOCAL AREA CONNECTION TO LAN) THROUGH THE NETSH.THEREFORE ON THE NETWH MODULE WE HAVE TO TYPE INT OR INTERFACE.THEN I HAVE TO TYPE IPV4(IF YOU WANT YOU CAN ADD IPV6 JUST TYPING IPV6 EX-NETSH INTERFACE>IPV6

3

add addresses

IHAVE ADDED 192.168.1.100 TO MY NETWORK CONNECTION “lan”.IN YOU PC YOU HAVE TO REPLACE THE “LAN” with your network connection name(“local area connection", "Wired Ethernet connection”).

add-dnsservers

USING ADD DNSERVER I HAVE ADDED THE DNS SERVER IP ADDRESS TO MY LAN.USING SAME WAY YOU CAN ADD THE GATEWAY TO THE YOUR NETWORK CONNECTION

add-route

USING ADD ROUTE WE CAN ADD STATIC ROUTE FOR OUR SERVER/PC.THIS IS ALMOST SAME AS COMMAND “ADD ROUTE”.

WE CAN ALSO ADD PROXY SERVER IP ADDRESS THROUGH THE NETSH.THERFORE FIRST GO TO THE NETSH> MODULE AND JUST TYPE WINHTTP.THIS WILL HELP YOU TO CONFIURE PROXY SERVER ON YOUR SERVER CORE EDITION

winhttp

set-proxy

HERE I HAVE ADDED PROXY SERVER ADDRESS WITH PROXY BYPASS LIST.(THIS LIST SHOULD SEPERATED BY COMMAS AS MY EXAMPLE.

Advertisements