欢迎光临本站
我们一直在努力

Cisco路由器静态路由与默认路由的配置

静态路由是指由网络管理员手工配置的路由信息。当网络的拓扑结构或链路的状态发生变化时,网络管理员需要手工去修改路由表中相关的静态路由信息。
 

1、    熟悉路由器的开机界面。

2、    掌握对路由器进行基本的设置。

3、    理解路由器的端口及其编号。
 

         默认路由是一种特殊的静态路由,指的是当 路由表中与包的目的地址之间没有匹配的表项时,路由器能够做出选择。如果没有默认路由,那么目的地址在路由表中没有匹配表项的包将被丢弃。

网络拓扑图

<img alt="Cisco路由器静态路由与默认路由的配置” src=”/wp-content/uploads/2024/07/6970349436273597090.jpg” style=”width: 500px; height: 179px;” class=”aligncenter”>

 实验环境

1)         路由器R1的f0/0端口上接交换机S1,S1接主机PC1、PC2。

2)         路由器R3的f0/0端口上接主机PC3.

3)         路由器R4的f0/0端口上接主机PC4

各设备的IP地址等参数如下所示: 1、PC1IP地址等参数如下所示

<img alt="Cisco路由器静态路由与默认路由的配置” src=”/wp-content/uploads/2024/07/6998326781727752932.jpg” style=”width: 500px; height: 179px;” class=”aligncenter”>

PC2IP地址等参数如下所示

<img alt="Cisco路由器静态路由与默认路由的配置” src=”/wp-content/uploads/2024/07/7575071103090095853.jpg” style=”width: 500px; height: 260px;” class=”aligncenter”>

PC3IP地址等参数如下所示

<img alt="Cisco路由器静态路由与默认路由的配置” src=”/wp-content/uploads/2024/07/1248011949349762335.jpg” style=”width: 500px; height: 262px;” class=”aligncenter”>

PC4IP地址等参数如下所示

<img alt="Cisco路由器静态路由与默认路由的配置” src=”/wp-content/uploads/2024/07/2562580974133059462.jpg” style=”width: 500px; height: 246px;” class=”aligncenter”>

路由器R1配置

<img alt="Cisco路由器静态路由与默认路由的配置” src=”/wp-content/uploads/2024/07/1079010633230185602.jpg” style=”width: 500px; height: 346px;” class=”aligncenter”>

路由器R2配置:

<img alt="Cisco路由器静态路由与默认路由的配置” src=”/wp-content/uploads/2024/07/8752926324600773533.jpg” style=”width: 500px; height: 428px;” class=”aligncenter”>

路由器R3配置:

路由器R4配置:

<img alt="Cisco路由器静态路由与默认路由的配置” src=”/wp-content/uploads/2024/07/7083261404842411985.jpg” style=”width: 500px; height: 487px;” class=”aligncenter”>

测试并验证网络

PC1 ping PC3和PC4

<img alt="Cisco路由器静态路由与默认路由的配置” src=”/wp-content/uploads/2024/07/3233050024566931751.jpg” style=”width: 475px; height: 477px;” class=”aligncenter”>

PC3 ping PC1和PC2

<img alt="Cisco路由器静态路由与默认路由的配置” src=”/wp-content/uploads/2024/07/1627915675910161288.jpg” style=”width: 500px; height: 516px;” class=”aligncenter”>

注意事项实验前要了解静态路由与默认路由的概念要了解静态路由与默认路由的作用

版权声明:本文采用知识共享 署名4.0国际许可协议 [BY-NC-SA] 进行授权
文章名称:《Cisco路由器静态路由与默认路由的配置》
文章链接:https://www.youkayouwang.com/kaquan-baike/wifi-luyou/92361.html
本站资源仅供个人学习交流,请于下载后24小时内删除,不允许用于商业用途,否则法律问题自行承担。