{"id":76,"date":"2007-09-01T15:21:25","date_gmt":"2007-09-01T23:21:25","guid":{"rendered":"http:\/\/learnbyblogging.com\/?p=76"},"modified":"2007-09-01T15:21:25","modified_gmt":"2007-09-01T23:21:25","slug":"setting-up-fixed-ip-address-on-solaris-system","status":"publish","type":"post","link":"https:\/\/learnbyblogging.com\/?p=76","title":{"rendered":"Setting up fixed IP address on Solaris system"},"content":{"rendered":"<p>Since I do Solaris system builds quite a bit, I thought I document the tips on how to set up a Solaris system to have a fixed IP address instead of DHCP:<\/p>\n<p>1) edit \/etc\/hostname.<interface> to have the hostname on the 1st line without a linefeed<br \/>\n    where the interface is the network interface, which can be found by running &#8216;ifconfig -a&#8217;<br \/>\n2) edit \/etc\/nodename to have the hostname on the 1st line without a linefeed<br \/>\n3) edit \/etc\/inet\/ipnodes to have the hostname<br \/>\n4) edit \/etc\/hosts to include the given fixed IP address and its hostname<br \/>\n5) edit \/etc\/defaultrouter to have the gateway IP address<br \/>\n6) remove or rm \/etc\/dhcp.interface<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since I do Solaris system builds quite a bit, I thought I document the tips on how to set up a Solaris system to have a fixed IP address instead of DHCP: 1) edit \/etc\/hostname. to have the hostname on the 1st line without a linefeed where the interface is the network interface, which can &hellip; <a href=\"https:\/\/learnbyblogging.com\/?p=76\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Setting up fixed IP address on Solaris system<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-76","post","type-post","status-publish","format-standard","hentry","category-tips-for-computer"],"_links":{"self":[{"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=\/wp\/v2\/posts\/76","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=76"}],"version-history":[{"count":0,"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=\/wp\/v2\/posts\/76\/revisions"}],"wp:attachment":[{"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=76"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=76"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=76"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}