Operating System - HP-UX
1833076 Members
6813 Online
110049 Solutions
New Discussion

ip & gateway address change

 
SOLVED
Go to solution
Jeff Hagstrom
Regular Advisor

ip & gateway address change

I'm moving an rp7410 and k460/9000, both running hpux 11. How do I change the IP address of the boxes and the gatewayes? and anything else that might need to be changed.
5 REPLIES 5
Patrick Wallek
Honored Contributor
Solution

Re: ip & gateway address change

On the boxes themselves there are 2 main places to change:

1) /etc/rc.config.d/netconf -- You can change the IP address, subnet mask, and gateway here.

2) /etc/hosts -- Be sure to change the IP address here as well.

You will also need to be sure to change/update the IP addresses in your corporate DNS server, if you have one.
A. Clay Stephenson
Acclaimed Contributor

Re: ip & gateway address change

Execute set_parms ip_address and set_parms addl_network.
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: ip & gateway address change

Oh, and however you resolve hostnames /etc/hosts, NIS, NIS+, LDAP, and/or DNS will have to be modified as well.
If it ain't broke, I can fix that.
whiteknight
Honored Contributor

Re: ip & gateway address change


Jeff,

You can use #set_parms initial, it will prompt key in your new ipaddress/hostname and network information from the scratch.


WK
Problem never ends, you must know how to fix it
Alex Jenner
Advisor

Re: ip & gateway address change

In most cases /etc/rc.config.d/netconf and /etc/hosts (or use set_parms) and updating DNS or other hosts /etc/hosts files is enough.

Other considerations - if these servers are part of MC/Service Guard cluster, then Service Guard has it's own package IP addresses defined.

Network management - if these hosts are managed by Openview NNM (or similar), the nodes might need to be re-integrated into Openview after the IP address change.

Firewall rules - if you have firewall rules specific to those hosts, you need to allow those same ip address/ports to connect to/from the new ip addresses too.