There are a couple of problems here. The first is that you realy shouldn't use host names with upper case letters. While they will work most of the time, they will give you problems at times, and you will have no idea why.On Saturday 16 April 2005 17:18, Mikkel L. Ellertson wrote:
Hi Mikkel
Thanks for the help.
I sorta of see where you are headed although I am not sure of the correct configuration of these files for names. Whit I do not understand is how these files come into play when I was entering numerical addresses.
Frank
The files are as follows. ______________________ /etc/hosts For Big_Nate 127.0.0.1 Big_Nate localhost
/etc/host.conf For Big_Nate order hosts,bind multi on
/etc/resolv.conf For Big_Nate search Commodity_Line nameserver 192.168.1.1 ______________________________ /etc/hosts For Reality_Check 127.0.0.1 localhost
/etc/host.conf For Reality_Check order hosts,bind multi on
/etc/resolv.conf For Reality_Check search Commodity_Line nameserver 192.168.1.1 _______________________
The second problem is that when using fixed IP addresses, it is better to use the fixed IP address for the hostname, instead of the loopback address. (127.0.0.1).
The other thing that may be a problem is the "search Commodity_Line" in /etc/resolv.conf. This will cause some extra searches, that are not going to return results.
NOw, if I remember right, 192.168.1.1 is a router on your system, and its name server function just forwards requests to your ISP. If this is correct, then what you probably want to do is edit /etc/hosts on both machines, and make them look something like this:
127.0.0.1 localhost 192.168.1.2 Reality_Check 192.168.1.4 Big_Nate
A better way would be something like this:
127.0.0.1 localhost 192.168.1.2 reality_check.localnet reality_check 192.168.1.4 big_nate.localnet big_nate
and change the hostnames to all lower case. In any case, by putting the hostnames in /etc/hosts, it will let you connect by name. The thing to remember is that the name has to be in the /etc/hosts file on the machine you are connecting FROM. If you are on Big_Nate, and you use the name Reality_Check, then the name Reality_Check has to be in /etc/hosts on Big_Nate, with the correct IP address for Reality_Check. If it is not, then the naext step is to ask the name server at 192.168.1.1 for the IP address that goes with the name. When the name server says that it doesn't know, then next step is to try the name Reality_Check.Commodity_Line, because this is what the search line in /etc/resolv is telling the system to do.
Mikkel --
Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup!
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
