教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 精品文档 > 互联网资料 >

VRRP+Track+RTR配合使用解决 - keepalive跨网段问题(2)

来源:网络收集 时间:2026-09-07
导读: Currnet priority : 200 Priority reduced : 0 Preempt-mode : YES Advertise-interval : 1 Authentication Mode : None Track object : 1 Reduce : 120 Reduce state : NO VRRP-A# VRRP-A#sh ip route Codes: C -

Currnet priority : 200 Priority reduced : 0 Preempt-mode : YES Advertise-interval : 1

Authentication Mode : None Track object : 1 Reduce : 120

Reduce state : NO VRRP-A#

VRRP-A#sh ip route

Codes: C - connected, S - static, R - RIP, O - OSPF, OE-OSPF External, M - Management

D - Redirect, E - IRMP, EX - IRMP external, o - SNSP, B - BGP, i-ISIS

Gateway of last resort is 2.1.1.2 to network 0.0.0.0

S 0.0.0.0/0 [1/100] via 2.1.1.2, 00:01:29, fastethernet1 C 1.1.1.0/24 is directly connected, 01:25:05, fastethernet0 C 2.1.1.0/24 is directly connected, 01:25:22, fastethernet1 C 127.0.0.0/8 is directly connected, 03:33:16, lo0

VRRP-A#

从以上状态可以看出,两组RTR的状态都是REACHABLE的。同时VRRP的状态也是Master。路由的下一跳是指向R3。 2、断开R3

VRRP-A#sh rtr group 1

----------------------------------------------

ID:1 name:rtrGroup1 Members schedule interval:0 Option: AND Status:UNREACHABLE ***************************** type:SINGLE Entity Id :1 VRRP-A#sh rtr group 2

----------------------------------------------

ID:2 name:rtrGroup2 Members schedule interval:0 Option: AND Status:REACHABLE ***************************** type:SINGLE Entity Id :2 VRRP-A#sh vrrp

Interface fastethernet0 (Flags 0x1) Pri-addr : 1.1.1.1 Vrf : 0

Virtual router : 1

Virtual IP address : 1.1.1.10

Virtual MAC address : 00-00-5e-00-01-01

Depend prefix:1.1.1.1/24 State : Master

Normal priority : 200 Currnet priority : 200 Priority reduced : 0 Preempt-mode : YES Advertise-interval : 1

Authentication Mode : None Track object : 1 Reduce : 120

Reduce state : NO VRRP-A#

VRRP-A#sh ip route

Codes: C - connected, S - static, R - RIP, O - OSPF, OE-OSPF External, M - Management

D - Redirect, E - IRMP, EX - IRMP external, o - SNSP, B - BGP, i-ISIS

Gateway of last resort is 2.1.1.3 to network 0.0.0.0

S 0.0.0.0/0 [100/100] via 2.1.1.3, 00:00:00, fastethernet1 C 1.1.1.0/24 is directly connected, 01:25:52, fastethernet0 C 2.1.1.0/24 is directly connected, 01:26:09, fastethernet1 C 127.0.0.0/8 is directly connected, 03:34:02, lo0

VRRP-A#

当断开R3后,RTR组1的状态已经变为UNREACHABLE,但是VRRP的状态并没有切换还是master状态,默认路由的下一跳也由R3变到了 R4。 3、断开R3和R4

VRRP-A#sh rtr group 1

----------------------------------------------

ID:1 name:rtrGroup1 Members schedule interval:0 Option: AND Status:UNREACHABLE ***************************** type:SINGLE Entity Id :1 VRRP-A#sh rtr group 2

----------------------------------------------

ID:2 name:rtrGroup2 Members schedule interval:0 Option: AND Status:UNREACHABLE ***************************** type:SINGLE Entity Id :2 VRRP-A#sh vrrp

Interface fastethernet0 (Flags 0x1) Pri-addr : 1.1.1.1 Vrf : 0

Virtual router : 1

Virtual IP address : 1.1.1.10

Virtual MAC address : 00-00-5e-00-01-01 Depend prefix:1.1.1.1/24 State : Backup

Master addr : 1.1.1.2 Normal priority : 200 Currnet priority : 80 Priority reduced : 120 Preempt-mode : YES Advertise-interval : 1

Authentication Mode : None Track object : 1 Reduce : 120

Reduce state : YES VRRP-A#

VRRP-A#sh ip route

Codes: C - connected, S - static, R - RIP, O - OSPF, OE-OSPF External, M - Management

D - Redirect, E - IRMP, EX - IRMP external, o - SNSP, B - BGP, i-ISIS

Gateway of last resort is not set

C 1.1.1.0/24 is directly connected, 01:22:12, fastethernet0 C 2.1.1.0/24 is directly connected, 01:22:29, fastethernet1 C 127.0.0.0/8 is directly connected, 03:30:23, lo0

VRRP-A#

同时断开R3和R4后,两个RTR组的状态都变为UNREACHABLE,VRRP已经发生切换变为backup状态。同时两条默认路由都消失了。 4、恢复R4

VRRP-A# sh rtr group 1

----------------------------------------------

ID:1 name:rtrGroup1 Members schedule interval:0 Option: AND Status:UNREACHABLE ***************************** type:SINGLE Entity Id :1 VRRP-A# sh rtr group 2

----------------------------------------------

ID:2 name:rtrGroup2 Members schedule interval:0 Option: AND Status:REACHABLE ***************************** type:SINGLE Entity Id :2 VRRP-A#sh vrrp

Interface fastethernet0 (Flags 0x1) Pri-addr : 1.1.1.1 Vrf : 0

Virtual router : 1

Virtual IP address : 1.1.1.10

Virtual MAC address : 00-00-5e-00-01-01 Depend prefix:1.1.1.1/24 State : Master

Normal priority : 200 Currnet priority : 200 Priority reduced : 0 Preempt-mode : YES Advertise-interval : 1

Authentication Mode : None Track object : 1 Reduce : 120

Reduce state : NO VRRP-A#sh ip route

Codes: C - connected, S - static, R - RIP, O - OSPF, OE-OSPF External, M - Management

D - Redirect, E - IRMP, EX - IRMP external, o - SNSP, B - BGP, i-ISIS

Gateway of last resort is 2.1.1.3 to network 0.0.0.0

S 0.0.0.0/0 [100/100] via 2.1.1.3, 00:00:21, fastethernet1 C 1.1.1.0/24 is directly connected, 01:22:56, fastethernet0 C 2.1.1.0/24 is directly connected, 01:23:13, fastethernet1 C 127.0.0.0/8 is directly connected, 03:31:07, lo0

VRRP-A#

在恢复R4后,同第2步。 5、恢复R3

VRRP-A#sh rtr group 1

----------------------------------------------

ID:1 name:rtrGroup1 Members schedule interval:0 Option: AND Status:REACHABLE ***************************** type:SINGLE Entity Id :1 V …… 此处隐藏:3925字,全部文档内容请下载后查看。喜欢就下载吧 ……

VRRP+Track+RTR配合使用解决 - keepalive跨网段问题(2).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.jiaowen.net/wendang/445154.html(转载请注明文章来源)
Copyright © 2020-2025 教文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:78024566 邮箱:78024566@qq.com
苏ICP备19068818号-2
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)