当前位置:网站首页>第五天实验
第五天实验
2022-07-29 02:14:00 【iLoyalty】

1 划分网段,配置ip地址
R1
R2

R3

R4

R5

R6

2 配置R1.4.5 MGRE
R1

R4

R5

3 注册
R1
[R1-Tunne10/0/0]nhrp entry 10.0.0.2 46.0.0.1 register[R1-Tunne10/0/0]nhrp entry 10.0.0.3 56.0.0.1 register
R4
[R4-Tunne10/0/0]nhrp entry 10.0.0.1 16.0.0.1 register[R4-Tunne10/0/0]nhrp entry 10.0.0.3 56.0.0.1 register
R5
[R5-Tunne10/0/0]nhrp entry 10.0.0.1 16.0.0.1 register[R5-Tunne10/0/0]nhrp entry 10.0.0.2 46.0.0.1 register
4 配置R1.2.3 MGRE
R1
[R1]int t0/0/1
[R1-Tunne10/0/1]ip add 11.0.0.1 2
[R1-Tunne10/0/1]tunnel-protocol gre p2mp
[R1-Tunne10/0/1]source 116.0.0.1
[R1-Tunne10/0/1]nhrp network-id 100
[R1-Tunne10/0/1]nhrp entry multicast dynamic
R2
[R2]int t0/0/1
[R2-Tunne10/0/1]ip add 11.0.0.2 24
[R2-Tunne10/0/1]tunnel-protocol gre p2mp
[R2-Tunne10/0/1]nh network-id 200
[R2-Tunne10/0/1]nh en 11.0.0.1 116.0.0.1 re
R3
[Rl]int t0/0/1
[R1-Tunne10/0/1]ip add 11.0.0.1 2
[R1-Tunne10/0/1]tunnel-protocol gre p2mp
[R1-Tunne10/0/1]source 116.0.0.1
[R1-Tunne10/0/1]nhrp network-id 100
[R1-Tunne10/0/1]nhrp entry multicast dynamic
5 配置OSPF
R1
[R1]ospf 1 rou 1.1.1.1
[R1-ospf-1]a 0
[R1-ospf-1-area-0.0.0.0]network 192.168.1.0 0.0.0.255
[R1-ospf-1-area-0.0.0.0]network 10.0.0.0 0.0.0.255
[R1-ospf-1-area-0.0.0.0]network 11.0.0.0 0.0.0.255
R2
[R2]ospf 1 rou 2.2.2.2
[R2-ospf-1]a 0
[R2-ospf-1-area-0.0.0.0]network 192.168.2.0 0.0.0.255
[R2-ospf-1-area-0.0.0.0]network 11.0.0.0 0.0.0.255
R3
[R3]ospf 1 rou 3.3.3.3
[R3-ospf-1]a 0
[R3-ospf-1-area-0.0.0.0]network 192.168.3.0 0.0.0.255
[R3-ospf-1-area-0.0.0.0]network 11.0.0.0 0.0.0.255
R4
[R4]ospf 1 rou 4.4.4.4
[R4-ospf-1]a 0
[R4-ospf-1-area-0.0.0.0]network 192.168.4.0 0.0.0.255
[R4-ospf-1-area-0.0.0.0]network 11.0.0.0 0.0.0.255
R5
[R5]ospf 1 rou 5.5.5.5
[R5-ospf-1]a 0
[R5-ospf-1-area-0.0.0.0]network 192.168.5.0 0.0.0.255
[R5-ospf-1-area-0.0.0.0]network 11.0.0.0 0.0.0.255
修改R1.2.3的MGRE下的OSPF工作模式为broadcast
[R1-Tunnel0/0/0]ospf network-type broadcast
[R2-Tunnel0/0/0]ospf network-type broadcast
[R2-Tunnel0/0/0]ospf network-type broadcast
设置所有OSPF网络类型为p2mp
[R1-Tunnel0/0/0]ospf network-type p2mp
[R1-Tunnel0/0/1]ospf network-type p2mp
[R2-Tunnel0/0/1]ospf network-type p2mp
[R3-Tunnel0/0/0]ospf network-type p2mp
[R4-Tunnel0/0/0]ospf network-type p2mp
[R5-Tunnel0/0/0]ospf network-type p2mp
边栏推荐
猜你喜欢

When I look at the source code, what am I thinking?

Talk about 11 tips for interface performance optimization

Quickly master nodejs installation and getting started

Never pass a request to an asynchronous thread. There is a hole

I was stunned by this question that I browsed 746000 times

Talk about the implementation principle of feign

Esbuild Bundler HMR

6年测试经验,教大家测试~如何把控项目

ROCBOSS开源微社区轻论坛类源码

一款好看的iapp捐赠榜单源码
随机推荐
VR safety training of mine mining virtual reality improves employees' vigilance and protection awareness
CUDA details GPU architecture
Where, having, group by, order by, is null, not in, subquery, delete, date function
第九天笔记
详解异步任务:任务的状态及生命周期管理
3d智能工厂工艺流转可视化交互展示应用优点
time_wait和close_wait产生原因
redis为什么快,消息队列,单线程
快速掌握Nodejs安装以及入门
Rust list (VEC) replication
Talk about the implementation principle of feign
QT屏幕自适应自动布局,拖动窗口自动变大变小(一)
IOT components
Time pit in MySQL driver
Teach you how to install vscode by hand (with illustrated steps)
童年的快乐时光
云开发打工人必备上班摸鱼划水微信小程序源码
6年测试经验,教大家测试~如何把控项目
漫画算法_小灰灰面试
ECCV 2022 | airdet: a small sample target detection method without fine tuning