如图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 2017 SW1 SHELL/4/LOGIN:
Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.1<hh3cLogIn>: login from Console
%Jul 27 11:03:06:139 2017 SW1 SHELL/5/SHELL_LOGIN: Console logged in from con0.DIS CU
#
#
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)
最佳答案
VRRP报文是二层的,两台88之间要二层互通,你中间交换机都是三层口,VRRP肯定起不来呀
SR8805(vrrp master)------vlan1(bridge) SW1 vlan1(bridge) -------vlan1(bridge) SW2 vlan1(bridge) -------SR8805(vrrp backup)
(0)
能不能说下,怎么修改啊,我是把两台交换机相连链路改成二层链路?
两台88之间二层互通就行了,VRRP通报报文是组播报文,组播报文是跨三层的,我在回答中补充一下
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
两台88之间二层互通就行了,VRRP通报报文是组播报文,组播报文是跨三层的,我在回答中补充一下