1834650 Members
2095 Online
110069 Solutions
New Discussion

Re: ip-address

 
Rakesh Babu
Occasional Contributor

ip-address

which file gets updated whrn you change the ip address in hp-ux?
6 REPLIES 6
Henry Fauni
Valued Contributor

Re: ip-address

Definitely..
/etc/rc.config.d/netconf
/etc/hosts

Possibly, depending on where where you're moving the host.
/etc/resolv.conf
/etc/nsswitch.conf

Guna_2
Regular Advisor

Re: ip-address

It is /etc/rc.config.d/netconf - Make sure you do it manually if you are using ifconfig to configure the ip address

Cheers!!!
Guna
UVK
Trusted Contributor

Re: ip-address

Depending on the scale of what you are doing it differs. If you are changing only the system primary IP address using ifconfig nothing gets updated. To have a permanent setting of IP address you have to update /etc/rc.config.d/netconf file so that system will come with the same ip even after reboot. If your systems is running MCSG cluster you will have to update the cluster configuration as well to change the heartbeat network if there is any change with them.
-------------------------------------------
Like it or worked !! Click kudos !!
yulianto piyut
Valued Contributor

Re: ip-address

if you want to change the ip address without edit any files manually, use SAM to change ip address, it will change /etc/hosts, /etc/rc.config.d/netconf automatically .
Sivakumar MJ._1
Respected Contributor

Re: ip-address

/etc/hosts and /etc/rc.config.d/netconf are the files.

Depends on the situation you need to edit these two files.
Ganesan R
Honored Contributor

Re: ip-address

Hi Rakesh Babu,

Use SAM or set_parms command to change ip address. So that you don't need to manually update the /etc/rc.config.d/netconf file.
Best wishes,

Ganesh.