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.
I have a development server running CentOS and it's been giving me some networking fits over the last few weeks. It is set up with 4 network interfaces, which are always on all of the time. The odd thing with this server is that about 2 or 3 times a day it "drops" its network connection. I say "drops" because if I have it mounted through samba or I have an SSH session open I don't loose my connection. However, web browsers can't connect to it, svn can't connect to it, and it cannot ping google or any other site, or be pinged from an outside source.
The really odd thing is that I can still SSH into it, but I have to wait about 15 or 20 seconds to get the login prompt when it craps out like this. At first I thought it might be a DNS issue, but it won't even ping IP addresses.
If anybody has some trouble shooting advice it would be greatly appreciated.
Welcome to LQ!
Are you using dhcp to assign network addresses? dhcp leases are usually only granted for a certain (configurable) length of time, then they expire and need to be renewed.
When I was learning networking, I ran into a load of problems because of this and so switched to static addressing. Nice: I know where everything is, and it stays there. I still run a dhcp server, just in case I need an IP address as a matter of urgency, but I find that allocating static addressing keeps me, and my network sane.
Thanks for the reply and sorry I didn't reply sooner, I left the office early last Friday.
All four of the network interfaces have static addresses, so dhcp isn't a problem. That being the case does this seem more like a hardware problem or a borked configuration somewhere?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.