取消
显示结果 
搜索替代 
您的意思是: 
cancel
1134
查看次数
0
有帮助
1
回复

track跟踪路由无法恢复问题(旧路由不支持sla功能)

11005965
Level 1
Level 1

请各位大神专家们帮帮分析一下,谢谢

interface FastEthernet0/1
ip address 178.2.253.106 255.255.255.252
duplex auto
speed auto
!

interface Serial0/0/1:0
ip address 178.2.252.6 255.255.255.252
encapsulation ppp

 

track 12 ip route 178.2.253.105 255.255.255.252 reachability
delay down 5 up 10
!
ip route 0.0.0.0 0.0.0.0 178.2.253.105 10 name LT track 12
ip route 0.0.0.0 0.0.0.0 178.2.252.5 20 name DX

-------------------------------------------------
断掉FastEthernet0/1接口(第一条LT路由对应接口),能自动切换至第二条路由

但是恢复FastEthernet0/1接口,等待很长时间,也没有恢复第一路由,
在这种情况下,再点掉Serial0/0/1:0接口时候,整改路由器都连不上了,

-------------------------
SY-HPDJ#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is 178.2.252.5 to network 0.0.0.0

C 192.168.182.0/24 is directly connected, FastEthernet0/0
178.2.0.0/16 is variably subnetted, 3 subnets, 2 masks
C 178.2.253.104/30 is directly connected, FastEthernet0/1
C 178.2.252.4/30 is directly connected, Serial0/0/1:0
C 178.2.252.5/32 is directly connected, Serial0/0/1:0
S* 0.0.0.0/0 [20/0] via 178.2.252.5 查看路由表,发现一直是这个第二路由
SY-HPDJ#

1 条回复1

YilinChen
Spotlight
Spotlight

根据楼主描述,其实是2个问题:

1、Track在对应接口UP/DOWN后,是否生效;这个可以通过show 命令可以检查 track的状态,建议验证一下;

2、当有2条静态默认路由时,是需要调整备用路由的优先级的,第二条静态路由 ip route 0.0.0.0 0.0.0.0 178.2.252.5 20 name DX 的优先级改大。

另外,

快捷链接