- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Alias at /etc/hosts
Operating System - HP-UX
1755988
Members
3486
Online
108839
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-26-2008 06:36 PM
тАО08-26-2008 06:36 PM
Alias at /etc/hosts
Hi, I would like to ask what the impact if I add an alias same as hostname. The real IP for this server is 10.1.54.120.
#vi /etc/hosts
10.1.54.120 s54xy120 s53kpg53
127.0.0.1 localhost loopback
10.1.53.53 s53kpg53 s53kpg53.xxxxx.com
Tq
#vi /etc/hosts
10.1.54.120 s54xy120 s53kpg53
127.0.0.1 localhost loopback
10.1.53.53 s53kpg53 s53kpg53.xxxxx.com
Tq
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2008 06:52 PM
тАО08-26-2008 06:52 PM
Re: Alias at /etc/hosts
Are you trying to associate the name
"s53kpg53" with two addresses (10.1.54.120
and 10.1.53.53)? This seems to me unwise.
What do you expect the system to do when you
ask about "s53kpg53"?
> The real IP for this server is 10.1.54.120.
So what is 10.1.53.53? The unreal address?
Is there some actual problem which you are
trying to solve?
"s53kpg53" with two addresses (10.1.54.120
and 10.1.53.53)? This seems to me unwise.
What do you expect the system to do when you
ask about "s53kpg53"?
> The real IP for this server is 10.1.54.120.
So what is 10.1.53.53? The unreal address?
Is there some actual problem which you are
trying to solve?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2008 01:02 PM
тАО08-27-2008 01:02 PM
Re: Alias at /etc/hosts
s53kpg53 name will show only 10.1.54.120 IP as per the /etc/hosts entry.
10.1.54.120 s54xy120 s53kpg53
You dont need to assign two IP for the same hostname.
10.1.53.53 s53kpg53 s53kpg53.xxxxx.com
This entry can be used for short and long names of the server, you can access the server with both names.
Thanks
SKR
10.1.54.120 s54xy120 s53kpg53
You dont need to assign two IP for the same hostname.
10.1.53.53 s53kpg53 s53kpg53.xxxxx.com
This entry can be used for short and long names of the server, you can access the server with both names.
Thanks
SKR
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP