当前位置:网站首页>静态路由配置全面详解,静态路由快速入门指南
静态路由配置全面详解,静态路由快速入门指南
2022-07-08 00:16:00 【最铁头的网工】
操作步骤
配置各路由器接口的IP地址
以配置Router_1的GE0/0/0接口为例,其他接口配置与之类似,不再重复介绍。
a、如图2所示,依次选择“广域网互联 > 以太接口”,进入“以太接口”界面。
图2 以太接口界面

b、在“以太接口列表”中,单击“GigabitEthernet0/0/0”所在行的,配置GE0/0/0的IP地址,如图3所示。
图3 配置GE0/0/0的IP地址

c、单击“确定”,完成Router_1上接口GE0/0/0的IP地址配置。
同样的方式,配置Router_1上接口GE0/0/1,Router_2和Router_3上各接口的IP地址。
Router_1上接口GE0/0/1的IP地址信息如下。
- “IP地址”为“10.1.4.1”;“子网掩码”为“255.255.255.252”。
Router_2上各接口的IP地址信息如下。
- “接口名称”选择“GigabitEthernet0/0/0”;“IP地址”为“10.1.2.1”;“子网掩码”为“255.255.255.0”。
- “接口名称”选择“GigabitEthernet0/0/1”;“IP地址”为“10.1.4.2”;“子网掩码”为“255.255.255.252”。
- “接口名称”选择“GigabitEthernet0/0/2”;“IP地址”为“10.1.4.5”;“子网掩码”为“255.255.255.252”。
Router_3上各接口的IP地址信息如下。
- “接口名称”选择“GigabitEthernet0/0/0”;“IP地址”为“10.1.3.1”;“子网掩码”为“255.255.255.0”。
- “接口名称”选择“GigabitEthernet0/0/1”;“IP地址”为“10.1.4.6”;“子网掩码”为“255.255.255.252”。
配置Router_1的缺省路由
a、如图4所示,依次单击“IP业务 > 路由 > 静态路由配置”。
图4 静态路由配置界面

b、在“IPv4静态路由配置表”中,单击“新建”,配置Router_1的缺省路由,如图5所示。
图5 配置Router_1的缺省路由

c 、单击“确定”,完成Router_1的缺省路由配置。
同样的方式,配置Router_2和Router_3到不同网段的路由。
Router_2到不同网段的路由配置信息如下。
- “目的IP地址”为“10.1.1.0”;“子网掩码”为“255.255.255.0”;“下一跳”为“10.1.4.1”。
- “目的IP地址”为“10.1.3.0”;“子网掩码”为“255.255.255.0”;“下一跳”为“10.1.4.6”。
Router_3的缺省路由信息如下。
- “目的IP地址”为“0.0.0.0”;“子网掩码”为“0.0.0.0”;“下一跳”为“10.1.4.5”。
验证配置结果
# 配置完成后,依次单击“IP业务 > 路由 > 路由表”,可以查看路由器的IP路由表信息。以Router_1为例,查看到如图6所示的配置结果。
图6 配置结果

PC_1能够与PC_2和PC_3之间互通。
配置注意事项
- 保证两个路由器互连接口地址配置在同一网段,并且可以正常互通。
- 在各主机上配置IP地址和IPv4缺省网关。
- 如果目的IP地址和掩码都为0.0.0.0,配置的路由为缺省路由。
- 如果出接口类型为非点到点类型,则必须指定下一跳地址。
- 下一跳和出接口不能同时为空。
删除静态路由
1、选择“高级 > IP业务 > 路由 > 静态路由”,进入静态路由界面如图1所示。
2、在“已设置静态路由列表”中,选中需要删除的静态路由,单击“删除”。在弹出的界面中,单击“确定”删除选中的静态路由。
边栏推荐
- ANSI / nema- mw- 1000-2020 magnetic iron wire standard Latest original
- 用户之声 | 对于GBase 8a数据库学习的感悟
- MySQL查询为什么没走索引?这篇文章带你全面解析
- How does Matplotlib and PIL image integrate and save multiple pictures into one picture
- break net
- Redux usage
- About snake equation (2)
- ANSI / NEMA- MW- 1000-2020 磁铁线标准。. 最新原版
- 第七章 行为级建模
- The method of using thread in PowerBuilder
猜你喜欢

Introduction to grpc for cloud native application development

子矩阵的和

Different methods for setting headers of different pages in word (the same for footer and page number)

The beauty of Mathematics -- the principle of fine Fourier transform

Version 2.0 of tapdata, the open source live data platform, has been released

从Starfish OS持续对SFO的通缩消耗,长远看SFO的价值

About snake equation (3)

液压旋转接头的使用事项

The difference between distribution function and probability density function of random variables

为什么更新了 DNS 记录不生效?
随机推荐
第七章 行为级建模
mysql/mariadb怎样生成core文件
LeetCode 练习——剑指 Offer 36. 二叉搜索树与双向链表
Why does the updated DNS record not take effect?
碳刷滑环在发电机中的作用
用户之声 | 对于GBase 8a数据库学习的感悟
Understanding of maximum likelihood estimation
Sword finger offer II 041 Average value of sliding window
Running OFDM in gnuradio_ RX error: gr:: Log: info: packet_ headerparser_ b0 - Detected an invalid packet at item ××
Gbase observation | how to protect the security of information system with frequent data leakage
MySQL查询为什么没走索引?这篇文章带你全面解析
鼠标事件-事件对象
Codeforces Round #649 (Div. 2)——A. XXXXX
npm 内部拆分模块
common commands
How to make enterprise recruitment QR code?
Codeforces Round #643 (Div. 2)——B. Young Explorers
Deep learning website
Anaconda3 download address Tsinghua University open source software mirror station
C语言-模块化-Clion(静态库,动态库)使用