当前位置:网站首页>OSPF and mGRE experiments
OSPF and mGRE experiments
2022-07-26 14:59:00 【sysddyq】
Experimental Topology

Basic configuration
Basic configuration
[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
Configure the whole company 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
Configure star 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 To configure
[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 0test

边栏推荐
- 大学生如何申请实用新型专利?
- Minecraft 1.16.5 module development (52) modify the original biological trophy (lot table)
- Is the MySQL index tree built before each search or when the index is built?
- Data permissions should be designed like this, yyyds!
- Solve the problem that typora pictures cannot be displayed
- 1.两数之和
- OSPF和MGRE实验
- 2. Add two numbers
- Partial learning of PHP deserialization
- SSH that must be read on cloud native
猜你喜欢

【文件上传漏洞-06】分布式配置文件攻击实验—以upload-labs-4为例
![[integer programming]](/img/e5/aebc5673903f932030120822e4331b.png)
[integer programming]

Crystal special decoration submitted for registration: the first quarter revenue fell by 80%, and Chen Bo controlled 68.5% of the equity

晋拓股份上交所上市:市值26亿 张东家族企业色彩浓厚

llcc68广播唤醒简单说明

大学生如何申请实用新型专利?

写综述,想用一个靠谱的整理文献的软件,有推荐的吗?

Pokemon card evolution jsjs special effect

What is the transport layer protocol tcp/udp???
![[solution of ordinary differential equation and drawing solution of small boat walking track]](/img/2d/3fd7e23fdbd0f343e740a5b93bf9d9.png)
[solution of ordinary differential equation and drawing solution of small boat walking track]
随机推荐
[nuxt 3] (XII) project directory structure 1
Pokemon card evolution jsjs special effect
Realize the full link grayscale based on Apache APIs IX through MSE
SiamFC:用于目标跟踪的全卷积孪生网络
[draw with toolbar]
楚环科技深交所上市:市值27亿 民生证券是股东
postman 环境变量设置代码存放
Pdf translation, which translation company in Beijing is good
CAS based SSO single point server configuration
Win11 running virtual machine crashed? Solution to crash of VMware virtual machine running in win11
PyTorch中 torch.nn与torch.nn.functional的区别
Character function and string function and memory function
JS analog clock with text label
什么是传输层协议TCP/UDP???
怎样在nature上查文献?
Cve-2022-33891 Apache spark shell command injection vulnerability recurrence
Partial learning of PHP deserialization
一个满的10L容器,7L、4L空的容器,如何得到5L的水
CAS single sign on
Classic line style login interface