09-14-2010 09:03 AM - edited 03-06-2019 12:58 PM
Hi.
I am using dual homing for internet connection.
I want to force all traffic from the LAN to access the internet via Router #1 while Router #2 is a backup.
I want to track TCP port 6000 (communication between a certain host on the internet talking to a certain PC on the LAN) and in case TCP port 6000 is down, to route the traffic between them via Router #2.
This is the only traffic passing between the LAN and the host on the internet.
Now I have two static routing lines configured with different cost.
I want to use IP SLA, tracking TCP port 6000 and switch to the backup Router in case TCP port 6000 is down.
Can some one post a simple configuration to do so?
Thank you.
Danny.
09-14-2010 09:31 AM
One way you could do it is setup HSRP between both routers and on the active router you could track something upstream by using pings or telnet TCP port 6000 , but give up the active role once it loses either telnet or ping.
so you can configure IP SLA to ping a host and associate this SLA to a track.
On the HSRP configuration, you can use the track option instead of the interface.
Please read this chapter and at the bottom of the chapter, a HSRP example is illustrated.
http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cg/hiap_c/haipbtrk.htm
Francisco.
09-15-2010 12:04 AM
Hi Francisco.
Thank you for your reply.
But, I am looking for something specific, I have some limitations not mentioned.
Can I track TCP port 6000 using IP SLA and then using a switch over between the routers with the track option in the static routing in case of a crash in the application running over TCP port 6000?
HSRP should not be a part of the solution and neither ICMP echo (IP address can be OK but the application may crash).
All solution should be based on IP SLA tracking TCP port 6000.
Danny.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide