- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Change Primary IP Address
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
09-17-2001 05:12 AM
09-17-2001 05:12 AM
Change Primary IP Address
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2001 05:16 AM
09-17-2001 05:16 AM
Re: Change Primary IP Address
You could edit /etc/rc.config.d/netconf, swaping the two IP addresses associated with the two lan cards, and then run /sbin/init.d/net start.
But be careful, as errors in the netconf file might lead to loss of network connectivity.
I would also recommend that you do this at the console.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2001 05:20 AM
09-17-2001 05:20 AM
Re: Change Primary IP Address
Use SAM to modify the ip's as required. It is safe and easy. Go like this
SAM --> Networking And Communication --> Network interface Cards --> Select the card/port you want to configure / modify ---> Selet Action from the top bar and do configure / modify.
Hope this helps.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2001 05:26 AM
09-17-2001 05:26 AM
Re: Change Primary IP Address
Then reboot machine.
If you wan't to do thi without reboot, change first lan to a free ip using ifconfig parameter, then change the second lan configuring it with the firts ip address and finally change the first lan interface with second ip address, probably you will lost all network connections, is better reboot
Good Luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2001 05:41 AM
09-17-2001 05:41 AM
Re: Change Primary IP Address
And dont forget about /etc/hosts and dns...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2001 05:58 AM
09-17-2001 05:58 AM
Re: Change Primary IP Address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2001 04:02 AM
09-18-2001 04:02 AM
Re: Change Primary IP Address
the machine to match the address on the second
card. Or swap the names on the cards. Most likely
you want the second option.
Edit the /etc/hosts file and swap the names on the
ips addresses for your two cards. I usually list the
primary address first in the file.
If you use DNS change the ip mappings to reverse
the forward and reverse mapping, then restart
your DNS server(s). If you servers are listed in
NIS you may need to do the same.
You do have the option of making both ips be home
address of he server. Edit /etc/hosts to have
both ip addresses return the servers name.
10.0.0.1 server1
10.1.0.1 server1
If you are trying to change routing. Use dummy ip
informartion on the card you do not want to route
on during startup. The change the network settings
near the end of the startup sequence.
you may need