On Wednesday, 27 August 2003, at 19:39PM, Tom Hosiawa wrote:


I have two computers behind a Linksys router that runs as a dhcp server,
I'm wondering how I can make the computer name resolve to its ip
address?


For example, if I want to ping my desktop I can just go "ping
desktop_name" rather then "ping 192.168.1.100"

What model is the Linksys router..?


Stroller.

Its the linksys BEFW11S4

My last router, quite an old Efficient Networks model, had some tools which made this sort of admin at the router fairly straightforward. One could set the DHCP server to associate IP address with MAC address (ie: always to allocate the same IP address to the same machine), and it had an internal DNS server that one could use to associate names with IP addresses.


This allowed `ping desktop` and `ping pornpipe` (the router) exactly as you require.

Looking at the manual at ftp://ftp.linksys.com/pdf/befw11s4ug.pdf I was surprised to find that _neither_ of these facilities seem to be mentioned. Consequently I recommend you allocate a static IP to your desktop within the same subnet as it is currently, by editing /etc/conf.d/net.eth0; then either run DNS on your Gentoo box (say by emerging bind), or more simply (as others have suggested) by entering the IP addresses of various machines in your /etc/hosts file.

The one good thing to be said for a Windows network is that these steps are unnecessary - Client For MS Networks seems to take care of hostname -> IP translation for hosts discovered by broadcast on the network. You might investigate Samba to see if it has these capabilities.

Stroller.



--
[EMAIL PROTECTED] mailing list



Reply via email to