当前位置:网站首页>[HCIA continuous update] working principle of static route and default route
[HCIA continuous update] working principle of static route and default route
2022-07-06 14:52:00 【Kawakami 2001】
How static routing and default routing work
Static routing
Static routing application scenarios
1、 Static routing is manually configured by the network administrator , Convenient configuration , Low system requirements , Suitable for small networks with simple and stable topology
2、 The disadvantage is that it can't adapt to the change of network topology automatically , Manual intervention required .
3、RTA The forwarding destination address on belongs to 2.1.1.0/24 Message of , In the case of no direct connection, there is only . At this time, you can manually configure the route , send RAT Go to 20.1.1.0/24 The message of the network segment is handed over to the next hop 10.0.0.2 forward
[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-GgCpnut0-1644627876568)(https://i.bmp.ovh/imgs/2022/02/8b51cc4395297d18.png)]
Static routing configuration
Associate next IP The way
ip route-static ip-address {mask|mask-lengrh} nexthop-address
How to associate the interface
ip route-static ip-address {mask|mask-length} interface-type interface-number
Associate the outbound interface with the next hop IP The way
ip route-static ip-address {mask|mask-length} interface-type interface-number [nexthop-address]
When creating a static route , You can specify both the interface and the next hop . For different outgoing interface types , You can also specify only the next hop
For point-to-point interfaces ( Such as serial port ), Just specify the outgoing interface .
For broadcast interface ( Such as Ethernet interface ) and VT(Virtual-yerplate) Interface , The next hop must be specified
Default route
1、 The default route is a special route , The route used when the message does not find a matching specific route table item in the route table . If the destination address of the message cannot match any destination address in the routing table , Then the message will be forwarded by selecting the default route .
2、 The default route is in the form of... In the routing table 0.0.0.0/0, The default route is also called the default route
边栏推荐
- 《统计学》第八版贾俊平第十三章时间序列分析和预测知识点总结及课后习题答案
- Zhejiang University Edition "C language programming experiment and exercise guide (3rd Edition)" topic set
- 《统计学》第八版贾俊平第十四章指数知识点总结及课后习题答案
- 四元数---基本概念(转载)
- Interview Essentials: what is the mysterious framework asking?
- Four methods of exchanging the values of a and B
- Functions: Finding Roots of equations
- Statistics, 8th Edition, Jia Junping, Chapter 6 Summary of knowledge points of statistics and sampling distribution and answers to exercises after class
- 【指针】数组逆序重新存放后并输出
- 指针 --按字符串相反次序输出其中的所有字符
猜你喜欢
What level do 18K test engineers want? Take a look at the interview experience of a 26 year old test engineer
“Hello IC World”
How to transform functional testing into automated testing?
Apache APIs IX has the risk of rewriting the x-real-ip header (cve-2022-24112)
数字电路基础(四) 数据分配器、数据选择器和数值比较器
数字电路基础(三)编码器和译码器
Realize applet payment function with applet cloud development (including source code)
Fundamentals of digital circuit (V) arithmetic operation circuit
Statistics, 8th Edition, Jia Junping, Chapter 11 summary of knowledge points of univariate linear regression and answers to exercises after class
Want to learn how to get started and learn software testing? I'll give you a good chat today
随机推荐
Query method of database multi table link
Statistics, 8th Edition, Jia Junping, Chapter 6 Summary of knowledge points of statistics and sampling distribution and answers to exercises after class
Vysor uses WiFi wireless connection for screen projection_ Operate the mobile phone on the computer_ Wireless debugging -- uniapp native development 008
Statistics 8th Edition Jia Junping Chapter 12 summary of knowledge points of multiple linear regression and answers to exercises after class
【指针】八进制转换为十进制
刷视频的功夫,不如看看这些面试题你掌握了没有,慢慢积累月入过万不是梦。
Flash implements forced login
Logstack introduction and deployment -- elasticstack (elk) work notes 019
《统计学》第八版贾俊平第一章课后习题及答案总结
数字电路基础(一)数制与码制
MySQL learning notes (stage 1)
Statistics 8th Edition Jia Junping Chapter 10 summary of knowledge points of analysis of variance and answers to exercises after class
MySQL interview questions (4)
Lintcode logo queries the two nearest saplings
浙大版《C语言程序设计实验与习题指导(第3版)》题目集
How to use Moment. JS to check whether the current time is between 2 times
Fundamentals of digital circuit (V) arithmetic operation circuit
Cadence physical library lef file syntax learning [continuous update]
[pointer] find the value of the largest element in the two-dimensional array
Bing Dwen Dwen official NFT blind box will be sold for about 626 yuan each; JD home programmer was sentenced for deleting the library and running away; Laravel 9 officially released | Sifu weekly