1833762 Members
2643 Online
110063 Solutions
New Discussion

Reboot after set_parms

 
Satya Vedamtam
Occasional Contributor

Reboot after set_parms

On HP-UX 10.20, HP9000 H20 hardware, when the IP address and hostname is changed using set_parms, is reboot of the system a must ?
Can I prevent the reboot and use lanconfig or ifconfig to reset/restart the network interface (AUI) with a new IP address ?
2 REPLIES 2
Pete Randall
Outstanding Contributor

Re: Reboot after set_parms

While you can probably accomplish this as you describe, I feel it's probably safer and easier to just go ahead and re-boot.


Pete

Pete
Steven E. Protter
Exalted Contributor

Re: Reboot after set_parms

ifconfig will result in less disruptions to your users, though there may be a moment of disconnect.

Example

ifconfig lan0 down;
ifconfig lan0 192.168.0.10 netmask 255.255.255.0;

Insert the proper ip and network mask. This can be done on one commandline, will execute fast. Watch out for typos.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com