{"id":297,"date":"2011-03-13T20:07:51","date_gmt":"2011-03-13T17:07:51","guid":{"rendered":"http:\/\/www.held.org.il\/blog\/?p=297"},"modified":"2011-03-16T11:53:48","modified_gmt":"2011-03-16T08:53:48","slug":"perfect-dhcp-configuration-for-solaris","status":"publish","type":"post","link":"http:\/\/www.held.org.il\/blog\/2011\/03\/perfect-dhcp-configuration-for-solaris\/","title":{"rendered":"Perfect DHCP configuration for Solaris"},"content":{"rendered":"<p>I've already <a href=\"http:\/\/www.held.org.il\/blog\/2011\/01\/make-dhcp-auto-update-dynamic-dns\/\">posted<\/a> on configuring DHCP + Dynamic DNS for some operating systems.<\/p>\n<p>I still claim that that's the only way to go for dynamic, trusted networks.<\/p>\n<p>So after RedHat, Debian\/Ubuntu, Windows, it's about time to stop the IP suffering with Solaris as well:<\/p>\n<ol>\n<li>Make sure \/etc\/nodename contains the <a href=\"http:\/\/www.google.com\/url?sa=t&amp;source=web&amp;cd=1&amp;ved=0CBoQFjAA&amp;url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FFully_qualified_domain_name&amp;ei=l_l8TYToKdGHhQfAvfiABw&amp;usg=AFQjCNH57MCk4a9ZpU2SDKQ1Sbcxp-Lz8Q&amp;sig2=FUP2vwOCcSVpq08DC1Amlg\">FQDN<\/a>, e.g. \"snoopy.ac.uk\"<\/li>\n<li>touch \/etc\/dhcp.&lt;interface name&gt; . There are two peculiar parameters I'm not fully sure about their meaning (how come they're not needed in other OSes?) - but here is what I used:\n<ol>\n<li>add \"primary\" (a separate line) if it's the primary interface.<\/li>\n<li>Add \"wait &lt;seconds&gt;\" (a separate line) - I put \"wait 60\" to be on the safe side.<\/li>\n<\/ol>\n<\/li>\n<li>\/etc\/hostname.&lt;interface name&gt; should have the hostname inside. NOTE! It's the hostname dhcp client would send (Option 12) to the server for Dynamic DNS registration. According to \/etc\/defaults\/dhcpagent, the format is \"inet name\", e.g. \"inet snoopy\"<\/li>\n<\/ol>\n<p>That should be it, then. Please add your comments and corrections.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve already posted on configuring DHCP + Dynamic DNS for some operating systems. I still claim that that&#8217;s the only way to go for dynamic, trusted networks. So after RedHat, Debian\/Ubuntu, Windows, it&#8217;s about time to stop the IP suffering with Solaris as well: Make sure \/etc\/nodename contains the FQDN, e.g. &#8220;snoopy.ac.uk&#8221; touch \/etc\/dhcp.&lt;interface name&gt; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[147,33,198,108],"_links":{"self":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/posts\/297"}],"collection":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/comments?post=297"}],"version-history":[{"count":0,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/posts\/297\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/media?parent=297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/categories?post=297"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/tags?post=297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}