{"id":298,"date":"2009-06-06T03:10:07","date_gmt":"2009-06-06T06:10:07","guid":{"rendered":"http:\/\/wordpress.matbra.com\/?p=298"},"modified":"2010-07-25T21:38:27","modified_gmt":"2010-07-26T00:38:27","slug":"instalar-e-configurar-servidor-dhcp","status":"publish","type":"post","link":"https:\/\/wordpress.matbra.com\/en\/2009\/06\/06\/instalar-e-configurar-servidor-dhcp\/","title":{"rendered":"Install and Configure DHCP server in Ubuntu"},"content":{"rendered":"<p>Good night,<\/p>\n<p>If you want to install DHCP server in Ubuntu, use<\/p>\n<p>$ sudo apt-get install dhcp3-server<\/p>\n<p>And then edit \/etc\/dhcp3\/dhcpd.conf I commented all lines and add this ones: <\/p>\n<blockquote><p>\nINTERFACES=&#8221;eth1&#8243;; # INTERFACE CONECATADA AO MEU ROTEADOR<br \/>\nddns-update-style none;<br \/>\ndefault-lease-time 600;<br \/>\nmax-lease-time 7200;<br \/>\nauthoritative; # DHCP PRINCIPAL DA REDE<\/p>\n<p>subnet 192.168.0.0 netmask 255.255.255.0 {<br \/>\n        range 192.168.0.100 192.168.0.150; # FAIXA DE IPS A SER DISTRIBUIDA<br \/>\n        option routers 192.168.0.254; # GATEWAY<br \/>\n        option domain-name-servers 200.247.141.11; # SERVIDOR DNS<br \/>\n        option subnet-mask 255.255.255.0; # MASCARA DE SUBREDE<br \/>\n        option broadcast-address 192.168.0.255; # ENDERE\u00c7O DE BROADCAST<br \/>\n        default-lease-time 600;<br \/>\n        max-lease-time 7200;<br \/>\n}\n<\/p><\/blockquote>\n<p>Restart eh DHCP server: <\/p>\n<p>$ sudo \/etc\/init.d\/dhcp3-server restart  <\/p>\n<p>See you,<br \/>\nMatheus<\/p>\n<p>Reference:<br \/>\n<a href=\"http:\/\/www.google.com.br\/search?q=dhcp+server+ubuntu&#038;ie=utf-8&#038;oe=utf-8&#038;aq=t&#038;rls=com.ubuntu:en-US:unofficial&#038;client=firefox-a\">Google + DHCP SERVER UBUNTU<\/a><br \/>\n<\/p>","protected":false},"excerpt":{"rendered":"<p>Good night, If you want to install DHCP server in Ubuntu, use $ sudo apt-get install dhcp3-server And then edit \/etc\/dhcp3\/dhcpd.conf I commented all lines&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/wordpress.matbra.com\/en\/2009\/06\/06\/instalar-e-configurar-servidor-dhcp\/\">Continue reading<span class=\"screen-reader-text\">Install and Configure DHCP server in Ubuntu<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[7,34],"tags":[50,122,319,123],"class_list":["post-298","post","type-post","status-publish","format-standard","hentry","category-aprendendo","category-linux","tag-configuracao","tag-dhcp","tag-linux","tag-server","entry"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/psjGE-4O","_links":{"self":[{"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/posts\/298","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/comments?post=298"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/posts\/298\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/media?parent=298"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/categories?post=298"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/tags?post=298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}