Sure, but the IPs are dynamic so the hosts file is out, right? -- Gary ----- Original Message ----- From: "doug waud" <douglas.waud@umassmed.edu> To: <wlug@mail.wlug.org> Sent: Saturday, November 10, 2001 11:49 AM Subject: Re: [Wlug] DCHP Private IP Hostname Resolution
Hi
I just installed a Netgear RP114 DSL router and I'm letting it set my private IPs with DCHP. My problem is that I need to resolve the hostnames between the 3 Linux machines on my private lan and the router isn't doing that.
When they are booted in Windows the DCHP table shows the IP and hostname of each PC, but when booted in Linux the router doesn't resolve the hostname to IP...so when I ping a hostname I get nothing.
The easiest way to do this is simply to add those three hosts to your /etc/hosts file (this is simplest since you have only three boxes to deal with)
Just add lines like 192.168.1.5 box1.localdomain box1 192.168.1.32 box2.localdomain box2 to /etc/hosts
doug
-- Douglas R Waud, Professor Emeritus -- Pharmacology University of Massachusetts Medical School Mailing address: 17 Lantern Lane, Shrewsbury, MA 01545-2006 _______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug