Solved

1 NIC connected to 2 routers

Posted on 2014-02-05
5
58 Views
Last Modified: 2016-02-07
Hi,

I have a set of PCs running a certain  business application that needs to send/receive data through 2 different lines, however each PC has only 1 network card which was initially  configured to connect to a private network via a dedicated line (leased line), the NIC is configured to have static TCP/IP values (IP, gateway, DNS of that private network). Recently, we have installed a new broadband router which is meant to be connected to those PCs as the second connection. The router is connected to a local ISP on WAN port and to the aforementioned PCs network (switch) on one of the LAN ports.

Now the question is: How to configure the NIC to forward traffic to different lines according to traffic type; i.e. http traffic goes through the broadband router and all other traffic goes through the leased line?

Cheers.
0
Comment
Question by:AMFOP
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 1

Accepted Solution

by:
Lajan Jaleel earned 500 total points
ID: 39838310
You can resolve this with Policy Based Routing

Network Policy based routing

If your network switch/Router is supporting Routing you can do a policy based routing for all your communications as you mentioned.(Kindly share your router and switch models)

From your PC you can specify routes but you will not be able to put Service like HTTP.
if you want to route all the traffic to 2.0.0.0/24 through one of your gateway, that is possible through PC routing. Here you will not be able to put the services.

I think policy based route is the only way.

Regards,
LAJAN JALEEL
0
 
LVL 71

Expert Comment

by:Chris Dent
ID: 39838489
You might also be able to do this with a Proxy server (as you can use whatever routes you need from that device).

The proxy may be an easier fit as you can be very specific about what kind of traffic is directed to the server. That server would use the broadband connection as it's next hop.

Chris
0
 
LVL 16

Expert Comment

by:SteveJ
ID: 39857351
Policy based routing is going to require that you know the IP addrs of the destinations for both the existing and new routers. If you could actually create the policy based rules, in theory you could do the same thing with static routes on the NIC. So policy based routing isn't going to help you unless you can define rules about when to go where.

So what is the purpose behind the two routers? Load balancing? Redundancy?

Good luck,
Steve
0
 

Author Comment

by:AMFOP
ID: 39862234
each router should route certain traffic; i.e. one router should ONLY route HTTP/HTTPS (this router has an ADSL line connected to it), and the other router should route everything else but HTTP/HTTPS (this router is connected to a leased line)...

The question is: where should the policy based routing be done, on the routers or the switch? any example of such policies would be appreciated.

Cheers,

Habib.
0
 
LVL 16

Expert Comment

by:SteveJ
ID: 39863086
you do policy based routing on a router . . . so where are you going to send DNS?

Good luck
SteveJ
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

738 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