|
|
Subject: Name resolution for local names using DHCP
From: Unruh
Date: 12/17/2007 3:24:46 PM
Charles Russell <NOSPAM@bellsouth.net> writes:
>Charles Russell wrote:
>> I can't figure out how to get name resolution for computers on my home
>> WLAN, though everything works all right if I type in explicit IP
>> addresses. The IP addresses will vary because of DHCP, so I can't
>> simply put them in /etc/hosts.
>>
>> The hostnames and IP addresses are all known to the router (Linksys
>> wrt54g), as I can confirm by querying the router. Should the router not
>> resolve these local hostnames? Or do I misunderstand how this should
>> work under DHCP?
>Thanks for the responses, everybody. I infer that there is no simple
>fix within the capability of the DHCP server in my $50 Linksys wrt54g
>router. Given that there is no simple fix, and that the only problem is
>that I have to manually enter IP addresses whenever I do local ftp or
>ssh, I think I'll follow the principle: "If it ain't broke (much), don't
>fix it (much)."
Some routers allow you to tell the dhcp service on the router to allways
assign ip address X to MAC address Y. Look through the manual to see if
your router allows that.
|