当前位置:网站首页>OSPF静态大实验
OSPF静态大实验
2022-07-26 22:48:00 【愤愤的卷毛】
完成下图实验

IP地址的规划

本实验有六个区域需要六个网段借三位
172.16.0.0/19
172.16.32.0/19
172.16.64.0/19
172.16.96.0/19
172.16.128.0/19
172.16.160.0/19
172.16.192.0/19
172.16.224.0/19
area1:172.16.0.0/19
四个网段借两位
172.16.0.0/21
172.16.8.0/21
172.16.16.0/21
172.16.24.0/21
area0:172.16.32.0/19
四个网段借两位
172.16.32.0/21
172.16.40.0/21
172.16.48.0/21
172.16.56.0/21
area2:172.16.64.0/19
三个网段借两位
172.16.64.0/21
172.16.72.0/21
172.16.80.0/21
area3:172.16.96.0/19
三个网段借两位
172.16.96.0/21
172.16.104.0/21
172.16.112.0/21
area4:172.16.128.0/19
三个网段借两位
172.16.128.0/21
172.16.136.0/21
172.16.144.0/21
rip:172.16.160.0/19
两个环回网段借一位
172.16.160.0/20
172.16.176.0/20
IP地址的配置
照上述网段划分成功配置IP地址
缺省与NAT地址转化
在R3、R5、R6、R7上分别下放一条缺省,均指向所对应的R4接口上并在各个出接口的时候使用nat转化地址
以R3为例
[R3]ip route-static 0.0.0.0 0 34.1.1.4
NAT地址转化
[R3]acl 2000
[R3-acl-basic-2000]rule 1 permit source any
[R3-acl-basic-2000]int s3/0/0
[R3-Serial3/0/0]nat outbound 2000
MGRE环境搭建
R3中心站点配置
[R3]int t0/0/0
[R3-Tunnel0/0/0]ip add 10.1.1.1 24
[R3-Tunnel0/0/0]tunnel-protocol gre p2mp
[R3-Tunnel0/0/0]source 34.1.1.3
[R3-Tunnel0/0/0]nhrp entry multicast dynamic
[R3-Tunnel0/0/0]nhrp network-id 100
R5分支站点配置
[R5]int t0/0/0
[R5-Tunnel0/0/0]ip add 10.1.1.2 24
[R5-Tunnel0/0/0]tunnel-protocol gre p2mp
[R5-Tunnel0/0/0]source s4/0/0
[R5-Tunnel0/0/0]nhrp entry 10.1.1.1 34.1.1.3 register
[R5-Tunnel0/0/0]nhrp network-id 100
R6与R7配置方式与R5相同
完成后在r3上看ospf的nhrp表查看是否成功
OSPF的宣告
在mgre的环境中的接口类型改为broadcast
修改接口类型
[R3]int t0/0/0
[R3-Tunnel0/0/0]ospf network-type broadcast
干涉选举---R5--R7均放弃选举
[R5]int tunnel 0/0/0
[R5-Tunnel0/0/0]ospf dr-priority 0
多进程双向重发布
area4
[R9]ospf 1
[R9-ospf-1]import-route ospf 2
RIP区域
[R12]ospf 1
[R12-ospf-1]import-route rip 1
域间路由汇总
域间路由汇总是在ABR上本实验中的R3、R6、R7
以r3为例
[R3]ospf 1
[R3-ospf-1]area 1
[R3-ospf-1-area-0.0.0.1]abr-summary 172.16.0.0 255.255.224.0
域外路由汇总
域外路由汇总是在ASBR上,本实验也就是R9、R12
以r9为例
[R9]ospf 1
[R9-ospf-1]area 4
[R9-ospf-1-area-0.0.0.4]asbr-summary 172.16.128.0 255.255.224.0
空接口防环
由于上面进行了汇总,为了防止环路产生,在每个汇总过的路由器上配置空接口
[r1]ip route-static 1.1.0.0 22 NULL 0
(汇总后的网段)
特殊区域定义
area1
[R1]ospf 1
[R1-ospf-1]area 1
[R1-ospf-1-area-0.0.0.1]stub
R3
[R3]ospf 1
[R3-ospf-1]area 1
[R3-ospf-1-area-0.0.0.1]stub no-summary
area2,3
[R7]ospf 1
[R7-ospf-1]area 3
[R7-ospf-1-area-0.0.0.3]nssa
R7
[R7]ospf 1
[R7-ospf-1]area 3
[R7-ospf-1-area-0.0.0.3]nssa no-summary
边栏推荐
- Autojs learning - realize the display of date and lunar time
- When El table is selected, the jump page remains selected
- [FPGA tutorial case 29] the second DDS direct digital frequency synthesizer based on FPGA - Verilog development
- Autojs learning - realize image cutting
- 解决方案:Win10如何使用bash批处理命令
- 2022zui新抖音24小时循环值守直播监控(一)直播间开播监控
- 行,表,页,共享,排他,悲观,乐观,死锁
- 6.30联发科笔试
- 为啥不建议使用Select *
- [FPGA tutorial case 28] one of DDS direct digital frequency synthesizers based on FPGA -- principle introduction
猜你喜欢

(hdu1588) Gauss Fibonacci (sum of matrix fast power + bisection matrix proportional sequence)

OSPF在MGRE环境下的实验

Text to image intensive reading df-gan:a simple and effective baseline for text to image synthesis

Docker高级篇之Mysql主从复制、Redis集群扩容缩容配置案例详解

初识C语言(2)

Flink1.13.6 detailed deployment method

读写分离、主从同步一文搞定

解决方案:Win10如何使用bash批处理命令

R分数复现 R-precision评估指标定量 文本生成图像R分数定量实验全流程复现(R-precision)定量评价实验踩坑避坑流程

二层封装技术(HDLC、PPP--PAP\CHAP、GRE)实验练习
随机推荐
指针常量与常量指针详细讲解
GAN的训练技巧:炼丹师养成计划 ——生成式对抗网络训练、调参和改进
How does MySQL get the first three items in each group
IS指标复现 文本生成图像IS分数定量实验全流程复现 Inception Score定量评价实验踩坑避坑流程
Merge sort (recursive and non recursive writing)
Hash索引和B+树相关知识
SQL anti injection regular expression
Tinyint type map is received and returned as Boolean
【mysql】mysql启动关闭命令以及一些报错解决问题
When El table is selected, the jump page remains selected
Unity Huatuo revolutionary hot update series [1]
JS max?
Desktop solution summary
STM32入门教程第二讲
Text to image paper intensive reading rat-gan: recursive affine transformation for text to image synthesis
TIM输出比较——PWM
Removal and addition of reference types in template and generic programming
OSPF协议知识汇总
Timestamp conversion Greenwich mean time
Text to image论文精读RAT-GAN:文本到图像合成中的递归仿射变换 Recurrent Affine Transformation for Text-to-image Synthesis