当前位置:网站首页>OSPF和MGRE实验
OSPF和MGRE实验
2022-07-26 14:38:00 【sysddyq】
实验拓扑图

基础配置
基础配置
[r1]int lo0
[r1-LoopBack0]ip a 1.1.1.1 24
[r1-LoopBack0]q
[r1]int g 0/0/1
[r1-GigabitEthernet0/0/1]ip a 10.0.0.1 24
[r1-GigabitEthernet0/0/1]q
[r1]int g 0/0/0
[r1-GigabitEthernet0/0/0]ip a 60.0.0.1 24
[r1-GigabitEthernet0/0/0]q
[r1]ip route-static 0.0.0.0 0 10.0.0.2
[r1]ip route-static 0.0.0.0 0 60.0.0.2
[r2]int lo0
[r2-LoopBack0]ip a 2.2.2.2 24
[r2-LoopBack0]q
[r2]int g 0/0/0
[r2-GigabitEthernet0/0/0]ip a 20.0.0.1 24
[r2-GigabitEthernet0/0/0]q
[r2]ip route-static 0.0.0.0 0 20.0.0.2
[r3]int lo0
[r3-LoopBack0]ip a 3.3.3.3 24
[r3-LoopBack0]q
[r3]int g 0/0/0
[r3-GigabitEthernet0/0/0]ip a 30.0.0.1 24
[r3-GigabitEthernet0/0/0]q
[r3]ip route-static 0.0.0.0 0 30.0.0.2
[r4]int lo0
[r4-LoopBack0]ip a 4.4.4.4 24
[r4-LoopBack0]q
[r4]int g 0/0/0
[r4-GigabitEthernet0/0/0]ip a 40.0.0.1 24
[r4-GigabitEthernet0/0/0]q
[r4]ip route-static 0.0.0.0 0 40.0.0.2
[r5]int lo0
[r5-LoopBack0]ip a 5.5.5.5 24
[r5-LoopBack0]q
[r5]int g 0/0/0
[r5-GigabitEthernet0/0/0]ip a 50.0.0.1 24
[r5-GigabitEthernet0/0/0]q
[r5]ip route-static 0.0.0.0 0 50.0.0.2
[r6]int lo0
[r6-LoopBack0]ip a 6.6.6.6 24
[r6-LoopBack0]q
[r6]int g 0/0/0
[r6-GigabitEthernet0/0/0]ip a 60.0.0.2 24
[r6-GigabitEthernet0/0/0]q
[r6]int g 0/0/1
[r6-GigabitEthernet0/0/1]ip a 10.0.0.2 24
[r6-GigabitEthernet0/0/1]q
[r6]int g 4/0/2
[r6-GigabitEthernet4/0/2]
[r6-GigabitEthernet4/0/2]ip a 20.0.0.2 24
[r6-GigabitEthernet4/0/2]q
[r6]int g 4/0/1
[r6-GigabitEthernet4/0/1]ip a 30.0.0.2 24
[r6-GigabitEthernet4/0/1]q
[r6]int g 4/0/0
[r6-GigabitEthernet4/0/0]ip a 40.0.0.2 24
[r6-GigabitEthernet4/0/0]q
[r6]int g 0/0/2
[r6-GigabitEthernet0/0/2]ip a 50.0.0.2 24
[r6-GigabitEthernet0/0/2]q
配置全连MGRE
[r4]int tunnel 0/0/0
[r4-Tunnel0/0/0]ip a 192.168.1.4 24
[r4-Tunnel0/0/0]tunnel-protocol gre p2mp
[r4-Tunnel0/0/0]source 40.0.0.1
[r1-Tunnel0/0/1]nhrp entry multicast dynamic
[r1-Tunnel0/0/1]nhrp entry 192.168.1.1 10.0.0.1 register
[r1-Tunnel0/0/1]nhrp entry 192.168.1.5 50.0.0.1 register
[r1-Tunnel0/0/1]q
[r5]int tunnel 0/0/0
[r5-Tunnel0/0/0]ip a 192.168.1.5 24
[r5-Tunnel0/0/0]tunnel-protocol gre p2mp
[r5-Tunnel0/0/0]source 50.0.0.1
[r1-Tunnel0/0/1]nhrp entry multicast dynamic
[r1-Tunnel0/0/1]nhrp entry 192.168.1.1 10.0.0.1 register
[r1-Tunnel0/0/1]nhrp entry 192.168.1.4 40.0.0.1 register
[r1]int tunnel 0/0/1
[r1-Tunnel0/0/1]ip a 192.168.1.1 24
[r1-Tunnel0/0/1]tunnel-protocol gre p2mp
[r1-Tunnel0/0/1]source 10.0.0.1
[r1-Tunnel0/0/1]nhrp entry multicast dynamic
[r1-Tunnel0/0/1]nhrp entry 192.168.1.4 40.0.0.1 register
[r1-Tunnel0/0/1]nhrp entry 192.168.1.5 50.0.0.1 register
[r1-Tunnel0/0/1]q
配置星型MGRE
[r1]interface Tunnel 0/0/0
[r1-Tunnel0/0/0]ip address 192.168.2.1 24
[r1-Tunnel0/0/0]tunnel-protocol gre p2mp
[r1-Tunnel0/0/0]source 60.0.0.1
[r1-Tunnel0/0/0]nhrp entry multicast dynamic
[r1-Tunnel0/0/0]nhrp network-id 100
[r2]interface Tunnel 0/0/0
[r2-Tunnel0/0/0]ip address 192.168.2.2 24
[r2-Tunnel0/0/0]tunnel-protocol gre p2mp
[r2-Tunnel0/0/0]source GigabitEthernet 0/0/0
[r2-Tunnel0/0/0]nhrp entry 192.168.2.1 60.0.0.1 register
[r3]interface Tunnel 0/0/0
[r3-Tunnel0/0/0]ip address 192.168.2.3 24
[r3-Tunnel0/0/0]tunnel-protocol gre p2mp
[r3-Tunnel0/0/0]source GigabitEthernet 0/0/0
[r3-Tunnel0/0/0]nhrp entry 192.168.2.1 60.0.0.1 register OSPF配置
[R1]ospf 1 router-id 1.1.1.1
[R1-ospf-1]area 0
[R1-ospf-1-area-0.0.0.0]network 1.1.1.1 0.0.0.0
[R1-ospf-1-area-0.0.0.0]network 10.0.0.1 0.0.0.0
[R1-ospf-1-area-0.0.0.0]network 60.0.0.1 0.0.0.0
[R2]ospf 1 router-id 2.2.2.2
[R2-ospf-1]area 0
[R2-ospf-1-area-0.0.0.0]network 2.2.2.2 0.0.0.0
[R2-ospf-1-area-0.0.0.0]network 20.0.0.1 0.0.0.0
[R3]ospf 1 router-id 3.3.3.3
[R3-ospf-1]area 0
[R3-ospf-1-area-0.0.0.0]network 3.3.3.3 0.0.0.0
[R3-ospf-1-area-0.0.0.0]network 30.0.0.1 0.0.0.0
[R4]ospf 1 router-id 4.4.4.4
[R4-ospf-1]area 0
[R4-ospf-1-area-0.0.0.0]network 4.4.4.4 0.0.0.0
[R4-ospf-1-area-0.0.0.0]network 40.0.0.1 0.0.0.0
[R5]ospf 1 router-id 5.5.5.5
[R5-ospf-1]area 0
[R5-ospf-1-area-0.0.0.0]network 5.5.5.5 0.0.0.0
[R5-ospf-1-area-0.0.0.0]network 50.0.0.1 0.0.0.0
[R1]interface Tunnel 0/0/0
[R1-Tunnel0/0/0]ospf network-type broadcast
[R2]interface Tunnel 0/0/0
[R2-Tunnel0/0/0]ospf dr-priority 0
[R3]interface Tunnel 0/0/0
[R3-Tunnel0/0/0]ospf dr-priority 0测试

