{"id":794,"date":"2010-02-25T11:17:02","date_gmt":"2010-02-25T16:17:02","guid":{"rendered":"http:\/\/www.gamescheat.ca\/?p=794"},"modified":"2019-09-04T19:57:39","modified_gmt":"2019-09-05T00:57:39","slug":"how-to-change-the-ip-address-in-solaris-10","status":"publish","type":"post","link":"http:\/\/www.gamescheat.ca\/?p=794","title":{"rendered":"How to change the IP address in Solaris 10"},"content":{"rendered":"<p>Here is a list of files that you need to edit when changing the IP address of an interface in Solaris 10.<br \/>\n\/etc\/hosts<br \/>\n\/etc\/hostname.interface-name<br \/>\n\/etc\/nodename<br \/>\n\/etc\/defaultrouter<br \/>\n\/etc\/resolv.conf<br \/>\n\/etc\/netmasks<\/p>\n<div style=\"float: left;\"><div style=\"margin: 15px 15px 15px 15px\";><script type=\"text\/javascript\"><!--\ngoogle_ad_client = \"pub-3319935785736004\";\ngoogle_alternate_color = \"FFFFFF\";\ngoogle_ad_width = 300;\ngoogle_ad_height = 250;\ngoogle_ad_format = \"300x250_as\";\ngoogle_ad_type = \"text_image\";\ngoogle_ad_channel =\"\";\ngoogle_color_border = \"cccccc\";\ngoogle_color_link = \"cc0000\";\ngoogle_color_bg = \"ffffff\";\ngoogle_color_text = \"000000\";\ngoogle_color_url = \"008000\";\n\/\/--><\/script>\n<script type=\"text\/javascript\"\n  src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\n<\/script><\/div><\/div><p>Add the ip address and server name to the host file.<\/p>\n<blockquote><p>vi \/etc\/hosts<br \/>\n10.0.0.10 server-name<\/p><\/blockquote>\n<p>Select the interface you want, your server may have more than one network interfaces.<\/p>\n<blockquote><p>vi \/etc\/hostname.bge0<br \/>\n10.0.0.10 netmask 255.255.255.0<\/p><\/blockquote>\n<p>Change the node name<\/p>\n<blockquote><p>vi \/etc\/nodename<br \/>\nserver-name<\/p><\/blockquote>\n<p>Add the gateway ip address<\/p>\n<blockquote><p>vi \/etc\/defaultrouter<br \/>\n10.0.0.1<\/p><\/blockquote>\n<p>Add the DNS servers ip addresses<\/p>\n<blockquote><p>vi \/etc\/resolv.conf<br \/>\nnameserver 168.20.0.10<br \/>\nnameserver 168.20.10.22<\/p><\/blockquote>\n<p>Add the network address<\/p>\n<blockquote><p>vi \/etc\/netmasks<br \/>\n10.0.0.0 255.255.255.0<\/p><\/blockquote>\n<p>Now reboot the server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is a list of files that you need to edit when changing the IP address of an interface in Solaris 10. \/etc\/hosts \/etc\/hostname.interface-name \/etc\/nodename \/etc\/defaultrouter \/etc\/resolv.conf \/etc\/netmasks Add the ip address and server name to the host file. vi&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"http:\/\/www.gamescheat.ca\/?p=794\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[19],"tags":[33,64],"_links":{"self":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/794"}],"collection":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=794"}],"version-history":[{"count":1,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/794\/revisions"}],"predecessor-version":[{"id":795,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/794\/revisions\/795"}],"wp:attachment":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=794"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}