1845486 Members
3105 Online
110244 Solutions
New Discussion

Re: IP address change

 
SOLVED
Go to solution
Jerry L. Sims
Frequent Advisor

IP address change

Hello All,

To change IP address for my server:
HP-UX B.11.11 9000/800/N4000-75

old address XXX.XXX.212.xxx
new address XXX.XXX.136.xxx

I'm assuming the changes that need to be made
are :
1) /etc/hosts
2) /etc/rc.config.d/netconf
3) DNS server tables
4) new default route ( from network staff ) ?

This server is an nis.client, so does the nis
server need to make changes also ?
7 REPLIES 7
Jerry L. Sims
Frequent Advisor

Re: IP address change

Also I think there is an "ifconfig" needed
somwhere ?
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: IP address change

Yes, if NIS is managing the hosts data then you need to alter the hosts map and push the changes out to the clients.

By the way, the correct way to set the local stuff is "set_parms ip_address" although manually editing the files and rebooting will take care of it. Man set_parms for details. Only if you are in a new subnet, do you need a new default route.

If it ain't broke, I can fix that.
Sundar_7
Honored Contributor

Re: IP address change

Depends if the nodes are using NIS for name resolution.

If yes then you would probably need to update the NIS server mapping your server name to the new IP address.
Learn What to do ,How to do and more importantly When to do ?
sinhass
Regular Advisor

Re: IP address change

U can try set_parms

-sinhass
PVR
Valued Contributor

Re: IP address change

If you know how to manually update those files. these are the fiels needs to be updated. Pls make the appropriate changes in NIS automounter maps and hosts map.

Don't give up. Try till success...
I.Delic
Super Advisor

Re: IP address change

hi,

you should use set_parms command to change your IP adres . It is a sawe way to do this.



Idriz
KapilRaj
Honored Contributor

Re: IP address change

ifconfig down
ifconfig up

missed ?

Kaps
Nothing is impossible