Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2 Hostnames On 1 PC

Status
Not open for further replies.

PzP1R8

IS-IT--Management
Jan 29, 2002
22
US
What is the easiest way to give a PC 2 names on the network, with the same IP address? I.e. an alias name?

First name: PC1.
Second name: virus_server.

I have a peer to peer network and hostnames are managed on a UNIX system. I have given the PC 2 names, but cannot "map a drive" to the second corresponding name?
I can ping both names in UNIX, but not on the PCs?

Do I have to put a manual entry in all LMHOST files?

Thanx :)
 
There are serveral ways you could to it:

- Add an entry into LMHOSTS file
- Add an entry into the HOSTS file

Entry to add in LMHOSTS file:

102.54.94.123 popular #PRE #DOM:MyDomain
or
102.54.94.123 popular #PRE


Entry to add in HOSTS file:

127.0.0.1 localhost.domain.com

You must open a DOS window and run the command:

NBTSTAT -R <-captial &quot;R&quot;

to load the new table, or reboot...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top