2021全国职业院校技能大赛真题-网络系统管理项目-模块C路由交换部分答案详解
原创
©著作权归作者所有:来自51CTO博客作者青灯古酒的原创作品,请联系作者获取转载授权,否则将追究法律责任
在 S3 和 S4 上配置 VRRP,实现主机的网关冗余,所配置的参数要求如表 1 所示。 其中,S3、S4 上配
置各 VRRP 组中的高优先级设置为 150,低优先级设置为 120
S3
interface VLAN 10
ip address 172.17.10.252 255.255.255.0
vrrp 10 ip 172.17.10.254
vrrp 10 priority 120
interface VLAN 20
ip address 172.17.20.252 255.255.255.0
vrrp 20 ip 172.17.20.254
vrrp 20 priority 120
interface VLAN 30
ip address 172.17.30.252 255.255.255.0
vrrp 30 ip 172.17.30.254
vrrp 30 priority 120
interface VLAN 40
ip address 172.17.40.252 255.255.255.0
vrrp 40 ip 172.17.40.254
vrrp 40 priority 120
interface VLAN 100
ip address 172.17.100.252 255.255.255.0
vrrp 100 ip 172.17.100.254
vrrp 100 priority 120
S4
interface VLAN 10
ip address 172.17.10.253 255.255.255.0
vrrp 10 ip 172.17.10.254
vrrp 10 priority 150
interface VLAN 20
ip address 172.17.20.253 255.255.255.0
vrrp 20 ip 172.17.20.254
vrrp 20 priority 150
interface VLAN 30
ip address 172.17.30.253 255.255.255.0
vrrp 30 ip 172.17.30.254
vrrp 30 priority 150
interface VLAN 40
ip address 172.17.40.253 255.255.255.0
vrrp 40 ip 172.17.40.254
vrrp 40 priority 150
interface VLAN 100
ip address 172.17.100.253 255.255.255.0
vrrp 100 ip 172.17.100.254
vrrp 100 priority 150