07-21-2006 12:28 AM - edited 03-03-2019 01:24 PM
Hi All,
I would like to know is the tracking function is Cisco switch, like object tracking in cisco router.
I want to change the default route from one router1 (ISP1) to another router2 (ISP2) in switch by tracking the ISP status of router1 global interface line-protocol status.
If switch detects the router1 ISP1 route is up/down with tracking funtion, switch should redirect the default traffic to router 2 to ISP2.
Is it possible in switch? Which switch supports this feature and which switch IOS has got this function?
Thank you.
07-25-2006 02:50 AM
I cannot run HSRP, so i will be using EIGRP in both ISR routers and both switches.
I`ll remove the secondary IP address from both routers.
Client pc`s will have only one default gateways and it will be there perticular switches.
For LAN segment A, the DG is 172.17.24.62 in all client pc`s, which is the ip address of the switch.
ip route 0.0.0.0 0.0.0.0 172.17.24.9 in A`s switch
ip route 0.0.0.0 0.0.0.0 172.17.16.6 190 in A`s switch
router eigrp 24
network 172.17.24.0 0.0.0.255
network 172.17.16.0 0.0.0.255
redistribute static
For LAN segment B, the DG is 172.17.16.30 in all client pc`s, which is the ip address of the switch.
ip route 0.0.0.0 0.0.0.0 172.17.16.6 in B`s switch
ip route 0.0.0.0 0.0.0.0 172.17.24.9 190 in B`s switch
router eigrp 24
network 172.17.16.0 0.0.0.255
network 172.17.24.0 0.0.0.255
redistribute static
Is the setting ok....
07-25-2006 03:40 AM
In this setting, I am not sure how your switch will understand if ISP link fails
07-25-2006 04:14 AM
07-26-2006 10:12 PM
1. If in the PCs you are giving gateway address as router's ethernet adress, this will not work. You need to have VLAN interfaces in switches, where PCs will forward traffic to its VLAN interface on switch and then switches will forward traffic to the router.
2. Not sure if you are using tracking for any other purpose. But if you are using eigrp, tracking may not be required. Following can be the configs on the routers
A_ISR
router eigrp 7
network ETHERNET NETWORK
redistribute static
ip route 0.0.0.0 0.0.0.0 x.y.z.11
B_ISR
router eigrp 7
network ETHERNET NETWORK
redistribute static
ip route 0.0.0.0 0.0.0.0 l.m.n.51 190
And on switches
Switch_A
router eigrp 7
network ROUTER CONNECTION
network LAN
network SWITCH_B CONEECTION
Switch_B
router eigrp 7
network ROUTER CONNECTION
network LAN
network SWITCH_A CONNECTION
I think this much should achieve the results you want
07-27-2006 12:34 AM
Thank you very much for the help.
The client pc`s gateway address are of switch`s vlan only.
I`ll try it out and post the results.
Thank you.
07-27-2006 01:26 AM
In additional on Anand's proposal. You only need to configure two VLANs in the trunk between two switches. The .16 & .24, but you only need to assign the one VLAN for each switch's physical port. e.g. .16 assign to sw A LAN port and included in the trunk to sw B; .24 assign to sw B LAN port and included in the trunk to sw A only. It provides the back path for uplink to ISP A & B.
07-27-2006 03:19 AM
Thank you very much for the help.
As per the design, it is as per your suggestions only.
I`ll try it out and post the results.
Thank you.
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