两台路由器SR8805做vrrp,路由器之间通过两台交换机相连

 互联网资讯   2023-02-06 10:23   206 人阅读  0 条评论
1675650201,

问题描述:

如图R4 R5路由器之间可以ping通,但是不能形成备份,状态都是master

[RT4] DIS VRRP
 IPv4 Standby Information:
     Run Mode       : Standard
     Run Method     : Virtual MAC
 Total number of virtual routers : 1
 Interface          VRID   State       Run     Adver   Auth     Virtual
                                       Pri     Timer   Type        IP
 ---------------------------------------------------------------------
 GE0/0/0            1      Master      120     1       Simple   10.189.185.1
[RT4]DIS VRRP S
[RT4]DIS VRRP statistics 
 Interface               : GigabitEthernet0/0/0
 VRID                    : 1
 CheckSum Errors         : 0          Version Errors                : 0
 Invalid Type Pkts Rcvd  : 0          Advertisement Interval Errors : 0
 IP TTL Errors           : 0          Auth Failures                 : 0
 Invalid Auth Type       : 0          Auth Type Mismatch            : 0
 Packet Length Errors    : 0          Address List Errors           : 0
 Become Master           : 1          Priority Zero Pkts Rcvd       : 0
 Adver Rcvd              : 0          Priority Zero Pkts Sent       : 0
 Adver Sent              : 2599

 Global statistics
 CheckSum Errors         : 0
 Version Errors          : 0
 VRID Errors             : 0

<RT5> DIS VRRP
 IPv4 Standby Information:
     Run Mode       : Standard
     Run Method     : Virtual MAC
 Total number of virtual routers : 1
 Interface          VRID   State       Run     Adver   Auth     Virtual
                                       Pri     Timer   Type        IP
 ---------------------------------------------------------------------
 GE0/0/0            1      Master      100     1       Simple   10.189.185.1
<RT5>DIS VRRP S
<RT5>DIS VRRP statistics 
 Interface               : GigabitEthernet0/0/0
 VRID                    : 1
 CheckSum Errors         : 0          Version Errors                : 0
 Invalid Type Pkts Rcvd  : 0          Advertisement Interval Errors : 0
 IP TTL Errors           : 0          Auth Failures                 : 0
 Invalid Auth Type       : 0          Auth Type Mismatch            : 0
 Packet Length Errors    : 0          Address List Errors           : 0
 Become Master           : 1          Priority Zero Pkts Rcvd       : 0
 Adver Rcvd              : 0          Priority Zero Pkts Sent       : 0
 Adver Sent              : 2630

 Global statistics
 CheckSum Errors         : 0
 Version Errors          : 0
 VRID Errors             : 0


[RT4]ping -a 10.189.185.2 10.189.185.3
  PING 10.189.185.3: 56  data bytes, press CTRL_C to break
    Request time out
    Reply from 10.189.185.3: bytes=56 Sequence=2 ttl=253 time=10 ms
    Reply from 10.189.185.3: bytes=56 Sequence=3 ttl=253 time=1 ms
    Request time out
    Reply from 10.189.185.3: bytes=56 Sequence=5 ttl=253 time=1 ms

  --- 10.189.185.3 ping statistics ---
    5 packet(s) transmitted
    3 packet(s) received
    40.00% packet loss
    round-trip min/avg/max = 1/4/10 ms

组网及组网描述:

RT4]DIS CU

 sysname RT4

#
interface GigabitEthernet0/0/0
 port link-mode route
 ip address 10.189.185.2 255.255.255.240
 vrrp vrid 1 virtual-ip 10.189.185.1
 vrrp vrid 1 priority 120
 vrrp vrid 1 preempt-mode timer delay 20
 vrrp vrid 1 track interface GigabitEthernet0/0/2 reduced 50
 vrrp vrid 1 authentication-mode simple 123

 ip route-static 10.189.185.3 255.255.255.255 10.189.185.9
#
 sysname RT5

interface GigabitEthernet0/0/0
 port link-mode route
 ip address 10.189.185.3 255.255.255.240
 vrrp vrid 1 virtual-ip 10.189.185.1
 vrrp vrid 1 preempt-mode timer delay 20
 vrrp vrid 1 track interface GigabitEthernet0/0/2 reduced 50
 vrrp vrid 1 authentication-mode simple 123

#
 ip route-static 10.189.185.2 255.255.255.255 10.189.185.10



<SW1>
#Jul 27 11:03:06:139


#
 sysname SW1
#
 ip ttl-expires enable
 ip unreachables enable
interface GigabitEthernet0/0/0
 port link-mode route
 ip address 10.189.185.9 255.255.255.240
#
interface GigabitEthernet0/0/1
 port link-mode route
 ip address 10.0.0.1 255.255.255.0
#
 ip route-static 0.0.0.0 0.0.0.0 10.189.185.1
 ip route-static 10.189.185.0 255.255.255.252 10.189.185.2
 ip route-static 10.189.185.0 255.255.255.252 10.0.0.2


 sysname SW2
#

 ip ttl-expires enable
 ip unreachables enable
interface GigabitEthernet0/0/0
 port link-mode route
 ip address 10.189.185.10 255.255.255.240
#              
interface GigabitEthernet0/0/1
 port link-mode route
 ip address 10.0.0.2 255.255.255.0
#
#
 ip route-static 0.0.0.0 0.0.0.0 10.189.185.1
 ip route-static 10.189.185.0 255.255.255.252 10.189.185.3
 ip route-static 10.189.185.0 255.255.255.252 10.0.0.1

(0)

最佳答案

已采纳 风干工程师肉干要不要 风干工程师肉干要不要 九段 粉丝:137人 关注:5人

VRRP报文是二层的,两台88之间要二层互通,你中间交换机都是三层口,VRRP肯定起不来呀

SR8805(vrrp master)------vlan1(bridge)  SW1 vlan1(bridge) -------vlan1(bridge)  SW2 vlan1(bridge) -------SR8805(vrrp backup)

(0)

能不能说下,怎么修改啊,我是把两台交换机相连链路改成二层链路?

小白求帮忙 发表时间:

两台88之间二层互通就行了,VRRP通报报文是组播报文,组播报文是跨三层的,我在回答中补充一下

风干工程师肉干要不要 发表时间:

如果是主接口启VRRP,那么下面交换机需要二层access口透传。

最简单的方法:把两台路由器直接用网线连起来看看状态是否正常。

(0)

回复xxx [x],两台路由器SR8805做vrrp,路由器之间通过两台交换机相连

版权声明:本文内容源于互联网搬运整理,仅限于小范围内传播学习和文献参考,不代表本站观点,请在下载后24小时内删除,如果有侵权之处请第一时间联系我们删除。敬请谅解! E-mail:c#seox.cn(#修改为@)


CRM论坛:CRM论坛(CRMBBS.COM)始办于2019年,是致力于✅CRM实施方案✅免费CRM软件✅SCRM系统✅客户管理系统的垂直内容社区网站,CRM论坛持续专注于CRM领域,在不断深化理解CRM系统的同时,进一步利用新型互联网技术,为用户实现企业、客户、合作伙伴与产品之间的无缝连接与交互。

评论已关闭!