当前位置:网站首页>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测试

边栏推荐
- Network pictures are transferred locally, causing the kernel to exit
- [Yugong series] July 2022 go teaching course 017 - if of branch structure
- llcc68广播唤醒简单说明
- 【1.2.投资的收益和风险】
- Kubernetes----Pod配置资源配额
- C nanui related function integration
- 【常微分方程求解及绘图之求解小船行走轨迹】
- One stop monitoring of the software and hardware infrastructure of the whole university, and Suzhou University replaces PostgreSQL with time series database
- Siamfc: full convolution twin network for target tracking
- 14. Bridge based active domain adaptation for aspect term extraction reading notes
猜你喜欢

Use of LINGO software

14. Bridge-Based Active Domain Adaptation for Aspect Term Extraction 阅读笔记

【2022国赛模拟】白楼剑——SAM、回滚莫队、二次离线

Error reported by Nacos enabled client
![[Yugong series] July 2022 go teaching course 017 - if of branch structure](/img/e4/b3aa4b8bda738aadded3127a8b3485.png)
[Yugong series] July 2022 go teaching course 017 - if of branch structure

Pokemon card evolution jsjs special effect

median filter

堆叠降噪自动编码器 Stacked Denoising Auto Encoder(SDAE)

One stop monitoring of the software and hardware infrastructure of the whole university, and Suzhou University replaces PostgreSQL with time series database

当AI邂逅生命健康,华为云为他们搭建三座桥
随机推荐
How to evaluate the test quality?
[nuxt 3] (XII) project directory structure 1
Image-Level 弱监督图像语义分割汇总简析
Usage of nn.conv2d and nn.convtranspose2d functions in pytorch
selenium 代码存放
median filter
Fill in the questionnaire and receive the prize | we sincerely invite you to fill in the Google play academy activity survey questionnaire
Sqldeveloper tools quick start
【使用工具条绘图】
JS wave animation effect menu style
JS analog clock with text label
leetcode汇总
基于CAS的SSO单点登录环境搭建
When AI encounters life and health, Huawei cloud builds three bridges for them
SP export map to Maya
RPN:Region Proposal Networks (区域候选网络)
CAS单点登录
Create root permission virtual environment
基于CAS的SSO单点客户端配置
Would you please refer to the document of Database specification?