Konfigurasi IP melalui command prompt Windows

Merubah IP address dalam mode GUI mungkin sudah biasa dan terlalu mudah untuk anda. Akan tetapi, pada kasus-kasus tertentu mungkin kita akan sangat memerlukan metode konfigurasi via command prompt ini.

Untuk melakukan konfigurasi melalui command prompt ikuti tahap2 berikut :

1. Masuklah ke dalam mode command prompt.
2. Ketikkan netsh
3. Lalu ketikkan perintah :

untuk ip address static :
interface ip set address name="[nama perangkat]" static [ip.add.res.s] [dn.s.ser.ver] [ga.te.wa.y]
lalu tekan [enter]
atau untuk ip address dynamic :
interface ip set address name="[nama perangkat]" dhcp
lalu tekan [enter]

4. selesai 😀

Contoh :

saia akan merubah untuk konfigurasi sebagai berikut :<br />
IP Address : 55.55.55.99<br />
DNS Server : 255.255.255.0<br />
Gateway : 55.55.55.10

Pertama-tama saia akan coba memeriksa IP Address saia yang sebelumnya

C:\Windows\system32&gt;ipconfig<br />
Windows IP Configuration<br />
Ethernet adapter Local Area Connection:<br />
Connection-specific DNS Suffix . :<br />
IPv4 Address. . . . . . . . . . . : 55.55.55.55<br />
Subnet Mask . . . . . . . . . . . : 255.255.255.0<br />
Default Gateway . . . . . . . . . : 55.55.55.10

Oke, kita mulai :
1. Berangkat ke command prompt dengan cara : Klik Start -> Run -> cmd -> [enter]
2. Ketik netsh
3. Lalu ketikkan perintah :

Interface ip set address name=”Local Area Connection” static 55.55.55.99 255.255.255.0 55.55.55.10

4. Selesai. Kita cek IP lagi

Windows IP Configuration<br />
Ethernet adapter Local Area Connection:<br />
Connection-specific DNS Suffix . :<br />
IPv4 Address. . . . . . . . . . . : 55.55.55.99<br />
Subnet Mask . . . . . . . . . . . : 255.255.255.0<br />
Default Gateway . . . . . . . . . : 55.55.55.10

berhasil… mudah bukan ? Dan cara di atas bisa di persingkat dengan langsung mengetikkan perintah berikut di command prompt :

Netsh interface ip set address name=”Local Area Connection” static 55.55.55.99 255.255.255.0 55.55.55.10

netsh jg dapat digunakan untuk konfigurasi-konfigurasi network yang lain, berikut merupakan perintah-perintah yang dapat dikombinasikan dengan netsh :

netsh&gt;help

The following commands are available:

Commands in this context:<br />
.. - Goes up one context level.<br />
? - Displays a list of commands.<br />
abort - Discards changes made while in offline mode.<br />
add - Adds a configuration entry to a list of entries.<br />
advfirewall - Changes to the `netsh advfirewall' context.<br />
alias - Adds an alias.<br />
branchcache - Changes to the `netsh branchcache' context.<br />
bridge - Changes to the `netsh bridge' context.<br />
bye - Exits the program.<br />
commit - Commits changes made while in offline mode.<br />
delete - Deletes a configuration entry from a list of entries.<br />
dhcpclient - Changes to the `netsh dhcpclient' context.<br />
dnsclient - Changes to the `netsh dnsclient' context.<br />
dump - Displays a configuration script.<br />
exec - Runs a script file.<br />
exit - Exits the program.<br />
firewall - Changes to the `netsh firewall' context.<br />
help - Displays a list of commands.<br />
http - Changes to the `netsh http' context.<br />
interface - Changes to the `netsh interface' context.<br />
ipsec - Changes to the `netsh ipsec' context.<br />
lan - Changes to the `netsh lan' context.<br />
mbn - Changes to the `netsh mbn' context.<br />
namespace - Changes to the `netsh namespace' context.<br />
nap - Changes to the `netsh nap' context.<br />
netio - Changes to the `netsh netio' context.<br />
offline - Sets the current mode to offline.<br />
online - Sets the current mode to online.<br />
p2p - Changes to the `netsh p2p' context.<br />
popd - Pops a context from the stack.<br />
pushd - Pushes current context on stack.<br />
quit - Exits the program.<br />
ras - Changes to the `netsh ras' context.<br />
rpc - Changes to the `netsh rpc' context.<br />
set - Updates configuration settings.<br />
show - Displays information.<br />
trace - Changes to the `netsh trace' context.<br />
unalias - Deletes an alias.<br />
wcn - Changes to the `netsh wcn' context.<br />
wfp - Changes to the `netsh wfp' context.<br />
winhttp - Changes to the `netsh winhttp' context.<br />
winsock - Changes to the `netsh winsock' context.<br />
wlan - Changes to the `netsh wlan' context.

Semoga bermanfaat,

Leave a Reply

Your email address will not be published. Required fields are marked *

Added by on December 5, 2010
Saved under Tutorial
Tags:
Praktek Kerja Industri Plus

WORKSHOP MIKROTIK DI SMK N 1 SIMPANG ULIM-ACEH

Webmedia say Hello to Aceh !! ^_^ Selama ini SMK Negeri 1 Simpang Ulim Aceh sering mengirim beberapa siswa-siswa mereka untuk prakerin ke Webmedia Training Center. Mereka belajar, diberikan pelatihan, Workshop-workshop dan banyak pengalaman yang mereka dapat baik itu dari praktik-praktik di Webmedia ataupun project di luar Webmedia. Tapi kali ini Webmedia berkesempatan main ke […]