当前位置:网站首页>HCIA static routing basic simulation experiment
HCIA static routing basic simulation experiment
2022-07-27 04:50:00 【Daily online classes of kxy】
Static routing ( English :Static routing) Is a way of routing , Route item (routing entry) Manually configured by , Not dynamically . Unlike dynamic routing , Static routing is fixed , Will not change , Even if network conditions have changed or been reconfigured . Generally speaking , Static routing is that the network administrator adds the routing table item by item .
We use Huawei eNSP To do this experiment .

First choose three routers and three PC Set up a LAN like the one shown above at the terminal . This LAN is controlled by 192.168.1.0/2.0/3.0/4.0/5.0 255.255.255.0 Five broadcast domains .
The next step is to manually allocate three routers IP Address .



Next, there are three PC The terminal is written manually IP, I wrote three IP In turn 192.168.1.1/24 192.168.3.2/24 192.168.5.2/24
Then, the focus of this experiment ----- Handwritten static routing
First of all, we need to briefly understand the function and basic working principle of the router
What routers do :
- Interconnection between different networks
- Choose the path for the data it carries --- Route selection
How routers work :
When the packet enters the router , First check the target IP Address ; Then query the local routing table , If there are records in the table , take Unconditional Forward as recorded ; If there is no record , The traffic will be discarded ;
Configuration command :
[Huawei]ip rout-static 192.168.X.0 24 192.168.X.X
here 192.168.X.0 Is the target network number ,24 The subnet mask can also be written as 255.255.255.0,192.168.X.X For the next hop, it flows into the next entry interface IP Address
for example :
PC1 Want to be with PC2 The communication is AR1 Input [Huawei]ip route-static 192.168.3.0 24 192.168.2.2
stay AR2 Input [Huawei]ip route-static 192.168.1.0 24 192.168.2.1
PC1 Want to be with PC3 Communication is troublesome and needs to be written twice , Because the next jump is the next entrance after starting from here , You can't skip to the next entrance , So we have to get to 192.168.4.0/24 Until then 192.168.5.0/24 Broadcast area ,AR3 On the contrary, the same method .
Then input [Huawei]display ip routing-table View routing table

As can be seen in the picture Static It's the static route we just wrote
Write it in the same way as other routers , Just OK 了 !
Finally, check , Three stations PC Go to each other ping



You can see three PC Can communicate with each other .
I hope this article is helpful to you , thank you !
It's not easy to make , Please give a compliment before you leave
边栏推荐
- Ref Hook
- How to set user-defined display for Jiaming Watch
- Pinia uses plug-ins for persistent storage.
- Digital integrated circuit: MOS tube device chapter (I)
- 【独立站建设】跨境电商出海开网店,首选这个网站建设!
- Shell的正则表达式入门、常规匹配、特殊字符:^、$、.、*、字符区间(中括号):[ ]、特殊字符:\、匹配手机号
- Understand kingbasees V9 in one picture
- Structural mode - bridging mode
- Easy to use shell shortcuts
- RSA asymmetric encryption and decryption signature verification tool
猜你喜欢

Yolov4 network details

Session&Cookie&token

使用Unity做一个艺术字系统

Structural mode - decorator mode

博云容器云、DevOps 平台斩获可信云“技术最佳实践奖”

iPhone13再降价,其实只是做做样子,消费者都在等iPhone14

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

Anonymous named pipes, understanding and use of interprocess communication in shared memory

JS day 2 (variables, variable usage, naming rules, syntax extensions)

Grid layout
随机推荐
Easy to use shell shortcuts
Grid layout
Why does genericservlet have two init methods
微信小程序编辑头像
Shell中的文本处理工具、cut [选项参数] filename 说明:默认分隔符是制表符、awk [选项参数] ‘/pattern1/{action1}filename 、awk 的内置变量
Structural mode - decorator mode
【HCIP】重发布、重分布、重分发实验
第4章 Bean对象的作用域以及生命周期
Maximum value, minimum value, bubble sort in the array
How to set user-defined display for Jiaming Watch
0动态规划中等 LeetCode467. 环绕字符串中唯一的子字符串
Session&Cookie&token
QString转换char*
【day02】数据类型转换、运算符、方法入门
Structural mode - facade mode
Safety fourth after class exercise
CEPH operation
What is the difference between using varchar type and using date type for timestamp column?
Cloudcompare & PCL matching point median (or standard deviation) distance suppression
[C language] recursively explain the tower of Hanoi problem