当前位置:网站首页>静态路由配置全面详解,静态路由快速入门指南
静态路由配置全面详解,静态路由快速入门指南
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、在“已设置静态路由列表”中,选中需要删除的静态路由,单击“删除”。在弹出的界面中,单击“确定”删除选中的静态路由。
边栏推荐
- From starfish OS' continued deflationary consumption of SFO, the value of SFO in the long run
- Guojingxin center "friendship and righteousness" - the meta universe based on friendship and friendship, and the parallel of "honguniverse"
- Tapdata 的 2.0 版 ,开源的 Live Data Platform 现已发布
- Redux usage
- QT build with built-in application framework -- Hello World -- use min GW 32bit
- How to make enterprise recruitment QR code?
- Get familiar with XML parsing quickly
- Matlab method is good~
- 2、TD+Learning
- Problems of font legend and time scale display of MATLAB drawing coordinate axis
猜你喜欢
2、TD+Learning
ANSI / nema- mw- 1000-2020 magnetic iron wire standard Latest original
Leetcode exercise - Sword finger offer 36 Binary search tree and bidirectional linked list
Capability contribution three solutions of gbase were selected into the "financial information innovation ecological laboratory - financial information innovation solutions (the first batch)"
如何让导电滑环信号更好
Application of slip ring in direct drive motor rotor
Remote Sensing投稿經驗分享
Sword finger offer II 041 Average value of sliding window
快速熟知XML解析
滑环在直驱电机转子的应用领域
随机推荐
The difference between distribution function and probability density function of random variables
由排行榜实时更新想到的数状数值
Qt - - Packaging Programs - - Don't install Qt - can run directly
Kafka-connect将Kafka数据同步到Mysql
3. Multi agent reinforcement learning
How to make enterprise recruitment QR code?
Gnuradio transmits video and displays it in real time using VLC
Apache多个组件漏洞公开(CVE-2022-32533/CVE-2022-33980/CVE-2021-37839)
Codeforces Round #649 (Div. 2)——A. XXXXX
Redis集群
AttributeError: ‘str‘ object has no attribute ‘strftime‘
Redux usage
The solution of frame dropping problem in gnuradio OFDM operation
Optimization of ecological | Lake Warehouse Integration: gbase 8A MPP + xeos
Codeforces Round #633 (Div. 2) B. Sorted Adjacent Differences
2、TD+Learning
How does Matplotlib and PIL image integrate and save multiple pictures into one picture
Working principle of stm32gpio port
【目标跟踪】|atom
Call (import) in Jupiter notebook ipynb . Py file