当前位置:网站首页>MGRE/OSPF综合实验
MGRE/OSPF综合实验
2022-07-16 03:00:00 【Dream_of_falling】

实验要求
- R6为ISP只能配置IP地址,R1-R5的环回为私有网段
- R1/R4/R5为全连的MGRE结构,R1/R2/R3星型的拓扑结构,R1为中心站点
- 所有私有网段可以互相通讯,私有网段使用OSPF完成
实验开始

- 配置ip地址
R1-R5类似

R6

配置缺省路由
给除了ISP的R6外其它的路由器去写一个指向R6的缺省,目的是为了搞通公网
[r1]ip route-static 0.0.0.0 0 16.1.1.2
[r1]ip route-static 0.0.0.0 0 61.1.1.2
[r2]ip route-static 0.0.0.0 0 26.1.1.2
[r3]ip route-static 0.0.0.0 0 36.1.1.2
[r4]ip route-static 0.0.0.0 0 46.1.1.2
[r5]ip route-static 0.0.0.0 0 56.1.1.2 - R1/R4/R5为全连的MGRE结构,R1/R2/R3星型的拓扑结构,R1为中心站点
R1
R4
R5
如图
因为为星型的拓扑结构,所以可能会出现DR的选举错误,此时需要将R2、R3的tunnel接口的优先级改为0,使他们不参与选举,致使R1成为DR,另外R2、R3需要到R1去注册,同样需要将接口类型切换为broadcast,并且也要开启伪广播
R1
R2
R3
如图
- 配置ospf
将各自的网段宣告进去
R1
[r1]ospf 1 router-id 1.1.1.1
[r1-ospf-1]a 0
[r1-ospf-1-area-0.0.0.0]network 192.168.1.1 0.0.0.0
[r1-ospf-1-area-0.0.0.0]network 10.1.1.1 0.0.0.0
[r1-ospf-1-area-0.0.0.0]network 11.1.1.1 0.0.0.0
R2
[r2]ospf 1 router-id 2.2.2.2
[r2-ospf-1]a 0
[r2-ospf-1-area-0.0.0.0]network 11.1.1.1 0.0.0.0
[r2-ospf-1-area-0.0.0.0]network 192.168.2.1 0.0.0.0
R3
[r3]ospf 1 router-id 3.3.3.3
[r3-ospf-1]a 0
[r3-ospf-1-area-0.0.0.0]network 192.168.3.1 0.0.0.0
[r3-ospf-1-area-0.0.0.0]network 11.1.1.3 0.0.0.0
R4
[r4]ospf 1 router-id 4.4.4.4
[r4-ospf-1]a 0
[r4-ospf-1-area-0.0.0.0]net 192.168.4.1 0.0.0.0
[r4-ospf-1-area-0.0.0.0]net 10.1.1.2 0.0.0.0
R5
[r5]ospf 1 router-id 5.5.5.5
[r5-ospf-1]a 0
[r5-ospf-1-area-0.0.0.0]network 192.168.5.1 0.0.0.0
[r5-ospf-1-area-0.0.0.0]network 10.1.1.3 0.0.0.0
如图
边栏推荐
- 2022.07.06 group a summary
- MySQL foundation - add, delete, check and modify (Foundation)
- What is the future of privacy computing and NFT under the wave of Web3.0
- CRS-2674,CRS-4000
- 记录根文件系统镜像img制作
- 缓存穿透、缓存雪崩、缓存击穿?
- Web3.0浪潮下,隐私计算与NFT的前景会是怎样
- grid布局
- Kotlin compose bottom bar
- [today in history] July 15: Mozilla foundation was officially established; The first operation of Enigma cipher machine; Nintendo launches FC game console
猜你喜欢

【Golang | gRPC】gRPC-Server Streaming服务端流实战

CRS-2674,CRS-4000

Etherscan: some important charts in the bear market

How to systematically and efficiently learn the entry-level software testing and find the work of software testing?

编程老司机带你玩转 CompletableFuture 异步编程

The development of digital collection system helps enterprises' meta universe scene marketing

Source Insight4 中文乱码怎么办?

Typescript之常量与对象冻结

Motion capture assists China Electric Power Research Institute in establishing a side cloud collaborative power independent inspection system

Linux -- connecting to MySQL database and basic operations
随机推荐
Radio and television 5g officially entered the arena: there is no four nation scuffle, but a two-line confrontation
2022.07.12 group a summary
NC20566 [SCOI2010]游戏
5g applications are accelerated, and cool Lehman VR live broadcast is born at the right time.
CRS-2674,CRS-4000
Programming old driver takes you to play with completable future asynchronous programming
I learned it slowly
Software testing - learning notes 3
【Swoole系列2.4】WebSocket服务
The development of digital collection system helps enterprises' meta universe scene marketing
Rust opencv drawing and display
Banned, off the shelf! Wechat has made a move to standardize and renovate the digital collection platform!
Cache penetration, cache avalanche, cache breakdown?
MySQL foundation -- Database Constraints and table design
[full text 7000 words] SF city test development side 49min answer
[slow live broadcast in the post epidemic era: a good time under the lens]
Miller_ Rabin Brief
Revelation of AI application: honey and arsenic in security market
How does an enterprise choose the right time series database?
Share the operation steps of postman connecting to MySQL database from the beginning of installation