这个是拓扑图。配置的VRRP不能PING通虚拟网关192.168.10.254.本人具体配置如下:R1配置
conf t
int f0/0
switchport mode truck
end
vlan database
vlan 10
end
int vlan 10
ip add 192.168.10.1 255.255.255.0
vrrp 1 ip 192.168.10.254
vrrp 1 preemd
vrrp 1 pri 150
R2的配置
conf t
int f0/1
switchport mode truck
end
vlan database
vlan 10
end
int vlan 10
ip add 192.168.10.2 255.255.255.0
vrrp 1 ip 192.168.10.254
vrrp 1 preemd
R3的配置
vlan database
vlan 10
interface rang f0/0 - 1
switchport mode trunk
interface f0/2
switchport mode accese
switchport accsese vlan 10
R4的配置
cnf t
no ip routing
interface f0/0
ip add 192.168.10.20 255.255.255.0
no shu
exit
ip default-gateway192.168.10.254
配置已经完毕了,但是不能PING通192.168.10.254,能PING通192.168.10.1和192.168.10.2.请大虾指教,为什么不能ping通192.168.10.254