当前位置:网站首页>HCIA static routing comprehensive experiment
HCIA static routing comprehensive experiment
2022-07-27 04:49:00 【Daily online classes of kxy】
Comprehensive experiment of static routing , First of all, let's know the knowledge of this experiment
Static extension configuration :
- Load balancing : When visiting the same target , When there are multiple paths with similar overhead ; The device can split the traffic and delay multiple paths for simultaneous transmission ; Play the role of bandwidth superposition ;
- Loopback interface -- After creation , It can be used for router testing TCP/IP Whether the protocol components can be encapsulated and de encapsulated
meanwhile , It can be used in experimental environment , Analog connection PC User interface of terminal , To reduce the actual equipment cost demand ;
- Manual summary
If the router needs to access multiple continuous subnets , And have the same next hop ; These network segments can be summarized and calculated ; Then just write the route to the summary network segment ;--- Save the number of routing table entries
- Routing black holes
The summary address contains , When the network segment does not actually exist in the network ; Letting will lead to the flow of no return ; Waste link resources ;
The suggestion is reasonable ip Address planning ( Easy to summarize without black holes ), Summarize as accurately as possible ;
- Default route -- A route that does not limit the destination , Represents all network segments ; When the router looks up the table, it queries all the local direct connections 、 static state 、 If there is still no reachable path after dynamic routing , Use this entry ;
- Empty interface
When the routing black hole meets the default routing , There will inevitably be a loop ;
On the black hole router , Configure an empty interface route to the summary network segment ; Empty interface and discard traffic ; To avoid loop generation ;
- Floating static
Generate entries in the routing table in different ways , Their priorities are different ; Direct connection =0 static state =60
Priority value range 0-255 The smaller the better. ;

According to the subject conditions and topology design, first check 192.168.1.0/24 Divide the subnet

This experiment topology design and router interface IP The loopback interface is summarized in the following figure

Remember to first R4 Add an interface

First, configure the router interface IP Address and next hop port
R1
[R1]int g0/0/0
[R1]ip add 192.168.1.1 30
[R1]int g0/0/1
[R1]ip add 192.168.1.5 30
[R1]int loo0
[R1]ip add 192.168.1.33 28
[R1]int loo1
[R1]ip add 192.168.1.49 28
[R1]ip route-static 192.168.1.64 27 192.168.1.6
[R1]ip route-static 192.168.1.96 27 192.168.1.2
[R1]ip route-static 192.168.1.12 30 192.168.1.2
[R1]ip route-static 192.168.1.8 30 192.168.1.6
[R1]ip route-static 192.168.1.128 27 192.168.1.10
[R1]ip route-static 192.168.1.128 27 192.168.1.14
[R1]ip route-static 192.168.1.96 27 192.168.1.2
[R1]ip route-static 192.168.1.16 30 192.168.1.10
[R1]ip route-static 192.168.1.16 30 192.168.1.14
R2
[R2]int g0/0/0
[R2]ip add 192.168.1.6 30
[R2]int g0/0/1
[R2]ip add 192.168.1.9 30
[R2]int loo0
[R2]ip add 192.168.1.65 28
[R2]int loo1
[R2]ip add 192.168.1.81 28
[R2]ip route-static 192.168.1.0 30 192.168.1.5
[R2]ip route-static 192.168.1.12 30 192.168.1.10
[R2]ip route-static 192.168.1.16 30 192.168.1.10
[R2]ip route-static 192.168.1.16 30 192.168.1.14
[R2]ip route-static 192.168.1.32 27 192.168.1.5
[R2]ip route-static 192.168.1.128 27 192.168.1.10
[R2]ip route-static 192.168.1.96 27 192.168.1.13
[R2]ip route-static 192.168.1.96 27 192.168.1.2
R3
[R3]int g0/0/0
[R3]ip add 192.168.1.2 30
[R3]int g0/0/1
[R3]ip add 192.168.1.13 30
[R3]int g0/0/0
[R3]ip add 192.168.1.2 30
[R3]int g0/0/1
[R3]ip add 192.168.1.13 30
[R3]ip route-static 192.168.1.4 30 192.168.1.1
[R3]ip route-static 192.168.1.8 30 192.168.1.14
[R3]ip route-static 192.168.1.16 30 192.168.1.14
[R3]ip route-static 192.168.1.16 30 192.168.1.10
[R3]ip route-static 192.168.1.32 27 192.168.1.1
ip route-static 192.168.1.128 27 192.168.1.14
[R3]ip route-static 192.168.1.64 27 192.168.1.6
[R3]ip route-static 192.168.1.64 27 192.168.1.9
R4
[R4]int g0/0/0
[R4]ip add 192.168.1.10 30
[R4]int g0/0/1
[R4]ip add 192.168.1.14 30
[R4]int g0/0/2
[R4]ip add 192.168.1.17 30
[R4]int g4/0/0
[R4]ip add 192.168.1.21 30
[R4]int loo0
[R4]ip add 192.168.1.115 28
[R4]int loo1
[R4]ip add 192.168.1.129 28
[R4]ip route-static 192.168.1.0 30 192.168.1.13
[R4]ip route-static 192.168.1.4 30 192.168.1.9
[R4]ip route-static 192.168.1.96 27 192.168.1.13
[R4]ip route-static 192.168.1.32 27 192.168.1.1
[R4]ip route-static 192.168.1.32 27 192.168.1.5
R5
[R5]int g0/0/1
[R5]ip add 192.168.1.18 30
[R5]int g0/0/0
[R5]ip add 192.168.1.22 30
[R5]int loop0
[R5]ip add 5.5.5.2 24
[R5]ip route-static 192.168.1.32 27 192.168.1.17
[R5]ip route-static 192.168.1.64 27 192.168.1.17
[R5]ip route-static 192.168.1.96 27 192.168.1.17
[R5]ip route-static 192.168.1.128 27 192.168.1.17
[R5]ip route-static 192.168.1.0 30 192.168.1.17
[R5]ip route-static 192.168.1.4 30 192.168.1.17
[R5]ip route-static 192.168.1.8 30 192.168.1.17
[R5]ip route-static 192.168.1.12 30 192.168.1.17
To make the whole network accessible , Next, we need to configure a lack saving route for each router
[R1]ip route-static 0.0.0.0 0 192.168.1.2
[R1]ip route-static 0.0.0.0 0 192.168.1.6
[R2]ip route-static 0.0.0.0 0 192.168.1.10
[R3]ip route-static 0.0.0.0 0 192.168.1.14
[R4]ip route-static 0.0.0.0 0.0.0.0 192.168.1.22 p 61 ( Choose priority )
At this time, we have reached the whole network connectivity
use R1 Go to pingR5 Loopback interface

