{"id":773,"date":"2012-03-29T23:26:38","date_gmt":"2012-03-29T15:26:38","guid":{"rendered":"https:\/\/umarzuki.org\/blogku\/?p=773"},"modified":"2012-03-29T23:26:38","modified_gmt":"2012-03-29T15:26:38","slug":"ip-statik","status":"publish","type":"post","link":"https:\/\/umarzuki.org\/blog\/2012\/03\/29\/ip-statik\/","title":{"rendered":"IP Statik"},"content":{"rendered":"<ol>\n<li>Sebagai pengguna root, pasang resolvconf<br \/>\n<code># apt-get install resolvconf<\/code><\/li>\n<li>Periksa port yang ada<br \/>\n<code># ifconfig -a<br \/>\neth1      Link encap:Ethernet  HWaddr 00:0c:29:47:ac:f0<br \/>\n          inet addr:172.16.234.100  Bcast:172.16.234.255  Mask:255.255.255.0<br \/>\n          inet6 addr: fe80::20c:29ff:fe47:acf0\/64 Scope:Link<br \/>\n          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br \/>\n          RX packets:4498 errors:0 dropped:0 overruns:0 frame:0<br \/>\n          TX packets:3871 errors:0 dropped:0 overruns:0 carrier:0<br \/>\n          collisions:0 txqueuelen:1000<br \/>\n          RX bytes:503062 (503.0 KB)  TX bytes:477625 (477.6 KB)<\/p>\n<p>lo        Link encap:Local Loopback<br \/>\n          inet addr:127.0.0.1  Mask:255.0.0.0<br \/>\n          inet6 addr: ::1\/128 Scope:Host<br \/>\n          UP LOOPBACK RUNNING  MTU:16436  Metric:1<br \/>\n          RX packets:123 errors:0 dropped:0 overruns:0 frame:0<br \/>\n          TX packets:123 errors:0 dropped:0 overruns:0 carrier:0<br \/>\n          collisions:0 txqueuelen:0<br \/>\n          RX bytes:11554 (11.5 KB)  TX bytes:11554 (11.5 KB)<\/code><\/li>\n<li>Biasanya port RJ45 bermula dengan eth. Guna mii-tool untuk memeriksa sambungan<br \/>\n<code># mii-tool eth1<br \/>\neth1: negotiated 1000baseT-FD flow-control, link ok<\/code><\/li>\n<li>Edit \/etc\/network\/interfaces<br \/>\n[code lang=&#8221;plain&#8221;]auto lo<br \/>\niface lo inet loopback<\/p>\n<p>auto eth1<br \/>\niface eth1 inet static<br \/>\n address 172.16.234.100<br \/>\n netmask 255.255.255.0<br \/>\n gateway 172.16.234.1<br \/>\n dns-nameservers 8.8.8.8[\/code]<\/li>\n<li>Mulakan semula servis rangkaian<br \/>\n<code># \/etc\/init.d\/networking restart<\/code><\/li>\n","protected":false},"excerpt":{"rendered":"<p>Sebagai pengguna root, pasang resolvconf # apt-get install resolvconf Periksa port yang ada # ifconfig -a eth1 Link encap:Ethernet HWaddr 00:0c:29:47:ac:f0 inet addr:172.16.234.100 Bcast:172.16.234.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fe47:acf0\/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4498 errors:0 dropped:0 overruns:0 frame:0 TX packets:3871 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:503062 (503.0 KB) TX bytes:477625 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,97],"tags":[227,18,228],"class_list":["post-773","post","type-post","status-publish","format-standard","hentry","category-linux","category-rangkaian","tag-config","tag-debian","tag-network"],"_links":{"self":[{"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/posts\/773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/comments?post=773"}],"version-history":[{"count":0,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/posts\/773\/revisions"}],"wp:attachment":[{"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/media?parent=773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/categories?post=773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/tags?post=773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}