网络练习题

发布时间 2023-06-13 10:46:08作者: DUDU-

 需求(Lab demand):

1. PC1&PC2's gateway is the interface on SW3&SW4.You need to deploy the MSTP at the switching networking with the root bridge and gateway load-balance at same time.
2. You need to deploy the link-aggregation between SW3 and SW4 with the max active links number is two. The interface g0/0/14 will be active , when the active link is failted. The load-balance is based on D-MAC.
3. You need to make sure the path of traffic in and out of SITE01 is no difference.
4. PC3&PC4's gateway is the interface on AR10&AR11. You need deploy the right technology to make sure the gateway load-balance.
5. You need to make sure the path of traffic in and out of SITE02 is no difference.
6. You need to deploy the right routing-protocol based on the TOPO in the right domain. You need to make sure it takes less than 40 seconds for all OSPF peers to establish a neighbor relationship.

7. You need to make sure AR3 is the master next-hop for AR2&AR5, when PC1&PC2 and PC3&PC4 communicate to each other.
8. You need to make sure the AR2's loopback0 route cost is 77 in the RIB of AR6.
9. You need to make sure the forwarding address is 222.222.222.222. If the address exists in the Type-5 LSA.

10. You can't modify the configurations of PCs.
11. You need to make sure PC1,PC2,PC3 and PC4 can communicate to each other.
12. You need use the static-route in the right boundary router to make sure link redundancy by master and backup. Do your best to reduce the number of static-routes at the boundary router.
13. You need to encapsulate IPv4 traffic between SITE01 and SITE02 into the IPv6 tunnel of ISPs and vice versa.
14. You need to lead the IPv4 traffic in the IPv6 tunnel with dynamic-route and lead the IPv6 traffic in the IPv4 tunnel with static-route.

Ip address demand:
1. The ip address of loopback0 is x.x.x.x/32 or 2022:xxxx::xxxx/128 (if you need)
2. The ip address of physical interface in the ISP_01 is 192.168.xy.x|y/24(x<y) or 2022:192:168:xy::x|y/64(x<y) (if you need)
3. The ip address of physical interface in the ISP_02 is 172.16.xy.x|y/24(x<y) or 2022:172:16:xy::x|y/64(x<y) (if you need)
4. The ip address of ISP interconnection is xy.1.1.x|y/24(x<y) and yx.1.1.x|y(x<y), 2022:xy:1:1::x|y/64(x<y) and 2022:yx:1:1::x|y/64(x<y)
5. Do your best to reduce the number of IPv6 global unicast address in the ISPs.
5. The router-id of OSPF is x.x.x.x (if you need)

PS: "x"&"y" is the number of the device. 

拓扑图:

配置:

1. PC1&PC2's gateway is the interface on SW3&SW4.You need to deploy the MSTP at the switching networking with the root bridge and gateway load-balance at same time.
(PC1 和 PC2 的网关是 SW3&SW4 上的接口。您需要在交换网络上同时部署 MSTP,同时实现根网桥和网关负载平衡)


2. You need to deploy the link-aggregation between SW3 and SW4 with the max active links number is two. The interface g0/0/14 will be active ,
when the active link is failted. The load-balance is based on D-MAC.
(您需要在 SW3 和 SW4 之间部署链路聚合,最大活动链路数为 2。接口 g0/0/14 将处于活动状态,当活动链接失败时。负载平衡基于 D-MAC。)

链路聚合:为了提高链路的冗余

[S3]interface Eth-Trunk 34
[S3-Eth-Trunk34]mode lacp-static
[S3-Eth-Trunk34]trunkport GigabitEthernet 0/0/11
Info: This operation may take a few seconds. Please wait for a moment...done.
[S3-Eth-Trunk34]trunkport GigabitEthernet 0/0/12
Info: This operation may take a few seconds. Please wait for a moment...done.
[S3-Eth-Trunk34]trunkport GigabitEthernet 0/0/13
Info: This operation may take a few seconds. Please wait for a moment...done.
[S3-Eth-Trunk34]trunkport GigabitEthernet 0/0/14
Info: This operation may take a few seconds. Please wait for a moment...done.
[S3-Eth-Trunk34]max active-linknumber 2
[S3-Eth-Trunk34]load-balance dst-mac #负载均衡

使S3作为主设备,并使用14口

[S3]lacp priority 16384    #修改设备优先级
[S3]int g0/0/014
[S3-GigabitEthernet0/0/14]lacp priority 16384
[S3-GigabitEthernet0/0/11]lacp priority 4096
[S3-GigabitEthernet0/0/12]lacp priority 4096

S4同S3,配置链路聚合:

 

测试:

此时11、12口被选举:

 这时down掉11口,再次查看:14口被选举

[S4-GigabitEthernet0/0/11]shutdown 

 

3. You need to make sure the path of traffic in and out of SITE01 is no difference.
您需要确保进出SITE01的流量路径没有区别。

4. PC3&PC4's gateway is the interface on AR10&AR11. You need deploy the right technology to make sure the gateway load-balance.
PC3&PC4 的网关是 AR10&AR11 上的接口。您需要部署正确的技术来确保网关负载平衡。

5. You need to make sure the path of traffic in and out of SITE02 is no difference.
您需要确保进出SITE02的流量路径没有区别。

6. You need to deploy the right routing-protocol based on the TOPO in the right domain. You need to make sure it takes
less than 40 seconds for all OSPF peers to establish a neighbor relationship.
您需要在正确的域中部署基于 TOPO 的正确路由协议。您需要确保它需要
少于 40 秒,以便所有 OSPF 对等方建立邻居关系。
7. You need to make sure AR3 is the master next-hop for AR2&AR5, when PC1&PC2 and PC3&PC4 communicate to each other.
您需要确保当 PC1&PC2 和 PC3&PC4 相互通信时,AR3 是 AR2&AR5 的主下一跃点。(隧道技术)
8. You need to make sure the AR2's loopback0 route cost is 77 in the RIB of AR6.
您需要确保AR2的环回0路由成本在AR6的RIB中为77。
9. You need to make sure the forwarding address is 222.222.222.222. If the address exists in the Type-5 LSA.
您需要确保转发地址为 222.222.222.222。如果地址存在于 5 类 LSA 中。

 

 

10. You can't modify the configurations of PCs. 无法修改电脑的配置。

 

 

11. You need to make sure PC1,PC2,PC3 and PC4 can communicate to each other.
您需要确保 PC1、PC2、PC3 和 PC4 可以相互通信。
12. You need use the static-route in the right boundary router to make sure link redundancy by master and backup.
Do your best to reduce the number of static-routes at the boundary router.
您需要在正确的边界路由器中使用静态路由,以确保主路由器和备份链路冗余。
尽最大努力减少边界路由器上的静态路由数。
13. You need to encapsulate IPv4 traffic between SITE01 and SITE02 into the IPv6 tunnel of ISPs and vice versa.
您需要将站点01和站点02之间的IPv4流量封装到ISP的IPv6隧道中,反之亦然。
You need to lead the IPv4 traffic in the IPv6 tunnel with dynamic-route and lead the IPv6 traffic in the IPv4 tunnel with static-route.
您需要使用动态路由在 IPv6 隧道中引导 IPv4 流量,并使用静态路由在 IPv4 隧道中引导 IPv6 流量。