Re: Name resolution for local names using DHCP



Charles Russell <NOSPAM@xxxxxxxxxxxxx> writes:

Unruh wrote:
Charles Russell <NOSPAM@xxxxxxxxxxxxx> 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.


Yes, it does. But why should static IP addresses be required, when the
DHCP server already has the hostname-IP address associations it needs to
resolve the local hostname?

You have become fixated on your particular solution to the problem. Let go.
Or spend you life trying to persuade Linksys to do it your way.

.



Relevant Pages

  • Re: Networking Question - VLANs on SBS 2003 Premium SP1
    ... DHCP running on the router. ... Set the DHCP on the router, to make a exclusion of IP range. ... you can set the SBS use fix IP by run the CEICW. ... all gust wireless clients will get IP address from DHCP on the ...
    (microsoft.public.windows.server.sbs)
  • help
    ... Network, routers, DHCP and PXE ... wget vs fetch ... It's a Thomson SpeedTouch 585 router. ...
    (freebsd-questions)
  • Re: How do I configure SBS 2003 as a DHCP server?
    ... To disable the private "LAN" side DHCP service (not the DHCP service on the ... of the PPPoE adapter and enable your Speedstream as a DSL modem and router. ... For the Vista computer to interact with SBS, ... Windows Small Business Server 2003: ...
    (microsoft.public.windows.server.sbs)
  • Re: Networking Question - VLANs on SBS 2003 Premium SP1
    ... DHCP running on the router. ... Set the DHCP on the router, to make a exclusion of IP range. ... you can set the SBS use fix IP by run the CEICW. ... all gust wireless clients will get IP address from DHCP on the ...
    (microsoft.public.windows.server.sbs)
  • Re: DHCP addresses on LAN
    ... The router acts as a DHCP server. ... the addresses are rotated as lease time expires and my lease time was 0 ... You really shouldn't have the router IP in the DHCP lease pool. ... have space for items which require fixed IPs, such as the router, a printer, ...
    (comp.sys.mac.comm)