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.
hi, i experienced the same issue but when i filled the /etc/resolv.conf with my isp dns ips.
now i have the follow question:
why i can ping to ips and host with no problem... and why i cannot ping my lan hosts? i only can ping to theit lan ips.
it sounds logical... actually last i have other linux server with all the lan hostnames in that file... but my questuion is: since i have DHCP enbabled sometimes the host's ips change and the /etc/hosts file became ambiguous... is there a way to automaticaly mantain updated that file?
You can set up DHCP with dynamic DNS that updates a DNS server (can be the same computer as the DHCP server) If you were able to ping the hosts on your LAN by name before you changed your resolv.conf then this is likely already set up. Once you have a DNS server set up to resolve local hostnames, you also need to set it up to either forward unknown requests to another DNS server or set it up with a root zone "." that points to root DNS servers. This makes it so you can ping hosts on The Internet by name.
why most linux users use a linux box as a dhcp server instead a builtin dhcp of a router or gateway?
-I did it partly to learn how to set it up.
-The "built in dhcp of a router or gateway" on your typical SOHO router doesn't have the functionality and configurability that the Linux daemon does.
-The Linux box that is set up as the DHCP server is also set up as the router as well, so it's really just a PC that replaces those little routers.
i cant imagine what more features can have a linux box than a cisco 800 series router for saying something.
i am linux user since 1999 and i never has used a linux box for replace a network device...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.