Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
07-01-2004, 01:54 PM
|
#1
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
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?
|
|
|
07-01-2004, 03:44 PM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
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.
|
|
|
07-01-2004, 06:39 PM
|
#3
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
Original Poster
|
The routing tables match on the two servers.
|
|
|
07-01-2004, 10:40 PM
|
#4
|
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791
Rep:
|
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.
|
|
|
07-02-2004, 04:16 PM
|
#5
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
What error are you getting? Connection refused?
Can the slack 10 server see the internet ok? - ie:
lynx http://www.google.com
|
|
|
All times are GMT -5. The time now is 05:23 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|