- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Binding of different IP address to the same ho...
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
12-10-2006 07:45 PM
12-10-2006 07:45 PM
Can we bind two different IP addresses to the same hostname in /etc/hosts file ?
How is HP-UX is going to resolve that ?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2006 08:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 12:54 AM
12-12-2006 12:54 AM
Re: Binding of different IP address to the same hostname
Insert a second IP address in /etc/hosts file will not give the opportunity for other server to reach the box.
To bind another ip address on a NIC use the ifconfig command with plumbing option.
ifconfig lanx:1
where lanx is your interface, :1 is use to give a secondary address.
Don't forget to adapt the config file related of your NIC card located in /etc/rc.config.d directory.
In other way, you can also use SAM.
Regards,
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 01:08 PM
12-12-2006 01:08 PM
Re: Binding of different IP address to the same hostname
Sorry, maybe I did not explain the scenarion clearly.
Currently I have configured two NIC with two different IP addresses.
So what I am trying to do is to have two IP addresses that refer to the same hostname in the /etc/hosts file
e.g.
172.18.128.40 NHU2CG1
172.17.11.21 NHU2CG1
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 02:52 PM
12-12-2006 02:52 PM
Re: Binding of different IP address to the same hostname
I would give one as the hostname of the machien and another as hostname_alias1 or so.
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 02:55 PM
12-12-2006 02:55 PM