Change IP address in HP unix

Posted on 2003-03-25
Medium Priority
Last Modified: 2013-12-06
I'd like to know how to change HP Unix ip address? If I'm running Gauntlet firewall in HP unix can I just change it in Gauntlet-Admin? Would it automatically change the system ip address? Thnaks
Question by:wkstan2001
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
LVL 38

Accepted Solution

yuzh earned 500 total points
ID: 8208497
To change the IP of a HP-UX box:

login as root (or su as root)
you can run

/sbin/set_parm new-ip

or use
sam to change the box IP

LVL 38

Expert Comment

ID: 8208517
Sorry, it should be:
/sbin/set_parm ip_address <Return>

PS: /sbin/set_parm  is a script.
LVL 21

Assisted Solution

tfewster earned 500 total points
ID: 8211894
`/sbin/set_parms ip_address` (with an "s" on the end of the script name ;-)

This will only change the IP address of the first NIC; Other NICs/addresses should be set/changed through SAM, to ensure all the OS files are updated. You may also need to update your routes.

However, I have no idea how this will affect the Gauntlet firewall application. You may need to review the firewall rules for IP addresses that connect via this system.
LVL 38

Expert Comment

ID: 8215051

   Thanks for the correction. I miss type the command in the first place. it should be:

   /sbin/set_parms ip_address

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month8 days, 8 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question