当前位置:网站首页>[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
边栏推荐
- Database monitoring SQL execution
- Fire! One day transferred to go engineer, not fire handstand sing Conquest (in serial)
- JDBC 的四种连接方式 直接上代码
- 指针:最大值、最小值和平均值
- [pointer] solve the last person left
- High concurrency programming series: 6 steps of JVM performance tuning and detailed explanation of key tuning parameters
- 《统计学》第八版贾俊平第十章方差分析知识点总结及课后习题答案
- Vysor uses WiFi wireless connection for screen projection_ Operate the mobile phone on the computer_ Wireless debugging -- uniapp native development 008
- [pointer] use the insertion sorting method to arrange n numbers from small to large
- Functions: Finding Roots of equations
猜你喜欢

. Net6: develop modern 3D industrial software based on WPF (2)

High concurrency programming series: 6 steps of JVM performance tuning and detailed explanation of key tuning parameters

Vysor uses WiFi wireless connection for screen projection_ Operate the mobile phone on the computer_ Wireless debugging -- uniapp native development 008

数字电路基础(五)算术运算电路

Summary of thread implementation

Software testing interview summary - common interview questions

Interview Essentials: what is the mysterious framework asking?

Résumé des points de connaissance et des réponses aux exercices après la classe du chapitre 7 de Jia junping dans la huitième édition des statistiques

1. Payment system

SystemVerilog discusses loop loop structure and built-in loop variable I
随机推荐
5分钟掌握机器学习鸢尾花逻辑回归分类
Four methods of exchanging the values of a and B
How does SQLite count the data that meets another condition under the data that has been classified once
[Ogg III] daily operation and maintenance: clean up archive logs, register Ogg process services, and regularly back up databases
About the garbled code problem of superstar script
Zhejiang University Edition "C language programming experiment and exercise guide (3rd Edition)" topic set
Cc36 different subsequences
[pointer] octal to decimal
Want to learn how to get started and learn software testing? I'll give you a good chat today
c语言学习总结(上)(更新中)
《统计学》第八版贾俊平第十章方差分析知识点总结及课后习题答案
【指针】求解最后留下的人
Summary of thread implementation
C language learning summary (I) (under update)
Statistics 8th Edition Jia Junping Chapter 10 summary of knowledge points of analysis of variance and answers to exercises after class
线程的实现方式总结
SystemVerilog discusses loop loop structure and built-in loop variable I
《统计学》第八版贾俊平第三章课后习题及答案总结
flask实现强制登陆
JDBC 的四种连接方式 直接上代码