Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I can't find how to set a static IP on the local network (192.168.xxx.xxx) on HP-UX using the command line. I want the address to be kept after the server reboots, so it seems the use of ifconfig will lose the IP configured.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

The recommended way for a novice is to use SAM -> Network Configuration. However, since you have stated you want to use the command line, use set_parms:

# set_parms ip_address

Alternatively edit /etc/rc.config.d/netconf and /etc/hosts manually.

See man set_parms for more information.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.