边栏推荐
- 【无标题】
- 自编码器 AE(AutoEncoder)程序
- Pdf translation, which translation company in Beijing is good
- Classic line style login interface
- Create Yum warehouse inside the enterprise
- Keyboard shortcut to operate the computer (I won't encounter it myself)
- 网络图片转本地导致内核退出
- maya将模型导入到unity
- Pokemon card evolution jsjs special effect
- Instructions for various interfaces of hand-held vibrating wire collector vh03
猜你喜欢

RPN: region proposal networks
![[2022 national game simulation] Bai Loujian - Sam, rollback Mo team, second offline](/img/e1/0574dd4eb311e79afdb1d071f59c4d.png)
[2022 national game simulation] Bai Loujian - Sam, rollback Mo team, second offline

Fill in the questionnaire and receive the prize | we sincerely invite you to fill in the Google play academy activity survey questionnaire

SiamRPN++:深层网络连体视觉跟踪的演变

maya将模型导入到unity

When AI encounters life and health, Huawei cloud builds three bridges for them

智能家居行业发展,密切关注边缘计算和小程序容器技术

How to evaluate the test quality?

GOM login configuration free version generate graphic tutorial

如何评价测试质量?
随机推荐
RPN: region proposal networks
【2022国赛模拟】白楼剑——SAM、回滚莫队、二次离线
[Nuxt 3] (十二) 项目目录结构 1
Kubernetes ---- pod configuration resource quota
9、学习MySQL DELETE 语句
次轮Okaleido Tiger即将登录Binance NFT,引发社区热议
保证接口数据安全的10种方案
Create Yum warehouse inside the enterprise
When AI encounters life and health, Huawei cloud builds three bridges for them
WPF common function integration
Siamrpn: recommended regional network and twin network
基于CAS的SSO单点客户端配置
基于CAS的SSO单点登录环境搭建
Transc knowledge representation model
C# 常用功能整合
AMB | towards sustainable agriculture: rhizosphere microbial engineering
1.两数之和
PyTorch的简单实现
31. Opinion-based Relational Pivoting forCross-domain Aspect Term Extraction 阅读笔记
[ostep] 02 virtualized CPU - process