Solved

1 NIC connected to 2 routers

Posted on 2014-02-05
5
59 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

734 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