cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
482
Views
0
Helpful
4
Replies

Tracking

dumlutimuralp
Level 1
Level 1

Hi all,

What happens if I install two routes like

ip route 1.1.1.0 255.255.255.0 2.2.2.2 track100

and

ip route 1.1.1.0 255.255.255.0 3.3.3.3 track 120

and if both tracks are in "UP" state ?

Is equal cost load balancing taken into account on Cisco router ?

Also I noticed that when I install two routes like

ip route 1.1.1.0 255.255.255.0 2.2.2.2 (without track)

and

ip route 1.1.1.0 255.255.255.0 2.2.2.2 track 123

which route is installed ? if tracking is up, do both routes get installed ?

Thanks in advance.

4 Replies 4

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Dumlu,

good question

documentation talks of a primary route (tracked) and a secondary route (floating and not tracked)

to be noted that you cannot specify an AD on a static route with track option enabled.

However, if you don't use local policy you probably can use both but it is something to be tested.

see

http://www.cisco.com/en/US/docs/ios/12_3/12_3x/12_3xe/feature/guide/dbackupx.html#wp1070516

Hope to help

Giuseppe

Hi Giuseppe,

Thanks for the answer but on a Cisco 3750 Ive just been able to add a static route both with an AD and a track ???

KRK-LAN-3750(config)#ip rou

KRK-LAN-3750(config)#ip route 1.1.1.0 ?

A.B.C.D Destination prefix mask

KRK-LAN-3750(config)#ip route 1.1.1.0 255.255.255.0 10.44.1.1 ?

<1-255> Distance metric for this route

name Specify name of the next hop

permanent permanent route

tag Set tag for this route

track Install route depending on tracked item

KRK-LAN-3750(config)#ip route 1.1.1.0 255.255.255.0 10.44.1.1 10 ?

name Specify name of the next hop

permanent permanent route

tag Set tag for this route

track Install route depending on tracked item

KRK-LAN-3750(config)#ip route 1.1.1.0 255.255.255.0 10.44.1.1 10 trak

KRK-LAN-3750(config)#ip route 1.1.1.0 255.255.255.0 10.44.1.1 10 trac

KRK-LAN-3750(config)#ip route 1.1.1.0 255.255.255.0 10.44.1.1 10 track 123

KRK-LAN-3750(config)#

KRK-LAN-3750(config)#

KRK-LAN-3750(config)#do show ip route static

1.0.0.0/24 is subnetted, 1 subnets

S 1.1.1.0 [10/0] via 10.44.1.1

195.87.29.0/32 is subnetted, 1 subnets

S 195.87.29.222 [1/0] via 10.44.1.1

81.0.0.0/29 is subnetted, 2 subnets

S 81.8.106.144 [1/0] via 81.8.106.154

195.87.78.0/29 is subnetted, 1 subnets

S 195.87.78.80 [1/0] via 10.44.1.1

198.18.1.0/32 is subnetted, 1 subnets

S 198.18.1.65 [1/0] via 10.44.1.1

KRK-LAN-3750(config)#do sh ver

Cisco IOS Software, C3750 Software (C3750-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2008 by Cisco Systems, Inc.

Compiled Sat 05-Jan-08 00:29 by weiliu

Image text-base: 0x00003000, data-base: 0x01800000

ROM: Bootstrap program is C3750 boot loader

BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.2(25r)SEC, RELEASE SOFTWARE (fc4)

KRK-LAN-3750 uptime is 30 weeks, 6 days, 13 hours, 31 minutes

System returned to ROM by power-on

System image file is "flash:/c3750-advipservicesk9-mz.122-44.SE.bin"

This product contains cryptographic features and is subject to United

States and local country laws governing import, export, transfer and

use. Delivery of Cisco cryptographic products does not imply

third-party authority to import, export, distribute or use encryption.

Importers, exporters, distributors and users are responsible for

compliance with U.S. and local country laws. By using this product you

agree to comply with applicable laws and regulations. If you are unable

to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:

http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to

export@cisco.com.

cisco WS-C3750-24TS (PowerPC405) processor (revision L0) with 118784K/12280K bytes of memory.

Processor board ID CAT1037RHLM

Last reset from power-on

9 Virtual Ethernet interfaces

Hello Dumlu,

yes you have been able to set AD to 10 and to add a tracking option

A collegue of mine had tried to configure on a c2811

But I see it is possible on another c2811 we have in production

ip route 1.1.1.0 255.255.255.0 tunnel18 210 track ?

<1-500> tracked object number

or also as

ip route 1.1.1.0 255.255.255.0 tunnel18 track 100 ?

<1-255> Distance metric for this route

name Specify name of the next hop

tag Set tag for this route

System image file is "flash:c2800nm-adventerprisek9-mz.124-7a.bin"

So my note is wrong or release dependent

Thanks for your feedback this could open to the possibility of a multi-level hierarchy of tracked static routes.

Hope to help

Giuseppe

Hi again,

Well Guiseppe I am still just curious if it does load balancing in case both tracks are up :)

Review Cisco Networking products for a $25 gift card