Operating System - HP-UX
1833776 Members
2175 Online
110063 Solutions
New Discussion

Re: logical name to HP machine

 
dhanish
Regular Advisor

logical name to HP machine

Hi,
I need to know whether i can give two names to my HP machine (1 logoical name and other physical name) both of them pointing to same ip address.If yes then Can anybody explain how it can be done.

thnks
Never Say Die
5 REPLIES 5
Deepak Extross
Honored Contributor

Re: logical name to HP machine

Nitin,

Not sure what you mean by "logical and phyical" names,
but you may want to consider adding aliases in the /etc/hosts file.

The form for each entry is:


For example:
192.1.2.34 hpfcrm loghost

Does this help?
dhanish
Regular Advisor

Re: logical name to HP machine

Hi,
What i mean is
supose i have
10.156.4.5.:hpsystem1
10.156.4.5 :hpsystem1a

i want hpsystem1a and hpsystem to point to same ip.


thnks
Never Say Die
Deepak Extross
Honored Contributor

Re: logical name to HP machine

I guess an entry like this:
10.156.4.5 hpsystem1 hpsystem1a
in your /etc/hosts should do the trick.

see "man hosts".
John Carr_2
Honored Contributor

Re: logical name to HP machine

Hi

do exactly as Deepak says and if you are working in a network enviornment you will possibly need changes making to DNS , NIS NIS+ ... you should check this with your networking or senior sysadministrators if this is the case.

cheers
John.
dhanish
Regular Advisor

Re: logical name to HP machine

Thanks for your replies Deepak and John.
Never Say Die