Solved

Cisco Routing with 2 ISP connection

Posted on 2016-10-10
5
46 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
  • 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 500 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

We've been using the Cisco/Linksys RV042 for years as: - an internet Gateway - a site-to-site VPN device - a leased line site-to-site subnet-to-subnet interface (And, here I'm assuming that any RV0xx behaves the same way as an RV042.  So that's …
There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
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…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now