LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-08-2007, 05:08 PM   #1
donnoit
LQ Newbie
 
Registered: Aug 2007
Posts: 9

Rep: Reputation: 0
Server connection issue solved inexplicably by ping out


I have an Ubuntu 7.04 server in a hosted VMWare instance (the base OS is some other flavor of Linux).

My Ubuntu server is running sshd, proftpd and apache2. I find that that all 3 kinds of access to this server (ssh, ftp and http) from other machines on the network fail simultaneously from time to time, though ping is still successful to this server. There is no firewall running and 'netstat -tap' seems to show everything is well (all the servers are listening) and ifconfig does not show any error packets or other obvious abnormality. I can also still do local ssh and ftp (from the server console to itself), besides a ping to this server from a remote machine.

Not knowing any better, I had been restarting the networking interfaces (/etc/init.d/networking restart) and found that it restored the connectivity to this server in all 3 ways (ssh, ftp, http). Or, if I wait long enough (some random length of time greater than 15 mins) the ssh/ftp/http connectivity to this server is restored by itself.

More intriguingly, I also discovered that instead of doing a networking restart or waiting around, if I simply do a ping FROM this server TO any other machine on the network, then the ssh/ftp/http connectivity to this server is restored instantly.

To debug the connectivity issues, I tried to run the sshd in debug mode but found no log info when external access is attempted.

Would appreciate any ideas to explain how a ping out could restore incoming TCP connectivity (via ssh/ftp/http), or how to debug this connectivity issue.

Last edited by donnoit; 08-08-2007 at 05:15 PM.
 
Old 08-08-2007, 06:01 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
This sounds to me to be a problem with the switch or with arp. You have more than one IP address assigned to the same physical address (mac address). I wonder if a mac/port table in a switch or a mac/ip arp table in one of the hosts has incomplete information.

Last edited by jschiwal; 08-08-2007 at 06:02 PM.
 
  


Reply



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
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 15 03-30-2015 02:39 PM
Dell C-Dock-II video issue solved rjkfsm Linux - Laptop and Netbook 1 06-21-2007 03:21 PM
HP cups issue solved Bl4cKP3nGu1n Linux - Hardware 0 06-16-2005 03:13 AM
Smoothwall Update issue solved floppywhopper Linux - Security 2 03-21-2005 12:00 AM
yellowdog intermitent connection issue -- one-way ping mspier Linux - Networking 0 07-23-2004 09:10 PM

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

All times are GMT -5. The time now is 07:11 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