Blogs of Electro and Information Technology
this is my second home, Feel Free To Explore~
Shortcut windows powershell dan Network and sharing Windows
Untuk windows powershell
klik start+r , ketik powershell dan enter
untuk pengaturan ip, network.
klik start+r, ketik control.exe /name microsoft.networkandsharingcenter
men set ip dan dns dengan command line
The IP address of your computer can be set from the command prompt by running the following commands at an administrative level prompt:
netsh interface ip set address name="Local Area Connection" static 18.104.22.168 255.255.255.0 22.214.171.124 1
Local Area Connection is the name of the adapter you want to modify. In single NIC systems it is normally called Local Area Connection.
126.96.36.199 is the IP address you want to set.
255.255.255.0 is the subnet mask.
188.8.131.52 is the gateway.
1 is the gateway metric. You can leave this as 1 for almost all cases.
If you want to enable DHCP you can run:
netsh interface ip set address name="Local Area Connection" dhcp
There are two commands for DNS since administrators typically configure a primary and secondary DNS server.
For the primary DNS run:
netsh interface ip set dns name="Local Area Connection" static 184.108.40.206
For the secondary run:
netsh interface ip add dns name="Local Area Connection" 220.127.116.11 index=2
If you want to configure the computer to use DNS from DHCP run:
netsh interface ip set dnsservers name="Local Area Connection" source=dhcp
When you are finished with all of your IP and DNS changes run ipconfig -all to review the new settings.
March 24, 2015
Post a Comment
have a question, just spill it :D
Post Comments (Atom)