当前位置:网站首页>使用默认路由作为指向Internet的路由
使用默认路由作为指向Internet的路由
2022-07-04 12:48:00 【51CTO】
本案例是默认路由的一个应用场景。
某公司内网有A、B、C和D共4个路由器,有10.1.0.0/24、10.2.0.0/24、10.3.0.0/24、10.4.0.0/24、10.5.0.0/24、10.6.0.0/24共6个网段,网络拓扑和地址规划如图1所示。现在要求在这4个路由器中添加路由,使内网的共 6 个网段之间能够相互通信,同时这 6 个网段也要能够访问Internet。
路由器B和D是网络的末端路由器,直连两个网段,到其他网络都需要转发到路由器C,在这两个路由器中只需要添加一条默认路由即可。
对于路由器C来说,直连了3个网段,到10.1.0.0/24、10.4.0.0/24两个网段的路由需要单独添加,到Internet或10.6.0.0/24网段的数据包,都需要转发给路由器A,再添加一条默认路由即可。
对于路由器A来说,直连3个网段,对于没有直连的几个内网,需要单独添加路由,到Internet的访问只需要添加一条默认路由即可。
到Internet上所有网段的路由,只需要添加一条默认路由即可。

图1 使用默认路由简化路由表
观察图2,看看A路由器中的路由表是否可以进一步简化。企业内网使用的网段可以合并到10.0.0.0/8网段中,因此在路由器A中,到内网网段的路由可以汇总成一条,如图5-13所示。大家想想路由器C中的路由表还能简化吗?

图2路由器路由汇总和默认路由简化路由表
此文章来自于《华为 HCIA-Datacom认证(2021新版HCIA教材)》
京东购买本书
https://item.jd.com/13706744.html
学习计算机网络华为网络工程师 华三网络工程师课程中有问题联系韩老师
华为 HCIA-Datacom认证(2021新版HCIA教材)课程链接 https://edu.51cto.com/course/28956.html

韩老师招收正式学生、门徒级套餐
边栏推荐
- XML入门一
- CVPR 2022 | transfusion: Lidar camera fusion for 3D target detection with transformer
- Xilinx/system-controller-c/boardui/ unable to connect to the development board, the solution of jamming after arbitrary operation
- 三星量产3纳米产品引台媒关注:能否短期提高投入产出率是与台积电竞争关键
- 2022危险化学品经营单位主要负责人练习题及模拟考试
- Distributed base theory
- Dgraph: large scale dynamic graph dataset
- 基于STM32+华为云IOT设计的酒驾监控系统
- Web knowledge supplement
- 基于链表管理的单片机轮询程序框架
猜你喜欢

【Antd踩坑】Antd Form 配合Input.Group时出现Form.Item所占据的高度不对

2022年起重机械指挥考试模拟100题模拟考试平台操作

2022 hoisting machinery command examination simulation 100 questions simulation examination platform operation

CVPR 2022 | 大幅减少零样本学习所需的人工标注,提出富含视觉信息的类别语义嵌入(源代码下载)...

【Antd】Antd 如何在 Form.Item 中有 Input.Gourp 时获取 Input.Gourp 的每一个 Input 的value

安装trinity、解决报错

2022KDD预讲 | 11位一作学者带你提前解锁优秀论文

ASP. Net core introduction I

HAProxy高可用解决方案

Install Trinity and solve error reporting
随机推荐
unity不识别rider的其中一种解决方法
Using nsproxy to forward messages
C语言个人通讯录管理系统
Go zero micro service practical series (IX. ultimate optimization of seckill performance)
The only core indicator of high-quality software architecture
Scripy framework learning
Database lock table? Don't panic, this article teaches you how to solve it
Fs4056 800mA charging IC domestic fast charging power IC
AI painting minimalist tutorial
美国土安全部长:国内暴力极端主义是目前美面临的最大恐怖主义威胁之一
Detailed explanation of Fisher information quantity detection countermeasure sample code
字节面试算法题
Flet教程之 03 FilledButton基础入门(教程含源码)(教程含源码)
2022危险化学品经营单位主要负责人练习题及模拟考试
C#基础深入学习一
Optional values and functions of the itemized contenttype parameter in the request header
C language Dormitory Management Query Software
It is six orders of magnitude faster than the quantum chemical method. An adiabatic artificial neural network method based on adiabatic state can accelerate the simulation of dual nitrogen benzene der
如何在 2022 年为 Web 应用程序选择技术堆栈
Install Trinity and solve error reporting