cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2061
Views
47
Helpful
21
Replies

Tracking!!!

examples20001
Level 1
Level 1

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.

21 Replies 21

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....

In this setting, I am not sure how your switch will understand if ISP link fails

I have attached the router config and full network diagram.

Router will change the route with tracking.

Is the previous switch config and router config for EIGRP OK...?

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

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.

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.

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.