Solved

Cisco Routing with 2 ISP connection

Posted on 2016-10-10
5
87 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 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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Config NAT/PAT while having sub interface config on router. 8 48
BGP DUAL ISP with IP SLA 10 71
Which will last longer in a laptop, HDD or SSD? 18 134
Cisco SRST questions 5 57
In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
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
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…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

710 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