- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SWAP IP AND HOSTNAME
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
11-15-2002 05:49 AM
11-15-2002 05:49 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2002 05:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2002 06:00 AM
11-15-2002 06:00 AM
Re: SWAP IP AND HOSTNAME
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2002 06:00 AM
11-15-2002 06:00 AM
Re: SWAP IP AND HOSTNAME
This will ask you for the new hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2002 06:04 AM
11-15-2002 06:04 AM
Re: SWAP IP AND HOSTNAME
I would use set_parms for both the hostname and the ip address (set_parms hostname and set_parms ip_address). It will ask you after each if you want to reboot. Reply no the first time and yes the second. Check your network config files after the reboot just to make sure.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2002 06:05 AM
11-15-2002 06:05 AM
Re: SWAP IP AND HOSTNAME
You can manually change the hostname by editting 'etc/rc.config/netconf' and '/etc/hosts'. Therein too, is your IPaddress for your LAN card. Your 'GATEWAY' and/or network mask may need changing too. Make all of your changes and reboot.
If you are running DNS then you may need to change (at least) '/etc/mail/sendmail.cw' too.
Another option is to run:
# /sbin/set_parms
Regards!
...JRF...
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2002 06:09 AM
11-15-2002 06:09 AM
Re: SWAP IP AND HOSTNAME
setparms hostname
Then it will prompt you for the new name. Yes, it will require a reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2002 06:09 AM
11-15-2002 06:09 AM
Re: SWAP IP AND HOSTNAME
No, just use set_parms hostname, it will bring a menu, but even if you don't really NEED a reboot, you can read in the man page that :
The system must be rebooted after the hostname is changed for it to take full effect.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2002 06:10 AM
11-15-2002 06:10 AM
Re: SWAP IP AND HOSTNAME
set_parms hostname