- Back to Home »
- Setting IP Di Windows menggunakan CMD
Posted by : test
Selasa, 31 Desember 2013
Setting IP dan DNS secara Static
Kita akan memasukan data-data IP, misal:
IP Address : 192.168.0.2
Subnet mask : 255.255.255.0
Default gateway : 192.168.0.1
ketikan perintah di command prompt:
netsh interface ip set address name=”Local Area Connection” static 192.168.0.2 255.255.255.0 192.168.0.1
Tekan Enter
Untuk Setting DNS, kita akan setting dengan data DNS missal:
Primary/Prefered DNS : 8.8.8.8
Kita ketikan perintah:
netsh interface ip set dns name=”Local Area Connection” static 8.8.8.8
Tekan Enter
Setting IP dan DNS secara Automatic
Kita lansung saja ketikan perintah:
netsh interface ip set address name=”Local Area Connection” source=dhcp
Tekan [Enter]
netsh interface ip set dnsservers name=”Local Area Connection” source=dhcp
Tekan [Enter]
Kita akan memasukan data-data IP, misal:
IP Address : 192.168.0.2
Subnet mask : 255.255.255.0
Default gateway : 192.168.0.1
ketikan perintah di command prompt:
netsh interface ip set address name=”Local Area Connection” static 192.168.0.2 255.255.255.0 192.168.0.1
Tekan Enter
Untuk Setting DNS, kita akan setting dengan data DNS missal:
Primary/Prefered DNS : 8.8.8.8
Kita ketikan perintah:
netsh interface ip set dns name=”Local Area Connection” static 8.8.8.8
Tekan Enter
Setting IP dan DNS secara Automatic
Kita lansung saja ketikan perintah:
netsh interface ip set address name=”Local Area Connection” source=dhcp
Tekan [Enter]
netsh interface ip set dnsservers name=”Local Area Connection” source=dhcp
Tekan [Enter]