Show TCP/IP setting | netsh interface ip show config |
Configure static IP | netsh interface ip set address name="Local Area Connection" static 10.21.11.81 255.0.0.0 10.21.11.254 1 |
Configure DHCP client | netsh interface ip set address "Local Area Connection" dhcp |
Configure DNS setting | netsh interface ip set dns "Local Area Connection" static 202.188.0.133 |
Configure DNS setting 2 | netsh interface ip add dns "Local Area Connection" 202.188.1.5 index=2 |
Configure DNS by DHCP | netsh interface ip set dns "Local Area Connection" dhcp |
Configure WINS setting | netsh interface ip set wins "Local Area Connection" static 192.168.0.200 |
http://www.petri.co.il/configure_tcp_ip_from_cmd.htm
No comments:
Post a Comment