LinuxQuestions.org
Visit Jeremy's Blog.
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 07-01-2004, 01:54 PM   #1
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Server not responding on public IP


OK, first the background information.

The state network assigned me 2 public IPs which are NATed to 2 private IPs. The private IPs are 10.16.50.100 and 10.16.50.102. The state network forwards all traffic going to the 2 public IPs to those 2 internal IPs, so any device on one of those internal IPs will be visible by both the external and internal IPs, even though the NIC will only be assigned a single IP.

Now, I have had a Slackware 9.0 server setup as my Web and DHCP server. It is setup on 10.16.50.102, and worked fine for the last few months. People on the internet and the LAN could see the website without any problems.

Slackware 10 was just released, and I wanted to redo the server anyway, so today I started with a fresh install of Slackware 10 on a different machine. I then installed all the programs that where running on the Slackware 9 machine, and then their configuration files.

To clients on the LAN, the two machines are identical. The problem arises on the internet. When I bring down the Slackware 9 server, and bring up the Slackware 10 server on 10.16.50.102, the Slackware 10 server does not accept any traffic coming from the public IP. Internal traffic still works perfectly, however. I take the 10 server down, and put the 9 back up, and our website is instantly available on the public IP again.

So what is the problem? These 2 servers should be completely identical. Is there something that needs to be setup differently on Slackware 10 to allow connections from the internet? There is no firewall on the machine.

Can anyone give me an idea as to what the problem might be?
 
Old 07-01-2004, 03:44 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
It sounds like the default route is probably wrong on the new server. Are the routing tables the same on both machines?
route -n

The line beginning "0.0.0.0" is the important one in this case.
 
Old 07-01-2004, 06:39 PM   #3
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Original Poster
Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
The routing tables match on the two servers.
 
Old 07-01-2004, 10:40 PM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Quote:
Slackware 10 server does not accept any traffic coming from the public IP
Can you see any traffic coming to Slackware 10 on the 50.102 interface?

If not, it is possible the state network has bound the mappings to your Slackware 9 NIC's MAC address.. guessing.

Last edited by ppuru; 07-01-2004 at 10:41 PM.
 
Old 07-02-2004, 04:16 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
What error are you getting? Connection refused?

Can the slack 10 server see the internet ok? - ie:
lynx http://www.google.com
 
  


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
Linux server stops responding to telnet requests lab123 Linux - Networking 1 10-25-2005 11:51 AM
Server stops responding, ssh, etc.. ddelao Linux - Software 0 09-04-2005 09:50 AM
dns server not responding divdude Linux - Networking 10 08-15-2005 02:29 AM
Suse Server 8.0 Stops Responding Henry1 SUSE / openSUSE 0 01-07-2005 12:56 AM
Redirect when web server not responding Bebo Programming 6 07-29-2004 12:22 PM

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

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