当前位置:网站首页>[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
边栏推荐
- JVM memory model concept
- {1,2,3,2,5} duplicate checking problem
- Markdown font color editing teaching
- 【指针】删除字符串s中的所有空格
- 《统计学》第八版贾俊平第十三章时间序列分析和预测知识点总结及课后习题答案
- Statistics 8th Edition Jia Junping Chapter 4 Summary and after class exercise answers
- New version of postman flows [introductory teaching chapter 01 send request]
- Statistics 8th Edition Jia Junping Chapter 10 summary of knowledge points of analysis of variance and answers to exercises after class
- Functions: Finding Roots of equations
- [pointer] octal to decimal
猜你喜欢
Wang Shuang's detailed notes on assembly language learning I: basic knowledge
“Hello IC World”
Login the system in the background, connect the database with JDBC, and do small case exercises
《统计学》第八版贾俊平第三章课后习题及答案总结
《统计学》第八版贾俊平第十章方差分析知识点总结及课后习题答案
What level do 18K test engineers want? Take a look at the interview experience of a 26 year old test engineer
High concurrency programming series: 6 steps of JVM performance tuning and detailed explanation of key tuning parameters
《统计学》第八版贾俊平第十一章一元线性回归知识点总结及课后习题答案
How to transform functional testing into automated testing?
Statistics 8th Edition Jia Junping Chapter 3 after class exercises and answer summary
随机推荐
Vysor uses WiFi wireless connection for screen projection_ Operate the mobile phone on the computer_ Wireless debugging -- uniapp native development 008
Function: find 1-1/2+1/3-1/4+1/5-1/6+1/7-... +1/n
DVWA exercise 05 file upload file upload
How to test whether an object is a proxy- How to test if an object is a Proxy?
指针:最大值、最小值和平均值
【指针】求二维数组中最大元素的值
The common methods of servlet context, session and request objects and the scope of storing data in servlet.
ByteDance ten years of experience, old bird, took more than half a year to sort out the software test interview questions
后台登录系统,JDBC连接数据库,做小案例练习
"If life is just like the first sight" -- risc-v
[pointer] delete all spaces in the string s
【指针】数组逆序重新存放后并输出
《统计学》第八版贾俊平第八章假设检验知识点总结及课后习题答案
Statistics, 8th Edition, Jia Junping, Chapter 11 summary of knowledge points of univariate linear regression and answers to exercises after class
Uibutton status exploration and customization
使用 flask_whooshalchemyplus jieba实现flask的全局搜索
Constants, variables, and operators of SystemVerilog usage
Solutions to common problems in database development such as MySQL
Statistics 8th Edition Jia Junping Chapter 5 probability and probability distribution
Cadence physical library lef file syntax learning [continuous update]