Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Cisco Routing with 2 ISP connection

Posted on 2016-10-10
5
Medium Priority
?
105 Views
Last Modified: 2016-10-11
Dear experts, please refer to my network diagram. I have 2 internet link from 2 different ISP. 1 is main and 1 is backup. I don’t really need WAN load balancing but I would want my mail traffic to come in from either link all the time through primary and secondary MX records. NAT is configured in both the ASA. I can have all my outgoing traffic going out through a single link no problem.  

I’m trying to add in the 1902 router. In my router, I have a statement ip route 0.0.0.0 0.0.0.0 192.168.120.1. This will force all outgoing traffic out via the 1st link. If the 1st link is down I must logon to the router and change the gateway to the other link 192.168.120.2 (Singnet). Can I have more than 1 default gateway so that if I link is down it will route to the other link?

If I only configure 1 default gateway in the router, traffic only comes in from outside to inside through NAT from the active link. That means if my default route points to the ISP A, mail traffic comes in via ISP A and not B. How can I achieve mail to come in from either link all the time without adjusting the default gateway in the router?
network-diagram.pdf
0
Comment
Question by:totallypatrick
[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
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:Cheever000
ID: 41836983
You are looking at IP SLA to do that you can track an object for instance 8.8.8.8 via a specific direction you should static the route to that IP over one of the paths.  For instance ip route 8.8.8.8 255.255.255.255 192.168.120.1

ip sla 10
icmp-echo 8.8.8.8
frequency 30
exit
ip sla schedule 10 life forever start-time now

track 10 rtr 10 reachability

ip route 0.0.0.0 0.0.0.0 192.168.120.1 track 10
ip route 0.0.0.0 0.0.0.0 192.168.120.2 10

http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipsla/configuration/15-mt/sla-15-mt-book/sla_icmp_echo.html
0
 

Author Comment

by:totallypatrick
ID: 41838128
Deer Cheever, many thanks for your reply. Can I track both internet lines?


ip route 0.0.0.0 0.0.0.0 192.168.120.1 track 10
ip route 0.0.0.0 0.0.0.0 192.168.120.2 10 track 10
0
 
LVL 9

Accepted Solution

by:
Cheever000 earned 2000 total points
ID: 41838749
you don't need too track both and if you use the same track number it will remove both of the routes when it is down.  
ip route 0.0.0.0 0.0.0.0 192.168.120.1 track 10  -- This will be the active route as its AD is 1 for static, when track 10 is unreachable it will remove the route from the tracking table
When that occurs, the route below is entered in to the routing table with an AD of 10.  When the other route works again the best route with AD 1 will be re-entered in to the route table.
ip route 0.0.0.0 0.0.0.0 192.168.120.2 10
0
 

Author Comment

by:totallypatrick
ID: 41839488
thanks Cheever, you're spot on!
0
 

Author Closing Comment

by:totallypatrick
ID: 41839489
Works well. Thanks!
0

Featured Post

Optimum High-Definition Video Viewing and Control

The ATEN VM0404HA 4x4 4K HDMI Matrix Switch supports 4K resolutions of UHD (3840 x 2160) and DCI (4096 x 2160) with refresh rates of 30 Hz (4:4:4) and 60 Hz (4:2:0). It is ideal for applications where the routing of 4K digital signals is required.

Question has a verified solution.

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

How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
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…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

670 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