Operating System - HP-UX
1833873 Members
2027 Online
110063 Solutions
New Discussion

Re: change IP address and aliases

 
Burhan Koni
Advisor

change IP address and aliases

Hi everybody
I have hp9000 server HP-UX 11.0
I want to change the IP address and alias. when I changed them from SAM and restarted the system a message tell that you have to change /etc/hosts /var/adm/initd.sec /etc/rc.config.d/netconf.
how can I change the IP without problem.

Thanx
3 REPLIES 3
steven Burgess_2
Honored Contributor

Re: change IP address and aliases

Burhan

The best way to change the ip address of your server is with the use of set_parms ip_address and set_parms addl_netwrk. A reboot is required after ip_address but the relevent files are updated by the script

HTH

Steve
take your time and think things through
harry d brown jr
Honored Contributor

Re: change IP address and aliases


I hate set_parms and sam for chaning IP information. I find that set_parms usually just screws your configuration files to hell, so I revert to the tried and true: vi.

live free or die
harry
Live Free or Die
Michael Tully
Honored Contributor

Re: change IP address and aliases

I always suggest to people who don't know exactly what to change, use the set_parms script, purely because it is simple and *generally* does the job. If your installing, it uses it anyway.

I agree with Harry, changing files with vi is straight forward, but you must be able to know what these files are, and the syntax that must be used.
Anyone for a Mutiny ?