Finally, complete the normal 1000m fault 100m
Yes R5 Choose priority
[R5]ip route-static 192.168.1.32 27 192.168.1.21 p 61
[R5]ip route-static 192.168.1.64 27 192.168.1.21 p 61
[R5]ip route-static 192.168.1.96 27 192.168.1.21 p 61
[R5]ip route-static 192.168.1.128 27 192.168.1.21 p 61
[R5]ip route-static 192.168.1.0 30 192.168.1.21 p 61
[R5]ip route-static 192.168.1.4 30 192.168.1.21 p 61
[R5][R5]ip route-static 192.168.1.8 30 192.168.1.21 p 61
[R5]ip route-static 192.168.1.12 30 192.168.1.21 p 61
Next, let's query R5 The routing table for

The priority we just set is not displayed
By simulating faults , close g0/0/1 192.168.1.18 This interface
[R5]int g0/0/1
[R5]shutdown
Look at the routing table again

OK success
The last step is to add an empty interface for the emergence of loops and black holes
[R1]ip route-static 192.168.1.32 27 NULL0
[R2]ip route-static 192.168.1.64 27 NULL0
[R3]ip route-static 192.168.1.96 27 NULL0
[R4]ip route-static 192.168.1.128 27 NULL0
Now our experiment is finished
边栏推荐
- 博云容器云、DevOps 平台斩获可信云“技术最佳实践奖”
- Session&Cookie&token
- Database leader Wang Shan: strive for innovation and carefully Polish high-quality database products
- els_ 画矩形、代码规划和备份
- P1438 boring sequence line segment tree + difference
- Dry goods | how can independent station operation improve online chat customer service?
- 管理信息系统期末复习
- els 兼容性DC、传递图片到窗口
- Two way republication experiment
- els 方块显示原理
猜你喜欢

Wechat applet rotation map

Bo Yun container cloud and Devops platform won the trusted cloud "technology best practice Award"

Ribbon load balancing principle and some source codes

在有序数组找具体某个数字

Overview of communication protocols

Eureka service registry

Prometheus Node Exporter 常用监控指标

数字中国建设峰会闭幕,现场海量图片一览!

Interview must ask | what stages does a thread go through from creation to extinction?

冒泡排序(详细)
随机推荐
在有序数组找具体某个数字
Chapter 4 scope and life cycle of bean object
STL 上头系列——list 容器详解
Wechat input component adds a clear icon, and clicking clear does not take effect
C language - two dimensional array, pointer
【day02】数据类型转换、运算符、方法入门
State Hook
【动态规划百题强化计划】11~20(持续更新中)
Sed output specified line
BSN IPFs (interstellar file system) private network introduction, functions, architecture and characteristics, access instructions
Comprehensive experiment of static routing
What is the difference between using varchar type and using date type for timestamp column?
[dynamic planning hundred questions strengthening plan] 11~20 (continuously updating)
Maximum value, minimum value, bubble sort in the array
Spark practice case (upgraded version)
The project parameters are made into configurable items, and the @configurationproperties annotation is used
How can I index the Oracle database field date?
使用Unity做一个艺术字系统
可视化领域 SVG
Shell programming enhancements