<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Best way to change hostname &amp;amp; ip address in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-change-hostname-amp-ip-address/m-p/2587664#M592736</link>
    <description>Hello,&lt;BR /&gt;HP-UX 11.0, N4000&lt;BR /&gt;I'm going to replace our old N4000 with a new one. The new one is configured, tested and ready all is left to do is change the ip address/hostname so that users start logging in the new N4000. What (and why) would be the best method to do this?&lt;BR /&gt;&lt;BR /&gt;a) "/sbin/set_parms initial" and reboot.&lt;BR /&gt;&lt;BR /&gt;b) edit the /etc/rc.config.d/netconf file and change the appropiate parameters and then reboot.&lt;BR /&gt;&lt;BR /&gt;c) Is there any other way?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;Luis</description>
    <pubDate>Mon, 01 Oct 2001 17:54:49 GMT</pubDate>
    <dc:creator>thewho?</dc:creator>
    <dc:date>2001-10-01T17:54:49Z</dc:date>
    <item>
      <title>Best way to change hostname &amp; ip address</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-change-hostname-amp-ip-address/m-p/2587664#M592736</link>
      <description>Hello,&lt;BR /&gt;HP-UX 11.0, N4000&lt;BR /&gt;I'm going to replace our old N4000 with a new one. The new one is configured, tested and ready all is left to do is change the ip address/hostname so that users start logging in the new N4000. What (and why) would be the best method to do this?&lt;BR /&gt;&lt;BR /&gt;a) "/sbin/set_parms initial" and reboot.&lt;BR /&gt;&lt;BR /&gt;b) edit the /etc/rc.config.d/netconf file and change the appropiate parameters and then reboot.&lt;BR /&gt;&lt;BR /&gt;c) Is there any other way?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;Luis</description>
      <pubDate>Mon, 01 Oct 2001 17:54:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-change-hostname-amp-ip-address/m-p/2587664#M592736</guid>
      <dc:creator>thewho?</dc:creator>
      <dc:date>2001-10-01T17:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to change hostname &amp; ip address</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-change-hostname-amp-ip-address/m-p/2587665#M592737</link>
      <description>Hi Luis,&lt;BR /&gt;&lt;BR /&gt;"/sbin/set_parms initial" should do the job you want. You can manully edit /etc/rc.config.d/netconf for other information or you can do that thru sam --&amp;gt; networking and communication.&lt;BR /&gt;&lt;BR /&gt;hope this helps.&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Oct 2001 18:02:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-change-hostname-amp-ip-address/m-p/2587665#M592737</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-10-01T18:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to change hostname &amp; ip address</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-change-hostname-amp-ip-address/m-p/2587666#M592738</link>
      <description>Hi Luis,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I don't believe there is a best way to this, its just a matter of preference. Some people prefer just running /sbin/set_parms and not deal with editing multiple files or run multiple commands.&lt;BR /&gt;&lt;BR /&gt;But both the ways do work, i believe its just a matter of preference. But if you are editing files, don't forget /etc/hosts.&lt;BR /&gt;&lt;BR /&gt;-Regards&lt;BR /&gt;Ramesh</description>
      <pubDate>Mon, 01 Oct 2001 18:02:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-change-hostname-amp-ip-address/m-p/2587666#M592738</guid>
      <dc:creator>linuxfan</dc:creator>
      <dc:date>2001-10-01T18:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to change hostname &amp; ip address</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-change-hostname-amp-ip-address/m-p/2587667#M592739</link>
      <description>I would vote to go with your option A.  It will be the cleanest and make sure that all appropriate files are modified.&lt;BR /&gt;&lt;BR /&gt;If you use your option B, then you must make sure that you modify /etc/hosts as well.  &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Oct 2001 18:04:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-change-hostname-amp-ip-address/m-p/2587667#M592739</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-10-01T18:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to change hostname &amp; ip address</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-change-hostname-amp-ip-address/m-p/2587668#M592740</link>
      <description>set_parms is easier and modifies the files for you.  **Less chance of error due to missing a config file. &lt;BR /&gt;&lt;BR /&gt;You can modify the files yourself, but I would recommend using set_parms and then manually checking the files.  Below are a few that I would double check.&lt;BR /&gt;&lt;BR /&gt;/etc/hosts&lt;BR /&gt;/etc/nsswitch.conf&lt;BR /&gt;/etc/resolv.conf&lt;BR /&gt;/etc/rc.config.d/netconf&lt;BR /&gt;&lt;BR /&gt;...jcd...</description>
      <pubDate>Mon, 01 Oct 2001 18:05:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-change-hostname-amp-ip-address/m-p/2587668#M592740</guid>
      <dc:creator>Joseph C. Denman</dc:creator>
      <dc:date>2001-10-01T18:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to change hostname &amp; ip address</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-change-hostname-amp-ip-address/m-p/2587669#M592741</link>
      <description>Hi Luis:&lt;BR /&gt;&lt;BR /&gt;Running /sbin/set_parms is easy, but so is editing /etc/rc.config.d/netconf -- the choice is really up to you.&lt;BR /&gt;&lt;BR /&gt;Don't forget to change your ROUTE_GATEWAY and your SUBNET_MASK as necessary.&lt;BR /&gt;&lt;BR /&gt;If you are running DNS on the server that is changing, be sure to modify /etc/resolv.conf as necessary on *other* servers.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 01 Oct 2001 18:06:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-change-hostname-amp-ip-address/m-p/2587669#M592741</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-10-01T18:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to change hostname &amp; ip address</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-change-hostname-amp-ip-address/m-p/2587670#M592742</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Also look out for the /etc/nsswitch.conf file.&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Oct 2001 18:12:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-change-hostname-amp-ip-address/m-p/2587670#M592742</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-10-01T18:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to change hostname &amp; ip address</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-change-hostname-amp-ip-address/m-p/2587671#M592743</link>
      <description>Just my 2 cents on this topic.  If you have the luxury of a reboot, then go with the /etc/set_params option.  This updates all the proper files and more importantly, the reboot takes care of restarting all the daemons so that they now know the new hostname/IP.&lt;BR /&gt;Otherwise, if you can not afford to reboot, you'd have to edit /etc/rc.config.d/netconf, /etc/hosts and then bounce several daemons, including (but not limited to) rpc*, nfsd, nis client/server, swagentd, and a bunch more that I'm missing.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Mon, 01 Oct 2001 18:25:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-change-hostname-amp-ip-address/m-p/2587671#M592743</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-10-01T18:25:32Z</dc:date>
    </item>
  </channel>
</rss>

