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.
We just got a linux box to use for a webserver. It runs Ubuntu Breezy. Got everything we needed installed on it, and when I assign it a static IP, it won't connect to the internet anymore, but I can connect to the machine from another machine on the network. I made sure that the DNS was set to the router's IP. I even added the external DNS servers that the router gets.
When I switch it back to DHCP, it works, but it's very slow. Reminds me of a 56K modem. I have been using Webmin to make all the changes. And obviously, I can't leave it on DHCP because then I wouldn't be able to use it as a server.
Well, when you look at the settings, it lets you change the IP Address, the Broadcast, and the Netmask. Is the broadcast the one that is supposed to be set to the router/gateway.
Further investigation has led me to believe that there is a DNS problem somewhere. When on DHCP, I said it was slow, but only when going from one domain name to the other. For example going to Google.com is slow, but doing a search on it is normal speed. Then going to Yahoo.com is slow because it's a different domain name.
The solution has been found. I figured I would post my findings for others that have similar problems.
After plugging in a Windows box to the same network cable, I ruled out the possibility of bad cabling.
We have a Netopia modem/router for our DSL. The problem was that the DHCP was handing out the modem's address for DNS and for some reason, the modem was not forwarding the request out to the actual DNS servers from the ISP. You wouldn't think so, seeing as how DNS communication should be standard reguardless of OS. Anyways, it would time out waiting for a DNS request. So I replaced the entries on the Linux box to the actual external DNS servers, and took the modem's entry out completely. Also, I found that Webmin keeps the Gateway setting in a different module. That's what kept tricking me and why static addressing never worked. It kept setting the gateway to 0.0.0.0 instead of the modem's address.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.