当前位置:网站首页>静态扩展配置
静态扩展配置
2022-07-23 05:47:00 【.98℃】
目录
1.要求:

2.拓扑划分:

3.分析:
- 根据拓扑结构合理划分IP地址,为后面手工汇总提供支持,以及要避免黑洞
- 需要编写缺省路由,从而达到不直接编写5.5.5.0/24的路由也能访问
- r4和r5之间的两条线需要配置浮动静态
4.配置:
1.环回地址的配置,直连接口的IP划分
[r1]int g0/0/0
[r1-GigabitEthernet0/0/0]ip add 192.168.1.209 28
[r1]int g0/0/1
[r1-GigabitEthernet0/0/1]ip add 192.168.1.225 28
[r2]int g0/0/0
[r2-GigabitEthernet0/0/0]ip add 192.168.1.210 28
[r2]int g0/0/1
[r2-GigabitEthernet0/0/1]ip add 192.168.1.194 28
[r3]int g0/0/0
[r3-GigabitEthernet0/0/0]ip add 192.168.1.17 28
[r3-GigabitEthernet0/0/0]int g0/0/1
[r3-GigabitEthernet0/0/1]ip add 192.168.1.193 28
[r4-GigabitEthernet0/0/0]int g0/0/2
[r4-GigabitEthernet0/0/2]ip add 192.168.1.81 28
[r4-GigabitEthernet0/0/1]int g4/0/0
[r4-GigabitEthernet4/0/0]ip add 192.168.1.65 28
[r4]int g0/0/0
[r4-GigabitEthernet0/0/0]ip add 192.168.1.226 28
[r4-GigabitEthernet0/0/2]int g0/0/1
[r4-GigabitEthernet0/0/1]ip add 192.168.1.18 28
[r5]int g0/0/0
[r5-GigabitEthernet0/0/0]ip add 192.168.1.66 28
[r5-GigabitEthernet0/0/0]int g0/0/1
[r5-GigabitEthernet0/0/1]ip add 192.168.1.82 28
2.静态路由设置以及r3和r5之间的浮动
[r1]ip route-static 192.168.1.64 26 192.168.1.210
[r1]ip route-static 192.168.1.192 28 192.168.1.210
[r1]ip route-static 192.168.1.128 27 192.168.1.210
[r1]ip route-static 192.168.1.0 26 192.168.1.226
[r2]ip route-static 192.168.1.160 27 192.168.1.209
[r2]ip route-static 192.168.1.224 28 192.168.1.209
[r2]ip route-static 192.168.1.0 25 192.168.1.193
[r3]ip route-static 192.168.1.128 26 192.168.1.194
[r3]ip route-static 192.168.1.208 28 192.168.1.194
[r3]ip route-static 192.168.1.224 28 192.168.1.18
[r3]ip route-static 192.168.1.32 27 192.168.1.18
[r4]ip route-static 192.168.1.128 25 192.168.1.225
[r4]ip route-static 192.168.1.64 26 192.168.1.17
[r5]ip route-static 192.168.1.16 26 192.168.1.65
[r5]ip route-static 192.168.1.16 26 192.168.1.81 preference 100
[r5]ip route-static 192.168.1.96 27 192.168.1.65
[r5]ip route-static 192.168.1.96 27 192.168.1.65 preference 100
[r5]ip route-static 192.168.1.128 25 192.168.1.65
[r5]ip route-static 192.168.1.128 25 192.168.1.81 preference 1003.缺省配置
[r1]ip route-static 0.0.0.0 0.0.0.0 192.168.1.226
[r2]ip route-static 0.0.0.0 0.0.0.0 192.168.1.193
[r3]ip route-static 0.0.0.0 0.0.0.0 192.168.1.66
[r3]ip route-static 0.0.0.0 0.0.0.0 192.168.1.82 preference 100
[r4]ip route-static 0.0.0.0 0.0.0.0 192.168.1.174.配置必要的空接口
[r3]ip route-static 192.168.1.64 26 NULL 0
[r4]ip route-s 192.168.1.0 26 NULL 0
[r4]ip route-s 192.168.1.128 25 NULL 0
[r4]ip route-s 192.168.1.32 27 NULL 0
5.测试





边栏推荐
- Routing extension configuration of OSPF and rip
- Hcip ---- relevant knowledge points of GRE protocol, mGRE environment and OSPF Protocol
- Learning diary - (routing and switching technology) layer 3 switch
- NFS service deployment notes
- Frame relay network configuration example learning record
- 静态路由原理与配置
- sftp部署配置
- 三层交换配置实例学习记录
- Understand the article frankly and get the HTTP protocol cache
- OSPF 多区域配置实例学习记录
猜你喜欢

Unity used trilib plug-in under URP pipeline to load model material incorrectly

Manually configure DHCP service

ACL——net

Unity3d+gameframework: resource analysis, resource dependency, circular dependency detection

静态路由原理与配置

zabbix监控详细安装到部署

Eth trunk configuration instance learning record

Understanding of LSM tree (log structured merge tree)

DNS domain name resolution service

RIP 配置实例学习记录
随机推荐
C#输入一个字母,判断其大小写
Analysis of inheritablethreadlocal and Alibaba's transmittablethreadlocal design ideas
Depth first find all simple paths from vertex u to vertex v in the graph
Sword finger offer summary
VLAN configuration instance learning record
Article on the basic technology needed to build hybrid app
psutil监控的简单使用
Gameframework: package resources, publish packages with the app, package and generate folder instructions, upload resources to the server, download resources, gamefreamworklist DAT and gameframeworkve
DHCP principle and configuration
Copy, paste and drag files between VMware virtual machine and host
Eth-Trunk 配置实例学习记录
秘钥远程登录服务器实现免密登录实战
Routing extension configuration of OSPF and rip
Hcip-hcia knowledge review (II)
DHCP second experiment
How to solve too many if statements
Jenkins deployment
Learning diary - (routing and switching technology) ACL access control list
帧中继网配置实例学习记录
Install LNMP service deployment using yum