LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-22-2007, 12:04 PM   #1
Robdor
LQ Newbie
 
Registered: Jun 2007
Posts: 2

Rep: Reputation: 0
Question Network randomly drops


Hello all,

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.

Thanks,

Rob
 
Old 06-22-2007, 04:14 PM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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.
 
Old 06-25-2007, 11:42 AM   #3
Robdor
LQ Newbie
 
Registered: Jun 2007
Posts: 2

Original Poster
Rep: Reputation: 0
tredegar,

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?

Thanks,
Rob
 
Old 06-26-2007, 03:23 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
OK, we need to start from the beginning, and be very clear about exactly what is (not) going on.
Quote:
It is set up with 4 network interfaces, which are always on all of the time.
Interfaces to your LAN or WAN?
Quote:
The odd thing with this server is that about 2 or 3 times a day it "drops" its network connection.
Its connection to WAN or LAN?
Quote:
if I have it mounted through samba or I have an SSH session open I don't loose my connection.
It's a linux box, why are you using samba to mount it?
You don't loose which connection? LAN or WAN?
Quote:
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.
So it has lost WAN connectivity. Can you connect from your LAN?
Quote:
The really odd thing is that I can still SSH into it,
Again, are you talking about ssh from LAN or WAN?
Quote:
At first I thought it might be a DNS issue, but it won't even ping IP addresses.
Are you pinging from LAN or WAN?

A little ASCII artwork picture of your network would also be helpful. Put it inside [code] tags to preserve spaces.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Drops... jmorris8 Linux - Newbie 1 03-03-2007 03:27 PM
Connection to wireless AP drops randomly kbolino Linux - Wireless Networking 1 04-27-2006 12:19 AM
NForce4 Network Drops jerickson Linux - Hardware 0 12-20-2005 06:37 PM
Internet connection drops randomly on Kubuntu 5.04 Electrolyte Linux - Networking 0 06-14-2005 12:48 PM
Network Drops Out on eth0 dkranendonk Linux - Networking 1 05-11-2002 12:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration