VRRP在锐捷设备上该怎么配置

2024-11-25 02:08:31
推荐回答(1个)
回答1:

你的是VLSM,懒得算了,改了下
S3760-A的VRRP配置:
interface vlan 10
ip address 192.168.10.253 255.255.255.0
vrrp 1 ip 192.168.10.254
vrrp 1 pritory 200
exit
interface vlan 20
ip address 192.168.20.253 255.255.255.0
vrrp 1 ip 192.168.20.254
vrrp 1 pritory 200
exit
interface vlan 30
ip address 192.168.30.253 255.255.255.0
vrrp 2 ip 192.168.30.254
exit
interface vlan 40
ip address 192.168.40.253 255.255.255.0
vrrp 2 ip 192.168.40.254
exit
S3760-B的VRRP配置:
interface vlan 10
ip address 192.168.10.252 255.255.255.0
vrrp 1 ip 192.168.10.254
exit
interface vlan 20
ip address 192.168.20.252 255.255.255.0
vrrp 1 ip 192.168.20.254
exit
interface vlan 30
ip address 192.168.30.252 255.255.255.0
vrrp 2 ip 192.168.30.254
vrrp 2 pritory 200
exit
interface vlan 40
ip address 192.168.40.252 255.255.255.0
vrrp 2 ip 192.168.40.254
vrrp 2 pritory 200
exit
其中,192.168.10.253与192.168.10.252分别是VLAN10在S3760-A与S3760-B上的物理网关的IP地址,而192.168.10.254为VLAN10在VRRP组1上的虚拟网关IP地址,该地址也就是VLAN10内各终端的网关。其他以此类推。