LinuxQuestions.org
Visit Jeremy's Blog.
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 02-26-2009, 01:54 PM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Rep: Reputation: 177Reputation: 177
loss of Internet connection to linux LAN host


I have a Linux webserver host that has been fine for more than a year. No changes to the network configuration have been made since October, 2008 when a 2nd network card was added. I have also been able to ftp and ssh to/from this host from Internet located hosts. Suddenly yesterday, no web or Internet access to the host.

The linux host is on an office LAN with a Windows Office server connected via a separate lan card on the linux host. All LAN access works fine. I can get to the linux hosted web pages, log in, etc.

I can get out to Internet hosts FROM the local linux webserver. I can send mail, I can ftp, I can ssh; but I can't get to this machine from the Internet.

The whole building also has a Cisco router administered by a hired management group. Both the LAN administrator and the building net administrator say they haven't got a clue, so it is up to me, lowly webmaster, to figure what is going on.

Even though I can't ssh or ftp to this machine, a nslookup returns the correct IP. I can ping this host by domain name. What should I do do figure out the problem? traceroute? netstat? I'n no net guru.
 
Old 02-26-2009, 04:29 PM   #2
cheftec
Member
 
Registered: Jan 2009
Location: Pennsyltucky
Distribution: Debian, Ubuntu, DeLiLinux, others
Posts: 144

Rep: Reputation: 19
Quote:
Originally Posted by mfoley View Post
I'n no net guru.
Well, neither am I, but let's give this a shot. What are you using, apache? if that's your case, look at your ports.conf in /etc/apache2. Post that information. Is it possible that the ISP or the other net/router admins decided to block what port the server was listening on? You could try to change the port to something else (say, if its port 80, change it to 81) then restart your server

(depending on which distro)
/etc/init.d/apache2 force-reload
or
/etc/rc.d/init.d/apache2 force-reload

(conversely you could stop then restart it.)

Oh, and then try to get to the webpage like this:

www.blibbityblah.com:81
 
Old 02-26-2009, 04:30 PM   #3
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Original Poster
Rep: Reputation: 177Reputation: 177
I found the problem! We actually powered down the linux host, but were still able to ping the IP and domain. That told me that someone else was using the same IP address as our host. We has the building lan administrator track down the router port and found the culprit. Some other tenant in the building had simply usurped our IP address. So, there were two hosts with the same IP. We disconnected the usurper and voila! back in action.
 
  


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
Network Connection Loss And USB Connection Loss. Novatian Linux - Desktop 1 11-07-2008 02:09 PM
syntax for ssh to a given host on a LAN behind gateway/firewall from the internet Emmanuel_uk Linux - Networking 7 11-23-2006 12:37 PM
Packet loss on Internet Connection corvy Linux - Networking 0 06-11-2004 04:26 AM
Help Wanted in setting internet LAN Connection for LINUX REDHAT a_ravichandar Linux - Networking 7 07-19-2003 12:22 PM
LAN and no Linux Internet Connection dnoack Linux - Networking 1 07-08-2003 11:05 PM

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

All times are GMT -5. The time now is 05:28 AM.

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