- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- dual 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
09-16-2001 11:17 PM
09-16-2001 11:17 PM
dual hostname
I have a server PA-8500 with HP-UX 11.00.
This server has two lan:
lan0 and lan1.
this two lans are independent.
I need to define two different hostname for every lan0, for example:
lan0 10.192.10.1 /24 server1
lan1 192.168.4.1 /24 server2
How can I define in the /etc/hosts file this two hostname?
Is it possible to do this?
thanks in advance...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2001 11:20 PM
09-16-2001 11:20 PM
Re: dual hostname
set the two seperate names as aliases.
hope this helps.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2001 11:25 PM
09-16-2001 11:25 PM
Re: dual hostname
Is it possible to have the same hostname for the two independent lans?
lan0 10.192.10.1 /24 server1
lan1 192.168.4.1 /24 server1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2001 11:32 PM
09-16-2001 11:32 PM
Re: dual hostname
Yes you can have the same hostname for both the lan, The hostname is set using "set_parms hostname" command. You can set the two ip using sam for lan0 and lan1 and at the time of setting ip, set the aliases as different names if you want. you can then access the systems using the hotname or the aliases.
hope this helps.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2001 04:05 AM
09-18-2001 04:05 AM
Re: dual hostname
to both names being recognized for both cards.
10.192.10.1 server1.mydomain.com server1
10.192.10.1 server2.mydomain.com server2
192.168.4.1 server1.mydomain.com server1
192.168.4.1 server2.mydomain.com server2
In DNS make server2 a CNAME for server1.
Then map server1 to both addresses, and
reverse map both addresses back to server1.
Server1 should be your hostname.