{"id":223,"date":"2025-08-15T09:24:53","date_gmt":"2025-08-15T09:24:53","guid":{"rendered":"https:\/\/www.warunginter.net\/2016\/03\/cara-management-dhcp-pada-ubuntu-server.html"},"modified":"2025-08-15T09:24:53","modified_gmt":"2025-08-15T09:24:53","slug":"cara-management-dhcp-pada-ubuntu-server","status":"publish","type":"post","link":"https:\/\/flycai.warunginter.net\/?p=223","title":{"rendered":"Cara management DHCP pada Ubuntu Server"},"content":{"rendered":"<div class=\"post-body entry-content\" id=\"post-body-7591042370669691226\">\n<div class=\"post-body-artikel\">\n<div style=\"text-align: center;\">\n<span style=\"font-size: large;\"><b>Cara management DHCP pada Ubuntu Server\u00a0<\/b><\/span><\/div>\n<p>Langkah Pertama, buka Terminal lalu ketik :<\/p>\n<p># sudo su<\/p>\n<p>selanjutnya, pastikan file DHCP-Server di letakkan di Desktop, install file DHCP dengan cara masuk ke direktory, caranya sebagai berikut :<br \/>\n# cd Desktop\/<br \/>\n# cd DHCP3-Server<br \/>\n# dpkg -i *.deb<\/p>\n<p>Tunggu sampai proses install DHCP-Server selesai, di bawah ini adalah gambar yang menandakan proses install telah selesai :<\/p>\n<p><\/p>\n<div class=\"separator\" style=\"clear: both; text-align: center;\">\n<a href=\"https:\/\/flycai.warunginter.net\/wp-content\/uploads\/2026\/06\/13_1.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"297\" src=\"https:\/\/flycai.warunginter.net\/wp-content\/uploads\/2026\/06\/13_1.png\" width=\"400\"\/><\/a><\/div>\n<p>Langkah Kedua, jika langkah pertama sudah dilakukan, selanjutnya melakukan pengeditan dan menambahkan pada file &#8220;dhcpd.conf&#8221; agar berfungsi sebagai server dhcp, ketik di Terminal :<br \/>\n# cd \/etc\/dhcp3<br \/>\n# gedit dhcpd.conf<\/p>\n<p>\u00a0selanjutnya ketik seperti gambar di bawah ini :<\/p>\n<div class=\"separator\" style=\"clear: both; text-align: center;\">\n<a href=\"https:\/\/flycai.warunginter.net\/wp-content\/uploads\/2026\/06\/13_2.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"298\" src=\"https:\/\/flycai.warunginter.net\/wp-content\/uploads\/2026\/06\/13_2.png\" width=\"400\"\/><\/a><\/div>\n<p><\/p>\n<div class=\"separator\" style=\"clear: both; text-align: center;\">\n<\/div>\n<p>lalu Simpan.<\/p>\n<p>Langkah Ketiga, menentukan interface yang digunakan untuk dhcp-server, caranya ketik di Terminal :<br \/>\n# gedit \/etc\/default\/dhcp3-server<\/p>\n<p>selanjutnya tambahkan interfaces=&#8221;eth1&#8243;, untuk lebih jelasnya lihat gambar di bawah ini :<\/p>\n<p><\/p>\n<div class=\"separator\" style=\"clear: both; text-align: center;\">\n<a href=\"https:\/\/flycai.warunginter.net\/wp-content\/uploads\/2026\/06\/13_3.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"298\" src=\"https:\/\/flycai.warunginter.net\/wp-content\/uploads\/2026\/06\/13_3.png\" width=\"400\"\/><\/a><\/div>\n<p>lalu simpan.<\/p>\n<p>Langkah Keempat, merestart sevice dhcp-server, ketik di Terminal :<br \/>\n# \/etc\/init.d\/dhcp3-server restart<\/p>\n<p>Langkah Kelima, kofigurasi client DHCP<br \/>\n\u2022<span class=\"Apple-tab-span\" style=\"white-space: pre;\"> <\/span>Buka Windows, klik Control Panel.<\/p>\n<div class=\"separator\" style=\"clear: both; text-align: center;\">\n<\/div>\n<div class=\"separator\" style=\"clear: both; text-align: center;\">\n<a href=\"https:\/\/flycai.warunginter.net\/wp-content\/uploads\/2026\/06\/13_4.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"300\" src=\"https:\/\/flycai.warunginter.net\/wp-content\/uploads\/2026\/06\/13_4.png\" width=\"400\"\/><\/a><\/div>\n<p>\u2022<span class=\"Apple-tab-span\" style=\"white-space: pre;\"> <\/span>Klik Network and Internet Connections.<\/p>\n<div class=\"separator\" style=\"clear: both; text-align: center;\">\n<a href=\"https:\/\/flycai.warunginter.net\/wp-content\/uploads\/2026\/06\/13_5.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"300\" src=\"https:\/\/flycai.warunginter.net\/wp-content\/uploads\/2026\/06\/13_5.png\" width=\"400\"\/><\/a><\/div>\n<p>\u2022<span class=\"Apple-tab-span\" style=\"white-space: pre;\"> <\/span>Klik Network Connections.<\/p>\n<div class=\"separator\" style=\"clear: both; text-align: center;\">\n<a href=\"https:\/\/flycai.warunginter.net\/wp-content\/uploads\/2026\/06\/13_6.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"298\" src=\"https:\/\/flycai.warunginter.net\/wp-content\/uploads\/2026\/06\/13_6.png\" width=\"400\"\/><\/a><\/div>\n<p>\u2022<span class=\"Apple-tab-span\" style=\"white-space: pre;\"> <\/span>Lalu klik kanan Icon Local Area Connections, pilih Properties.<\/p>\n<div class=\"separator\" style=\"clear: both; text-align: center;\">\n<a href=\"https:\/\/flycai.warunginter.net\/wp-content\/uploads\/2026\/06\/13_7.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"301\" src=\"https:\/\/flycai.warunginter.net\/wp-content\/uploads\/2026\/06\/13_7.png\" width=\"400\"\/><\/a><\/div>\n<p>\u2022<span class=\"Apple-tab-span\" style=\"white-space: pre;\"> <\/span>Pilih Internet Protocol (TCP\/IP), lalu klik Properties.<\/p>\n<div class=\"separator\" style=\"clear: both; text-align: center;\">\n<a href=\"https:\/\/flycai.warunginter.net\/wp-content\/uploads\/2026\/06\/13_8.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"298\" src=\"https:\/\/flycai.warunginter.net\/wp-content\/uploads\/2026\/06\/13_8.png\" width=\"400\"\/><\/a><\/div>\n<p>\u2022<span class=\"Apple-tab-span\" style=\"white-space: pre;\"> <\/span>Pada Tab General, pilih Obtain an IP address automatically dan Obtain DNS server address automatically, lalu OK.<\/p>\n<div class=\"separator\" style=\"clear: both; text-align: center;\">\n<a href=\"https:\/\/flycai.warunginter.net\/wp-content\/uploads\/2026\/06\/13_9.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"298\" src=\"https:\/\/flycai.warunginter.net\/wp-content\/uploads\/2026\/06\/13_9.png\" width=\"400\"\/><\/a><\/div>\n<p>\u2022<span class=\"Apple-tab-span\" style=\"white-space: pre;\"> <\/span>Di bawah ini adalah gambar bahwa client server sudah di konfigurasi, lihat pada Network Connections Details :<\/p>\n<div class=\"separator\" style=\"clear: both; text-align: center;\">\n<a href=\"https:\/\/flycai.warunginter.net\/wp-content\/uploads\/2026\/06\/13_10.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"300\" src=\"https:\/\/flycai.warunginter.net\/wp-content\/uploads\/2026\/06\/13_10.png\" width=\"400\"\/><\/a><\/div>\n<div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Cara management DHCP pada Ubuntu Server\u00a0 Langkah Pertama, buka Terminal lalu ketik : # sudo su selanjutnya, pastikan file DHCP-Server di letakkan di Desktop, install file DHCP dengan cara masuk&#8230; <a class=\"read-more-link\" href=\"https:\/\/flycai.warunginter.net\/?p=223\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":1981,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[75],"tags":[],"class_list":["post-223","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/flycai.warunginter.net\/index.php?rest_route=\/wp\/v2\/posts\/223","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/flycai.warunginter.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/flycai.warunginter.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/flycai.warunginter.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/flycai.warunginter.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=223"}],"version-history":[{"count":1,"href":"https:\/\/flycai.warunginter.net\/index.php?rest_route=\/wp\/v2\/posts\/223\/revisions"}],"predecessor-version":[{"id":1819,"href":"https:\/\/flycai.warunginter.net\/index.php?rest_route=\/wp\/v2\/posts\/223\/revisions\/1819"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/flycai.warunginter.net\/index.php?rest_route=\/wp\/v2\/media\/1981"}],"wp:attachment":[{"href":"https:\/\/flycai.warunginter.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/flycai.warunginter.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/flycai.warunginter.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}