当前位置:网站首页>OSPF comprehensive experiment
OSPF comprehensive experiment
2022-07-21 22:56:00 【The milk was not very pure that year】
subject :
Operation chart :
One 、 To configure Ip:
Area 0
R3:
34.0.0.1/24
ip route172.16.1-static 0.0.0.0 0 34.0.0.2
R4(ISP):
34.0.0.2/24
45.0.0.2/24
46.0.0.2/24
47.0.0.2/24
Loopback :
4.4.4.4/24
R5:
45.0.0.1/24
ip router-static 0.0.0.0 0 45.0.0.2
R6:
46.0.0.1/24
ip router-static 0.0.0.0 0 46.0.0.2
R7:
47.0.0.1/24
ip router-static 0.0.0.0 0 47.0.0.2
Verify public network connection :
R3:ping 45.0.0.1,46.0.0.1,47.0.0.1
R5:ping 46.0.0.1 47.0.0.1
R6:ping 47.0.0.1
To configure R3、R5、R6、R7 China and Israel R3 For the central site MGRE Environmental Science :
R3:
int t 0/0/0
ip address 172.16.1.1 29
tunnel-protocol gre p2mp
source 34.0.0.1
nhrp network-id 100
nhrp entry multicast dynamic — Establish pseudo broadcast
R5:
int t0/0/0
ip address 172.16.1.2 29
tunnel-protocol gre p2mp
source Serial 4/0/0
nhrp network-id 100
nhrp entry 172.16.1.1 34.0.0.1 register
Loopback : 172.16.2.1 24
R6:
int t0/0/0
ip address 172.16.1.3 29
tunnel-protocol gre p2mp
source Serial 4/0/0
nhrp network-id 100
nhrp entry 172.16.1.1 34.0.0.1 register
Loopback : 172.16.3.1 24
R7:
int t0/0/0
ip address 172.16.1.4 29
tunnel-protocol gre p2mp
source GigabitEthernet 0/0/0
nhrp network-id 100
nhrp entry 172.16.1.1 34.0.0.1 register
Loopback : 172.16.4.1 24
R3、R5、R6、R7 To configure MGRE Post route connection :
take R3,R5,R6,R7 The interface network type is changed to p2mp
Input again display ospf peer brief Yes
Area 1:
R1:
g0/0/0 172.16.33.1/29
int loopback0 172.16.34.1 24
R2:
g0/0/0 172.16.33.2/29
int loopback0 172.16.35.1 24
R3:
g0/0/0 172.16.33.3 29
int loopback0 172.16.36.1 24
Inspection area 1 Connection :
R1ping 172.16.33.2 172.16.33.3
Area 2:
R6:
g0/0/0 172.16.65.1 29
R11:
g0/0/0 172.16.65.2 29
loopback0 172.16.66.1 24
g0/0/1 172.16.65.9 29
R12:
g0/0/0 172.16.65.10 29
loopback0:172.16.160.1 20
loopback1:172.16.176.1 20
rip:
160.16.160.0/19
172.16.160.0/20
172.16.176.0/20
from R11ping 172.16.65.1 172.16.65.10
area 3:
R7:
g0/0/1 172.16.97.1 29
R8:
g0/0/0 172.16.97.2 29
loopback0:172.16.98.1 24
g0/0/1 172.16.97.9 29
R9:
g0/0/0 172.16.97.10 29
from R8 ping 172.16.97.1 172.16.97.10
area 4:
R9:
g0/0/1 172.16.129.1 29
loopback0 172.16.130.1 24
R10:
g0/0/0 172.16.129.2 29
loopback0 192.16.131.1 24
from R9ping172.16.129.2
Two 、 start-up ospf process
R1:
ospf 1 router-id 1.1.1.1
[R1-ospf-1]a 1
[R1-ospf-1-area-0.0.0.1]network 172.16.0.0 0.0.255.255
R2:
ospf 1 router-id 2.2.2.2
[R2-ospf-1]a 1
[R2-ospf-1-area-0.0.0.1]network 172.16.0.0 0.0.255.255
R3:
Area 1:
ospf 1 router-id 3.3.3.3
[R3-ospf-1]a 1
[R3-ospf-1-area-0.0.0.1]network 172.16.32.0 0.0.7.255
Area 0:
[R3-ospf-1-area-0.0.0.1]a 0
[R3-ospf-1-area-0.0.0.0]net
[R3-ospf-1-area-0.0.0.0]network 172.16.1.1 0.0.0.0
R5:
ospf 1 router-id 5.5.5.5
[R5-ospf-1]a 0
[R5-ospf-1-area-0.0.0.0]network 172.16.0.0 0.0.255.255
R6:
area 0
ospf 1 router-id 6.6.6.6
[R6-ospf-1]a 0
[R6-ospf-1-area-0.0.0.0]network 172.16.0.0 0.0.3.255
area 2
[R6-ospf-1-area-0.0.0.0]a 2
[R6-ospf-1-area-0.0.0.2]net
[R6-ospf-1-area-0.0.0.2]network 172.16.65.1 0.0.0.0
R11:
[R11]ospf 1 r
[R11]ospf 1 router-id 11.11.11.11
[R11-ospf-1]a 2
[R11-ospf-1-area-0.0.0.2]network 172.16.0.0 0.0.255.255
R12:
[R12]ospf 1 router-id 12.12.12.12
[R12-ospf-1]a 2
[R12-ospf-1-area-0.0.0.2]network 172.16.65.10 0.0.0.0
rip Declare :
[R12]rip
[R12-rip-1]v 2
[R12-rip-1]network 172.16.0.0
R7:
area 0:
[R7]ospf 1 router-id 7.7.7.7
[R7-ospf-1]a 0
[R7-ospf-1-area-0.0.0.0]net
[R7-ospf-1-area-0.0.0.0]network 172.16.0.0 0.0.7.255
area 3:
[R7-ospf-1-area-0.0.0.0]a 3
[R7-ospf-1-area-0.0.0.3]net
[R7-ospf-1-area-0.0.0.3]network 172.16.97.1 0.0.0.0
R8:
[R8]ospf 1 router-id 8.8.8.8
[R8-ospf-1]a 3
[R8-ospf-1-area-0.0.0.3]net
[R8-ospf-1-area-0.0.0.3]network 172.16.0.0 0.0.255.255
R9:
[R9]ospf 1 router-id 9.9.9.9
[R9-ospf-1]
[R9-ospf-1]a 3
[R9-ospf-1-area-0.0.0.3]network 192.16.97.10 0.0.0.0
[R9-ospf-1-area-0.0.0.3]
[R9-ospf-1-area-0.0.0.3]a 4
[R9-ospf-1-area-0.0.0.4]network 172.16.128.0 0.0.3.255
R10:
[R10]ospf 1 router-id 10.10.10.10
[R10-ospf-1]a 4
[R10-ospf-1-area-0.0.0.4]net
[R10-ospf-1-area-0.0.0.4]network 172.16.0.0 0.0.255.255
Reissue ( obtain rip Information ):
R12 by ASBR Router
[R12]ospf 1
[R12-ospf-1]im
[R12-ospf-1]import-route rip
3、 ... and 、 Summary :
R3:
[R3]ospf 1
[R3-ospf-1]a 1
[R3-ospf-1-area-0.0.0.1]ab
[R3-ospf-1-area-0.0.0.1]abr-summary 172.16.32.0 255.255.224.0
R7:
[R7]ospf 1
[R7-ospf-1]a 3
[R7-ospf-1-area-0.0.0.3]ab
[R7-ospf-1-area-0.0.0.3]abr-summary 172.16.96.0 255.255.224.0
R9:
[R9]ospf 1
[R9-ospf-1]asb
[R9-ospf-1]asbr-summary 172.16.128.0 255.255.224.0
R12:
[R12]ospf 1
[R12-ospf-1]asb
[R12-ospf-1]asbr-summary 172.16.160.0 255.255.224.0
Four 、 Set special areas for non backbone areas :
1、 Completely peripheral area :
R1:
[R1]ospf 1
[R1-ospf-1]
[R1-ospf-1]a 1
[R1-ospf-1-area-0.0.0.1]stub
R2:
[R2]ospf 1
[R2-ospf-1]a 1
[R2-ospf-1-area-0.0.0.1]stub
R3:
[R3]ospf 1
[R3-ospf-1]a 1
[R3-ospf-1-area-0.0.0.1]stub no-summary
2、area 2、area 3 To configure NSSA:
R6:
[R6]ospf 1
[R6-ospf-1]a 2
[R6-ospf-1-area-0.0.0.2]
[R6-ospf-1-area-0.0.0.2]nssa no-summary
R11:
[R11]ospf 1
[R11-ospf-1]a 2
[R11-ospf-1-area-0.0.0.2]nssa
R12:
[R12]ospf 1
[R12-ospf-1] a 2
[R12-ospf-1-area-0.0.0.2]nssa
R7:
[R7]ospf 1
[R7-ospf-1]a 3
[R7-ospf-1-area-0.0.0.3]nssa no-summary
R8:
[R8]ospf 1
[R8-ospf-1]a 3
[R8-ospf-1-area-0.0.0.3]nssa
R9:
[R9]ospf 1
[R9-ospf-1]a 3
[R9-ospf-1-area-0.0.0.3]nssa
5、 ... and 、 Guard ring
R3:
[R3]ip route-static 172.16.32.0 255.255.224.0 NULL 0
R6:
[R6]ip route-static 172.16.64.0 255.255.224.0 NULL 0
R7:
[R7]ip route-static 172.16.96.0 255.255.224.0 NULL 0
R9:
[R9]ip route-static 172.16.128.0 255.255.224.0 NULL 0
R12:
[R12]ip route-static 172.16.160.0 255.255.224.0 NULL 0
6、 ... and 、 Make all devices accessible R4 Loopback :
R3:
R3]acl 2000
[R3-acl-basic-2000]rule permit source 172.16.0.0 0.0.255.255
[R3]int s 4/0/0
[R3-Serial4/0/0]nat outbound 2000
R6:
[R6]acl 2000
[R6-acl-basic-2000]rule permit source 172.16.0.0 0.0.255.255
[R6]int g 0/0/0
[R6-GigabitEthernet0/0/0]nat outbound 2000
R7:
[R7]acl 2000
[R7-acl-basic-2000]rule permit source 172.16.0.0 0.0.255.255
[R7]int g 0/0/0
[R7-GigabitEthernet0/0/0]nat outbound 2000
Respectively in R1、R2、R10、R12 ping 4.4.4.4
Pictured :
The whole network can reach ;
stay R10 On ping Any... In the topology ip
边栏推荐
- 微信团队分享:微信后台在海量并发请求下是如何做到不崩溃的
- OSI reference model summary
- 2022acm summer training weekly report (III)
- 什么是SIP协议?
- Wechat team sharing: how does the wechat background do not crash under massive concurrent requests
- 长连接网关技术专题(八):B站基于微服务的API网关从0到1的演进之路
- 完成mysql数据库主从复制集群的搭建教程
- 社交软件红包技术解密(十二):解密抖音春节红包背后的技术设计与实践
- Practice and Thinking on the architecture of a set of 100000 TPS im integrated message system
- Connect with Tencent corporate email (authorize login free, obtain the number of unread emails)
猜你喜欢
基于Unity的Hololens2与服务器进行Json、模型以及视频流传输实战(个人Hololens2进阶开发总结)
Unity 使用 bvh 驱动骨骼动作
Atcoder beginer contest 218 problem solution
Cocos Creator 3.2 中实现2D地图3D人物45度角RPG游戏效果笔记(摄像机设置方案)
Windows MySQL 5.7+ modify the case sensitive attribute of table name
呼叫中心客服系统如何搭建?
数据库初学笔记
OKCC外呼中心为什么要把语音引入WEB中?
代码修改模型的渐隐和渐现
QT beginner
随机推荐
Kickback record: dynamic programming 5 subsequence problem (3) palindrome - 647 palindrome subsequence, 516 longest palindrome subsequence
Force deduction record: dynamic planning 3 house robbery - 198 house robbery, 213 house robbery II, 337 house robbery III
CocosCreator3.x 接入腾讯游戏联机对战引擎笔记
Playable Director (TimeLine) 3D游戏的开场动画制作
一个好用的Unity Touch管理器
Teach you how to realize an efficient im long connection adaptive heartbeat keeping mechanism
Seventh week ACM training report
社交软件红包技术解密(十二):解密抖音春节红包背后的技术设计与实践
视频直播技术分享:一文读懂主流视频直播系统的推拉流架构、传输协议等
Windows MySQL 5.7+ modify the case sensitive attribute of table name
[oops framework] resource management
VOIP软交换与选线路之间的对比
Cocos Creator 3. X draw sector mesh components
Open source cocos creator 3 X game framework oops framework
Configuration principle and process of redis master-slave replication
力扣记录:动态规划1基础题目——509 斐波那契数,70 爬楼梯,746 使用最小花费爬楼梯,62 不同路径,63 不同路径II,343 整数拆分,96 不同的二叉搜索树
呼叫中心客服系统如何搭建?
HoloLens下载、读取与存储Json文件路径问题(个人Hololens2进阶开发小总结一)
一套十万级TPS的IM综合消息系统的架构实践与思考
ospf实验(mgre)