企业级网络性能优化 课内18 VRRP01

题目拓扑图

在这里插入图片描述

题目要求:
1、根据图示,在R1、R2的E1端口配置VRRP,VRID为111,E0端口配置VRRP,VRID为222.
2、在R1的E1端口配置VRRP优先级为250,E0端口配置VRRP优先级为50.
3、从PC1上 PING PC3,查看流量的走向(PC1-R1-PC3-R2-PC1)。
4、在S1上将E1端口shutdown,查看R1的提示信息,重复第3步的操作,查看流量走向(PC1-R2-PC3-R2-PC1)。
5、在S1上将E1端口undo shutdown,查看R1的提示信息,重复第3步的操作,查看流量走向(与3一样)。

1、根据图示,在R1、R2的E1端口配置VRRP,VRID为111,E0端口配置VRRP,VRID为222.
R1
[R1]int e0/0/1
[R1-Ethernet0/0/1]ip address 192.168.1.10 24
[R1-Ethernet0/0/1]vrrp vrid 111 virtual-ip 192.168.1.111
[R1]int e0/0/0
[R1-Ethernet0/0/0]ip address 192.168.2.10 24
[R1-Ethernet0/0/0]vrrp vrid 222 virtual-ip 192.168.2. 222

R2
[R2]int e0/0/1
[R2-Ethernet0/0/1]ip address 192.168.1.20 24
[R2-Ethernet0/0/1]vrrp vrid 111 virtual-ip 192.168.1.111
[R2]int e0/0/0
[R2-Ethernet0/0/0]ip address 192.168.2.20 24
[R2-Ethernet0/0/0]vrrp vrid 222 virtual-ip 192.168.2.222

2.在R1的E1端口配置VRRP优先级为250,E0端口配置VRRP优先级为50.
[R1]int e0/0/1
[R1-Ethernet0/0/1]vrrp vrid 111 priority 250
[R1]int e0/0/0
[R1-Ethernet0/0/0]vrrp vrid 222 priority 50

3、从PC1上 PING PC3,查看流量的走向(PC1-R1-PC3-R2-PC1)。

4、在S1上将E1端口shutdown,查看R1的提示信息,重复第3步的操作,查看流量走向(PC1-R2-PC3-R2-PC1)。
[S1]int e0/0/1
[S1-Ethernet0/0/1]shutdown

May 19 2021 11:25:01-08:00 R1 %%01PHY/1/PHY(l)[5]: Ethernet0/0/1: change stat
us to down
May 19 2021 11:25:01-08:00 R1 %%01IFNET/4/LINK_STATE(l)[6]:The line protocol IP
on the interface Ethernet0/0/1 has entered the DOWN state.
May 19 2021 11:25:01-08:00 R1 %%01VRRP/4/STATEWARNINGEXTEND(l)[7]:Virtual Router
state MASTER changed to INITIALIZE, because of interface down. (Interface=Ether
net0/0/1, VrId=111, InetType=IPv4)

5、在S1上将E1端口undo shutdown,查看R1的提示信息,重复第3步的操作,查看流量走向(与3一样)。

May 19 2021 11:25:01-08:00 R1 %%01IFNET/4/LINK_STATE(l)[6]:The line protocol IP
on the interface Ethernet0/0/1 has entered the DOWN state.
May 19 2021 11:25:01-08:00 R1 %%01VRRP/4/STATEWARNINGEXTEND(l)[7]:Virtual Router
state MASTER changed to INITIALIZE, because of interface down. (Interface=Ether
net0/0/1, VrId=111, InetType=IPv4)
May 19 2021 11:27:37-08:00 R1 %%01PHY/1/PHY(l)[8]: Ethernet0/0/1: change stat
us to up
May 19 2021 11:27:37-08:00 R1 %%01IFNET/4/LINK_STATE(l)[9]:The line protocol IP
on the interface Ethernet0/0/1 has entered the UP state.
May 19 2021 11:27:45-08:00 R1 %%01VRRP/4/STATEWARNINGEXTEND(l)[10]:Virtual Route
r state BACKUP changed to MASTER, because of protocol timer expired. (Interface=
Ethernet0/0/1, VrId=111, InetType=IPv4) User interface con0 is available

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值