SW1:
int vlanif 2
ip add 192.168.2.254 24
vrrp vrid 2 virtual-ip 192.168.2.1
vrrp vrid 2 priority 105
#
int vlanif 3
ip add 192.168.3.254 24
vrrp vrid 3 virtual-ip 192.168.3.1
vrrp vrid 3 priority 105
#
int vlanif 200
ip add 192.168.200.254 24
vrrp vrid 200 virtual-ip 192.168.200.1
vrrp vrid 200 priority 105
#
##
#vlanif2、vlanif3、vlanif200 的主设备 Master
##
#
int vlanif 4
ip add 192.168.4.254 24
vrrp vird 4 virtual-ip 192.168.4.1
#
int vlanif 5
ip add 192.168.5.254 24
vrrp vird 5 virtual-ip 192.168.5.1
#
#vlanif4、vlanif5 的备设备 Backup
#
SW2:
int vlanif 4
ip add 192.168.4.253 24
vrrp vrid 4 virtual-ip 192.168.4.1
vrrp vrid 4 priority 105
#
int vlanif 5
ip add 192.168.5.253 24
vrrp vrid 5 virtual-ip 192.168.5.1
vrrp vrid 5 priority 105
#
##
#vlanif4、vlanif5 的主设备 Master
##
#
int vlanif 2
ip add 192.168.2.253 24
vrrp vrid 2 virtual-ip 192.168.2.1
#
int vlanif 3
ip add 192.168.3.253 24
vrrp vrid 3 virtual-ip 192.168.3.1
#
int vlanif 200
ip add 192.168.200.253 24
vrrp vrid 200 virtual-ip 192.168.200.1
#
#vlanif2、vlanif3、vlanif200 的备设备 Backup
#
调试命令:
dis vrrp brief
核心交换机上连路由器接口配置IP地址:
-
SW1:
int vlanif 800 ip add 192.168.12.2 24
-
SW2:
int vlanif 801 ip add 192.168.23.2 24
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)