View Single Post

  #4  
Old 02-07-2003, 01:28 PM
Pakalolo's Avatar
Pakalolo Offline
Junior Member
 
Join Date: Jan 2003
Posts: 21
Thumbs up I think the "ANSWER" is in your "QUESTION"-

Quote:
All machines are setup with static IPs

Machines are using static IP's instead of receiving an IP from a DHCP server- you have no mechanism in place to do address to name resolution. (does that make sense?)

Since you are manually assigning IP addresses you must also do the IP address to name conversion manually. To do this you must edit the HOSTS file on each machine...

Open the "HOSTS" file on each machine with "NOTEPAD", it should be in the following directory- "C:\WINDOWS\system32\drivers\etc"

you should see the following information-

Code:
# This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line. The IP address should # be placed in the first column followed by the corresponding host name. # The IP address and the host name should be separated by at least one # space. # # Additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by a '#' symbol. # # For example: # # 102.54.94.97 rhino.acme.com # source server # 38.25.63.10 x.acme.com # x client host 127.0.0.1 localhost

Add the IP Address and Machine name for each computer on your LAN, so it looks something like this:

Code:
127.0.0.1 localhost 10.10.0.100 madmankinu # madman's pc 10.10.0.101 computer1 # pc1 10.10.0.102 computer2 # pc2

You can delete all of the text above the localhost entry. Make sure that you save it as "ALL FILES" with no extension, it is common for people to edit this file and forget to remove the .txt extension from the end of it. (You do not want a HOSTS.TXT file)

Hopefully that makes sense, if not let me know and I'll try and clarify

Pakalolo
Reply With Quote