{"id":1022,"date":"2010-12-05T03:13:13","date_gmt":"2010-12-04T20:13:13","guid":{"rendered":"http:\/\/webmediacenter.com\/?p=1022"},"modified":"2021-03-26T14:37:32","modified_gmt":"2021-03-26T07:37:32","slug":"konfigurasi-ip-melalui-command-prompt-windows","status":"publish","type":"post","link":"https:\/\/sample.webmediacenter.com\/index.php\/2010\/12\/05\/konfigurasi-ip-melalui-command-prompt-windows\/","title":{"rendered":"Konfigurasi IP Melalui Command Prompt Windows"},"content":{"rendered":"<p>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.<br \/>\n<!--more--><\/p>\n<p>Untuk melakukan konfigurasi melalui command prompt ikuti tahap2 berikut :<\/p>\n<p>1. Masuklah ke dalam mode command prompt.<br \/>\n2. Ketikkan <strong>netsh<\/strong><br \/>\n3. Lalu ketikkan perintah :<\/p>\n<blockquote><p>untuk ip address static :<br \/>\n<code>interface ip set address name=\"[nama perangkat]\" static [ip.add.res.s] [dn.s.ser.ver] [ga.te.wa.y]<\/code><br \/>\nlalu tekan [enter]<br \/>\natau untuk ip address dynamic :<br \/>\n<code>interface ip set address name=\"[nama perangkat]\" dhcp<\/code><br \/>\nlalu tekan [enter]<\/p><\/blockquote>\n<p>4. selesai \ud83d\ude00<\/p>\n<p>Contoh :<\/p>\n<p><code><a href=\"http:\/\/myman03.wordpress.com\">saia<\/a> akan merubah untuk konfigurasi sebagai berikut :<br \/>\nIP Address : 55.55.55.99<br \/>\nDNS Server : 255.255.255.0<br \/>\nGateway    : 55.55.55.10<\/code><\/p>\n<p>Pertama-tama <a href=\"http:\/\/myman03.wordpress.com\">saia<\/a> akan coba memeriksa IP Address <a href=\"http:\/\/myman03.wordpress.com\">saia<\/a> yang sebelumnya<\/p>\n<blockquote><p><code>C:\\Windows\\system32&gt;ipconfig<br \/>\nWindows IP Configuration<br \/>\nEthernet adapter Local Area Connection:<br \/>\nConnection-specific DNS Suffix  . :<br \/>\nIPv4 Address. . . . . . . . . . . : 55.55.55.55<br \/>\nSubnet Mask . . . . . . . . . . . : 255.255.255.0<br \/>\nDefault Gateway . . . . . . . . . : 55.55.55.10<\/code><\/p><\/blockquote>\n<p>Oke, kita mulai :<br \/>\n1. Berangkat ke command prompt dengan cara : <strong>Klik Start -&gt; Run -&gt; cmd -&gt; [enter]<\/strong><br \/>\n2. Ketik <strong>netsh<\/strong><br \/>\n3. Lalu ketikkan perintah :<\/p>\n<blockquote><p><code>Interface ip set address name=\u201dLocal Area Connection\u201d static 55.55.55.99 255.255.255.0 55.55.55.10<\/code><\/p><\/blockquote>\n<p><a href=\"http:\/\/myman03.files.wordpress.com\/2010\/12\/2-netsh.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/myman03.files.wordpress.com\/2010\/12\/2-netsh.png?w=300\" alt=\"\" width=\"300\" height=\"46\" \/><\/a><\/p>\n<p>4. Selesai. Kita cek IP lagi<\/p>\n<blockquote><p><code>Windows IP Configuration<br \/>\nEthernet adapter Local Area Connection:<br \/>\nConnection-specific DNS Suffix  . :<br \/>\nIPv4 Address. . . . . . . . . . . : 55.55.55.99<br \/>\nSubnet Mask . . . . . . . . . . . : 255.255.255.0<br \/>\nDefault Gateway . . . . . . . . . : 55.55.55.10<\/code><\/p><\/blockquote>\n<p>berhasil&#8230; mudah bukan ? Dan cara di atas bisa di persingkat dengan langsung mengetikkan perintah berikut di command prompt :<\/p>\n<blockquote><p><code>Netsh interface ip set address name=\u201dLocal Area Connection\u201d static 55.55.55.99 255.255.255.0 55.55.55.10<\/code><\/p><\/blockquote>\n<p><a href=\"http:\/\/myman03.files.wordpress.com\/2010\/12\/4-carcep.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/myman03.files.wordpress.com\/2010\/12\/4-carcep.png?w=300\" alt=\"\" width=\"300\" height=\"40\" \/><\/a><\/p>\n<p>netsh jg dapat digunakan untuk konfigurasi-konfigurasi network yang lain, berikut merupakan perintah-perintah yang dapat dikombinasikan dengan netsh :<\/p>\n<blockquote><p><code>netsh&gt;help<\/code><\/p>\n<p><code>The following commands are available:<\/code><\/p>\n<p><code>Commands in this context:<br \/>\n..             - Goes up one context level.<br \/>\n?              - Displays a list of commands.<br \/>\nabort          - Discards changes made while in offline mode.<br \/>\nadd            - Adds a configuration entry to a list of entries.<br \/>\nadvfirewall    - Changes to the `netsh advfirewall' context.<br \/>\nalias          - Adds an alias.<br \/>\nbranchcache    - Changes to the `netsh branchcache' context.<br \/>\nbridge         - Changes to the `netsh bridge' context.<br \/>\nbye            - Exits the program.<br \/>\ncommit         - Commits changes made while in offline mode.<br \/>\ndelete         - Deletes a configuration entry from a list of entries.<br \/>\ndhcpclient     - Changes to the `netsh dhcpclient' context.<br \/>\ndnsclient      - Changes to the `netsh dnsclient' context.<br \/>\ndump           - Displays a configuration script.<br \/>\nexec           - Runs a script file.<br \/>\nexit           - Exits the program.<br \/>\nfirewall       - Changes to the `netsh firewall' context.<br \/>\nhelp           - Displays a list of commands.<br \/>\nhttp           - Changes to the `netsh http' context.<br \/>\ninterface      - Changes to the `netsh interface' context.<br \/>\nipsec          - Changes to the `netsh ipsec' context.<br \/>\nlan            - Changes to the `netsh lan' context.<br \/>\nmbn            - Changes to the `netsh mbn' context.<br \/>\nnamespace      - Changes to the `netsh namespace' context.<br \/>\nnap            - Changes to the `netsh nap' context.<br \/>\nnetio          - Changes to the `netsh netio' context.<br \/>\noffline        - Sets the current mode to offline.<br \/>\nonline         - Sets the current mode to online.<br \/>\np2p            - Changes to the `netsh p2p' context.<br \/>\npopd           - Pops a context from the stack.<br \/>\npushd          - Pushes current context on stack.<br \/>\nquit           - Exits the program.<br \/>\nras            - Changes to the `netsh ras' context.<br \/>\nrpc            - Changes to the `netsh rpc' context.<br \/>\nset            - Updates configuration settings.<br \/>\nshow           - Displays information.<br \/>\ntrace          - Changes to the `netsh trace' context.<br \/>\nunalias        - Deletes an alias.<br \/>\nwcn            - Changes to the `netsh wcn' context.<br \/>\nwfp            - Changes to the `netsh wfp' context.<br \/>\nwinhttp        - Changes to the `netsh winhttp' context.<br \/>\nwinsock        - Changes to the `netsh winsock' context.<br \/>\nwlan           - Changes to the `netsh wlan' context.<\/code><\/p><\/blockquote>\n<p>Semoga bermanfaat,<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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.<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-1022","post","type-post","status-publish","format-standard","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/sample.webmediacenter.com\/index.php\/wp-json\/wp\/v2\/posts\/1022","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sample.webmediacenter.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sample.webmediacenter.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sample.webmediacenter.com\/index.php\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/sample.webmediacenter.com\/index.php\/wp-json\/wp\/v2\/comments?post=1022"}],"version-history":[{"count":0,"href":"https:\/\/sample.webmediacenter.com\/index.php\/wp-json\/wp\/v2\/posts\/1022\/revisions"}],"wp:attachment":[{"href":"https:\/\/sample.webmediacenter.com\/index.php\/wp-json\/wp\/v2\/media?parent=1022"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sample.webmediacenter.com\/index.php\/wp-json\/wp\/v2\/categories?post=1022"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sample.webmediacenter.com\/index.php\/wp-json\/wp\/v2\/tags?post=1022"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}