当前位置:网站首页>Basic configuration of static routing to achieve network wide accessibility
Basic configuration of static routing to achieve network wide accessibility
2022-07-27 04:46:00 【less than _ ermi】
Experimental content :
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 .

Through handwritten static routing, the whole network can reach .
Experimental environment :eNSP
Experimental process :
(1) port configuration
With routers AR1 For example :
The instructions are as follows :
[Huawei]interface g0/0/0 Enter an interface
[Huawei-GigabiEthernet0/0/0]ip address 192.168.1.1 24 To configure IP Address
[Huawei]interface g0/0/1
[Huawei-GigabiEthernet0/0/1]ip address 192.168.2.1 24
<Huawei>display ip interface brief View the interface summary AR1、AR2、 AR3 Summary of ports of three routers :


Confirm each port IP When there is no mistake , Next, configure the static routes .
(2) Static routing configuration
By default, the router targets a network segment , The non direct network segment is an unknown network segment ;
Method of obtaining unknown network segment :
1. Static routing —— Handwriting
2. Dynamic routing —— Negotiation between routers 、 communicate 、 Calculation 、 Automatic generation
How to write static routing
The instructions are as follows :
[Huawei]ip route-static 192.168.3.0( Target network number ) 255.255.255.0 192.168.2.2( Next jump ) Next jump : The flow enters the next interface IP Address
View routing table
[Huawei]display ip routing-tableFollow this operation to complete the static configuration of the three routers

We have completed the port configuration of the router 、 Configuration of static route , The terminal also needs to be IP、 Gateway configuration , The whole network can reach .

The experimental results also need to be tested , use PC1 Go separately pingPC2、PC3.
thus , The experiment is over , Achieve the purpose of the experiment : Network wide accessibility .

边栏推荐
- Standard C language 13
- Anonymous named pipes, understanding and use of interprocess communication in shared memory
- Playwright web crawler actual battle case sharing
- 【独立站建设】跨境电商出海开网店,首选这个网站建设!
- Interview must ask | what stages does a thread go through from creation to extinction?
- STL 上头系列——list 容器详解
- 【动态规划百题强化计划】11~20(持续更新中)
- IP 14th day notes
- Chapter 4 scope and life cycle of bean object
- Network knowledge corner | it only takes four steps to teach you to use SecureCRT to connect to ENSP. You must see the operation guide of common tools
猜你喜欢

Prometheus node exporter common monitoring indicators

第4章 Bean对象的作用域以及生命周期

Maximum value, minimum value, bubble sort in the array

grid布局

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

【HCIP】重发布、重分布、重分发实验

Network knowledge corner | it only takes four steps to teach you to use SecureCRT to connect to ENSP. You must see the operation guide of common tools

Is the e-commerce billing system important? How should the platform choose billing service providers?

Post analysis of Data Analyst

Yolov4 network details
随机推荐
Use the kubesphere graphical interface dashboard to enable the Devops function
地平线 旭日X3 PI (四) 板上运行(未写完)
【HCIP】重发布、重分布、重分发实验
Maximum value, minimum value, bubble sort in the array
【AtCoder Beginner Contest 260 (A·B·C)】
好用移动APP自动化测试框架哪里找?收藏这份清单就好了!
Final review of management information system
Yolov4 network details
新手小白怎样开始学做自媒体呢?
0动态规划中等 LeetCode467. 环绕字符串中唯一的子字符串
Unity:Resource Merging、Static Batching、Dynamic Batching、GPU Instancing
JS day 2 (variables, variable usage, naming rules, syntax extensions)
IP 14th day notes
Differences and uses of SRAM, DRAM, SDRAM and DDR
Cloudcompare & PCL matching point median (or standard deviation) distance suppression
Using webmvcconfigurer to intercept interface requests is being enhanced (with source code)
ELS square display principle
What is the difference between using varchar type and using date type for timestamp column?
Effect Hook
Ffmpeg merge video function