?
Solved

Dual ADSL Router to Win2003 Server with Single NIC

Posted on 2012-04-12
7
Medium Priority
?
750 Views
Last Modified: 2012-04-17
Hi

I have a client who has had a 2nd ADSL installed with their SINGLE NIC Windows 2003 server behind.

They now have 2 Netgear DG834 routers configured as

Router1
Public IP 80.14.x.x
LAN IP 192.168.180.1

Router2
Public IP 85.20.x.x
LAN IP 192.168.180.5

SBServer
LAN IP 192.168.180.2
Gateway IP 192.168.180.1

This works fine to send incoming SMTP, Web and RAS traffic IN through Router1.

The problem occurs when I send traffic in through Router2. I get no response back from the server? I can see that the traffic is hitting the router from its logs and being forwarded to the Server.

Is this because the Server NIC has a gateway of 192.168.180.1 and is sending the response traffic out to Router 1?

I have tried setting a static route on Router 1 to Router 2 as follows:

Destination IP 85.20.x.x (Router2 Public IP)    Gateway 192.168.180.5

but that doesn't work.

I have tried setting a second gateway on the server NIC of 192.168.180.5 and that seems to break everything!

Can someone please advise.

M
0
Comment
Question by:Winfix1
7 Comments
 
LVL 11

Expert Comment

by:Kruno Džoić
ID: 37836459
You want to send traffic from Server to routers
or from Client to Server and Server to routers?
0
 

Author Comment

by:Winfix1
ID: 37836472
M3rc74

I want incoming SMTP, Web and other traffic to be able to come in and out through both routers. ie to use the second ADSL as a failover incoming route for SMTP traffic once a second MX record is setup.
0
 
LVL 11

Assisted Solution

by:Kruno Džoić
Kruno Džoić earned 600 total points
ID: 37836506
The best way to achieve this is to buy Dual WAN router or make one from old PC
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
LVL 19

Expert Comment

by:Miguel Angel Perez Muñoz
ID: 37836737
With this scenario, can do manually, changing default gateway. But adding a second gateway not work.
0
 

Author Comment

by:Winfix1
ID: 37836765
I want to use the existing Routers and don't want manual intervention. Surely its a simple thing achieve. Maybe I need to add a static route to the IP config of the server?
0
 
LVL 2

Assisted Solution

by:George Fendler
George Fendler earned 600 total points
ID: 37838739
No, this is not a simple as it sounds. Drashiel is correct. Load balancing is more complicated than it sounds. The IP header only has one field for the return path. When you send something out over gateway-1, it will never come back over gateway-2.
Just my $0.02
0
 
LVL 5

Accepted Solution

by:
gortm001 earned 800 total points
ID: 37842035
The problem you are facing is that that you can only have 1 default gateway. Look at your server (open a dos-prompt and type route print)

You will see that youre server only knows his own network 192.168.180.x that is connected to his own Nic, the .2 address. Everything else that does not fit the mask of 192.168.180.x he will send to his default gateway on number 1, making it his problem to deliver it on the right location.

As M3rc74 already mentioned, if you really want to solve this with the least amount of mony spent, I would suggest that you replace both netgears with f.i. a Vigor 29x0 series router, who supports the use of 2 WAN's including load balancing and redundancy.

See http://www.draytek.com/user/PdInfoDetail.php?Id=31 for more detailed info.

Afaik this is  "Out of the box" functionality.

The reason portfowarding on your second router is not working is also easily explained: Your router is doing NAT, so the IPpackage from the outside  arriving at the outside address of your second router is delivered to the internal address of the server. Since the originating address is an external mailserver and NOT the internal address of of your second router (192.168.180.5) responses from the server will be sent through the default gateway. Since this is outbound traffic NAT in your first router will replace the originating sender addres (your servers internal address 192.168.180.1) with the external address of your first router.

You might see that this is very confusing for the sending mailserver, talking to Ip address A, getting answers from IP address B, that will not work.

Hope this helps,

KG
0

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

568 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question