- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Change IP address and hostname on a HPUX 11.23 mac...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 12:35 AM
07-13-2005 12:35 AM
How can I accomplish that? Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 12:56 AM
07-13-2005 12:56 AM
Re: Change IP address and hostname on a HPUX 11.23 machine
set_parms hostname
set_parms ip_address
each will then ask for the new information
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 01:00 AM
07-13-2005 01:00 AM
Re: Change IP address and hostname on a HPUX 11.23 machine
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 01:09 AM
07-13-2005 01:09 AM
Re: Change IP address and hostname on a HPUX 11.23 machine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 01:10 AM
07-13-2005 01:10 AM
Re: Change IP address and hostname on a HPUX 11.23 machine
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 01:20 AM
07-13-2005 01:20 AM
SolutionYou can also issue the command
man set_parms
to learn more about the set_parms command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 01:25 AM
07-13-2005 01:25 AM
Re: Change IP address and hostname on a HPUX 11.23 machine
"set_parms initial" will set both.
While configuring it will ask which adaptor to configure (lan0 or lan1...)
Regds
TT
Changing the IP through SAM doesn't require reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 01:27 AM
07-13-2005 01:27 AM
Re: Change IP address and hostname on a HPUX 11.23 machine
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 03:39 AM
07-13-2005 03:39 AM
Re: Change IP address and hostname on a HPUX 11.23 machine
Non-first-boot: In multiple-LAN systems, set_parms assumes the IP address to change is the one for the lowest-numbered IP address /LAN Interface Card dataset in the /etc/rc.config.d/netconf file. I gather, that would be lan0. Unfortunately, I need to change the lan1 card instead. Any idea??? Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 06:37 AM
07-13-2005 06:37 AM
Re: Change IP address and hostname on a HPUX 11.23 machine
You can put the production IP address in that file and run the following command manually:
#ifconfig lan1
You can also manually unplumb and plumb the interface to reconfigure the IP address. The change will be effect immediately.
Good luck,
Selva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 03:29 PM
07-13-2005 03:29 PM
Re: Change IP address and hostname on a HPUX 11.23 machine
I suggest change ip through sam, which doesn't require a reboot. Then run "set_parms hostname". This will change hostname and reboot the server.
Regds
TT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 09:17 PM
07-13-2005 09:17 PM
Re: Change IP address and hostname on a HPUX 11.23 machine
you can launch
/sbin/set_parms ip_address
The command would recognize the first lan available (in your instance lan1).
So don't worry and launch it.
Alternative is change /etc/rc.config.d/netconf manually.
Keep in mind to change /etc/hosts too and DNS (if you use DNS).
DNS can be another machine, so contact administrator of that machine to do that.
Hope this helps you, let us know if you have problems.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 09:20 PM
07-13-2005 09:20 PM
Re: Change IP address and hostname on a HPUX 11.23 machine
"set_parms initial" is preferred way of changing hostname and IP together. A reboot is required.
Check /etc/rc.config.d/netconf and /etc/hosts files for the reflected changes
Regards
Mahesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 11:22 PM
07-13-2005 11:22 PM
Re: Change IP address and hostname on a HPUX 11.23 machine
set_parms initial would be the good one to use according to me, It guides you through various optins like changing hostname , IP, subnet, default gateway, DNS etc and takes a reboot.
If you try to have both systems with same IP/hostname its just not possible.
thanks
deepak