- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- hostname entries for multihomed server
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
Discussions
Discussions
Discussions
Forums
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
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
тАО08-15-2004 03:31 PM
тАО08-15-2004 03:31 PM
ipadd1 servername
ipadd2 servername
ipadd3 servername
Can each ip interface have the same hostname configured in .etc/hosts although the server main ip is ipadd3 configured for hostname servername.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2004 04:16 PM
тАО08-15-2004 04:16 PM
SolutionI think you may be okay to have common alias if all IPs are on the same subnet. If the IPs are on different subnet then you shoyuld not have any common hostname/alias. Think about the same from DNS server entries point of view.
just curious to think why you want to have same hostname for three IPs, any special need? If your goal is to get more bandwidth , then you can think of AUTO port aggreegation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2004 04:43 PM
тАО08-15-2004 04:43 PM
Re: hostname entries for multihomed server
If it is,
hosts: files dns
Resolvation starts from /etc/hosts ( file ), dns ( /etc/resolv.conf )
So for your requirement you have to have hosts: files dns
You can use multi home network. Is there any specific need for that,
Any way, you can use aliases instead of FQDN with that as,
ipadd1 servername1 server
ipadd2 servername2 server
ipadd3 servername3 server
It will be resolved but the resolvation is done by top to bottom of file.
nslookup
Will give you the view.
If you aliases it will be more helpful to have official hostname for every interface. And more you can use hostname / ip-address for the connectivity too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2004 03:46 AM
тАО08-16-2004 03:46 AM
Re: hostname entries for multihomed server
Anyway, it's time to correct the configuration!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2004 04:45 AM
тАО08-16-2004 04:45 AM
Re: hostname entries for multihomed server
But with /etc/hosts, there is no way to assign a hostname with multiple IP addresses.
if your nsswitch.conf has been configured to use /etc/hosts file, with the above entries, any gethostbyname(servername) system call will only return ipadd1.
If you have a DNS server in your environment and if you would like client connections to your server to be load balanced (or distributed in want of a better word), then you can add these three IP addresses in DNJS to point to servername and by enabling "Round robin" which is ON by default.