Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So, I have a Linksys router that is doing DHCP for me. I want to be able to use the local machine names (there are multiple machines on the home side of the router). I have tried to install DNS on a linux box (FC 4) but that isn't doing the job. As I understand it, it needs to be updated by the Linksys router, no?
I do not want the linux box to be the dhcp daemon, sorry. Any ideas?
You can setup static routing and put the host names and IP addresses into each machine's /etc/hosts file.
Or depending on the model of router, some of the linksys routers do "Static" DHCP. Mine allows me to input a hostname, MAC address, and IP address so that each machine always gets the same IP from the router. All the clients still use DHCP, but they always get the same IP. And then you can just use the hostnames because the router will look them up in its table for you...
Thanks, but I think going to static routing defeats the purpose. The issue is not the assignment of IP addresses, rather the issue is how to make it so new machines on the network can access existing resources without having to update /etc/hosts on every *ix box (n.b. not all machines are *ix boxes). Also, the router doesn't lookup names! If it did, I'd be home already...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.