- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Adding New IP for the HPUX machine
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
02-13-2008 01:24 AM
02-13-2008 01:24 AM
Adding New IP for the HPUX machine
I have HPUX machine in extranet configured for a IP which my Webserver listens too. Now i have a new IP created for the application Alias and i want the HPUX server to be assigned with the new IP, so that the webserver can listen on that new IP too.
What I know, is we need to update the netconf/host files for the new IP. But i am not sure how to do this, or the exact steps required here.
Adding an IP through ifconfig or router add or sbin/set_parms , which one should i use and do any of these would require a server re-start? Is it possible to add and make server listen to new IP without a re-start, and how?
Thanks in advance for all the support!
Regards
Nikhil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2008 01:27 AM
02-13-2008 01:27 AM
Re: Adding New IP for the HPUX machine
you can use sam to configure it and as far as I know it does not require a reboot.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2008 02:38 AM
02-13-2008 02:38 AM
Re: Adding New IP for the HPUX machine
Edit the /etc/rc.config.d/netconf file with IP, Routes, Hostname...
Restart the net servuce by
/sbin/init.d/net stop
/sbin/init.d/net start
You need to be at system Console / MP console to do this.
Once the net service is been restarted, new IP chnages should take effect.Doesn't need system reboot.
Thanks & Regards
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2008 03:06 AM
02-13-2008 03:06 AM
Re: Adding New IP for the HPUX machine
Oviwan, Using SAM where should i add the new IP? I am quiet new to HPUX and SAM though is quiet intractive but i am not sure where to add this new IP configuration.
Ramesh, i tried the above steps, to add a new IP, but i got an ifconfig no lan2 found on net start. It seems it is to update the current IP, is it possible to add a new IP. Or do i have to create a new Virtual LAN and then try to add new ip on that???
Regards
Nikhil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2008 03:37 AM
02-13-2008 03:37 AM
Re: Adding New IP for the HPUX machine
Are you trying to add multiple IP to the same interface ? Ex: assigning 2 IP's to lan0
If so, please see below steps.
Put the appropriate entries in /etc/rc.config.d/netconf to make the changes permanent.
INTERFACE_NAME[0]=lan0 #primary ip
IP_ADDRESS[0]=192.168.3.4
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
INTERFACE_NAME[0]=lan0:1 #virtual ip
IP_ADDRESS[0]=192.168.3.5
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
Restart the net service.
Thanks & Regards
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2008 04:07 AM
02-13-2008 04:07 AM
Re: Adding New IP for the HPUX machine
Do i have to update the Alias in the host file for the new IP???
Nikhil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2008 04:40 AM
02-13-2008 04:40 AM
Re: Adding New IP for the HPUX machine
You could update both IP address for the same host on /etc/hosts file.
No need of alias in hosts file.
Thanks & Regards
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2008 02:13 AM
02-18-2008 02:13 AM