题目拓扑图
题目要求:
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