2 NICs (1 for LAN, 1 for internet) on 1 server, how do I correctly route traffic?

25 pts.
Local area networks
Windows Server 2000
Have an application server with 2 NICs.  
LAN1 = corporate network (in which clients connect to server for app use) LAN2 = DSL internet & remote connection
The application on this server is designed to send alerts to the clients (connected via LAN1) and it also has email functionality (configured using POP3) that needs to be outbound via LAN2 due to LAN1 blocking this traffic.
Right now, LAN1 does not have a default gateway defined which is allowing the email functionality to work just fine, clients can connect to the server's app via LAN1 fine as well, but the alerts that the app is supposed to send to the client does not work.
When I disable LAN2 completely, clients connect to the server's app fine and the application successfully sends alerts to the clients as it is designed to do, but the email functionality no longer works because of the blocked outbound traffic.
What is the proper way to set this up?  Is it something that can be correcting using static routes?  RRAS perhaps?  

Software/Hardware used:
Windows Server 2000

Answer Wiki

Thanks. We'll let you know when a new response is added.

Since you’re technically using the server as a “router”, any network traffic destined for the outside world should have the server LAN NIC’s IP as their gateway.

Using static routes is one way to go, or, since Microsoft servers support it, using RIPv2 as your internal dynamic routing protocol will greatly simplify things for you. Enable RIP, add your network statements (disable auto-summary if need be) and let it fly..

Discuss This Question: 4  Replies

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • saturno
    Hello, Sorry but for me you might be turning on what I usually call "the complication switch". Tell me one thing: Is there any reasonable reason for you to have two networks? If the primary job/function/whatever of that server is not fire-walling or routing traffic as it seems to, why should you bother with that kind of functionality - i.e. installing RRAS configuring it and administering that server.... From your scenario, if I were you, I just reconfigure those two networks into one. All clients and server would be using the same network and all of them the same gateway (the one you already have). Is there any reason preventing you to do so? Please post back any further questions or details
    4,585 pointsBadges:
  • Deshawn4
    I'm not using the server as a router at this time. We also have no control over LAN1, the corporate network. The server is the only machine on the network that has access to the DSL line (LAN2). The DSL Router is configured as a VPN server for authorized users to VPN and remote connect to the server via LAN2. The application on this server sends out email notifications that need to be outbound via LAN2 as well because such traffic is denied by corporate (LAN1). Saturno suggests reconfiguring the two networks as one but will I be able to use both gateways? How do I configure and use two separate gateways with 2 NICs on one server? If I need to email someone ipconfig and route print screens, let me know.
    25 pointsBadges:
  • Deshawn4
    A mapping entry in the application config file helped me do what I needed to do without any kind of reconfiguring of the network connections. Thanks for the assistance guys.
    25 pointsBadges:
  • Sixball
    Thanks for the update - :)
    8,705 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.


Share this item with your network: