当前位置:网站首页>Configuring OSPF experiment in mGRE environment
Configuring OSPF experiment in mGRE environment
2022-07-19 12:09:00 【qq_ fifty-two million one hundred and seventy-eight thousand fi】
1. Experimental requirements and topological diagram :

2. Match well IP The topology of is shown below ;

3. experimental analysis
1.R6 by ISP You can only configure IP Address ,R1—R5 The loopback of is a private network segment
ISP The router only IP To configure , therefore R1--R5 Need to configure pointing ISP The default route of the router
[r1]ip route-static 0.0.0.0 0 16.0.0.2 (r1 Default )
[r1]ip route-static 0.0.0.0 0 161.0.0.2
[r2]ip route-static 0.0.0.0 0 26.0.0.2 (r2 Default )
[r3]ip route-static 0.0.0.0 0 36.0.0.2 (r3 Default )
[r4]ip route-static 0.0.0.0 0 46.0.0.2 (r4 Default )
[r5]ip route-static 0.0.0.0 0 56.0.0.2 (r5 Default )2.R1/4/5 For the whole company MGRE structure ,R1/2/3 Is a star topology ,R1 For the central site
r1/r2/r3, among r1 Centered , So according to the configuration MGRE Step by step , And open the pseudo broadcast domain
R1/4/5 For the whole company MGRE structure , That is, each router is the center , You need to report yourself to other routes
R1:
[r1]int t 0/0/0
[r1-Tunnel0/0/0]ip ad 192.168.6.1 24
[r1-Tunnel0/0/0]tunnel-protocol gre p2mp
[r1-Tunnel0/0/0]source 16.0.0.1
[r1-Tunnel0/0/0]nhrp neteork-id 100
[r1-Tunnel0/0/0]nhrp entry multicast dynamic
[r1]int t 0/0/1
[r1-Tunnel0/0/1]ip ad 192.168.7.1 24
[r1-Tunnel0/0/1]tunnel-protocol gre p2mp
[r1-Tunnel0/0/1]source 161.0.0.1
[r1-Tunnel0/0/1]nhrp neteork-id 101
[r1-Tunnel0/0/1]nhrp entry multicast dynamic
[r1-Tunnel0/0/1]nhrp entry 192.168.7.2 46.0.0.1 register
[r1-Tunnel0/0/1]nhrp entry 192.168.7.3 56.0.0.1 registerR2;
[r2]int t 0/0/0
[r2-Tunnel0/0/0]ip ad 192.168.6.2 24
[r2-Tunnel0/0/0]tunnel-protocol gre p2mp
[r2-Tunnel0/0/0]source GigabitEthernet 0/0/0
Jul 13 2022 16:18:11-08:00 r2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface Tunnel0/0/0 has entered the UP state.
[r2-Tunnel0/0/0]nhrp network-id 100
[r2-Tunnel0/0/0]nhrp entry 192.168.6.1 16.0.0.1 register R3:
[r3]int t 0/0/0
[r3-Tunnel0/0/0]ip ad 192.168.6.3 24
[r3-Tunnel0/0/0]tunnel-protocol gre p2mp
[r3-Tunnel0/0/0]source GigabitEthernet 0/0/0
Jul 13 2022 16:20:09-08:00 r3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface Tunnel0/0/0 has entered the UP state.
[r3-Tunnel0/0/0]nhrp network-id 100
[r3-Tunnel0/0/0]nhrp entry 192.168.6.1 16.0.0.1 register R4:
[r4]int t 0/0/0
[r4-Tunnel0/0/0]ip ad 192.168.7.2 24
[r4-Tunnel0/0/0]tunnel-protocol gre p2mp
[r4-Tunnel0/0/0]source 46.0.0.1
Jul 13 2022 16:25:29-08:00 r4 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface Tunnel0/0/0 has entered the UP state.
[r4-Tunnel0/0/0]nhrp network-id 101
[r4-Tunnel0/0/0]nhrp entry multicast d
[r4-Tunnel0/0/0]nhrp entry 192.168.7.3 56.0.0.1 register
[r4-Tunnel0/0/0]nhrp entry 192.168.7.1 161.0.0.1 register ( Those reported on other routers can be omitted )
Info: This peer protocol address conflicts with hub register peer protocol addre
ss.
R5:
[r5]int t 0/0/0
[r5-Tunnel0/0/0]ip ad 192.168.7.3 24
[r5-Tunnel0/0/0]tunnel-protocol gre p2mp
[r5-Tunnel0/0/0]source 56.0.0.1
Jul 13 2022 16:26:46-08:00 r5 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface Tunnel0/0/0 has entered the UP state.
[r5-Tunnel0/0/0]nhrp network-id 101
[r5-Tunnel0/0/0]n e m d
3., All private network segments can communicate with each other , Private network segment use OSPF complete .
MGRE Environment interface ospf The network type of needs to be modified ( If it is not modified, the adjacency relationship cannot be established )
R1-R3 The interface is changed to p2mp,R1,R4,R5 Change it to boardcast
R1(R2-R5 The configurations are similar , A little ):
[r1]ospf 1 router-id 1.1.1.1
[r1-ospf-1]area 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 192.168.6.0 0.0.0.255
[r1-ospf-1-area-0.0.0.0]network 192.168.7.0 0.0.0.2554. Verification of experimental results :
MGRE result :
Network connectivity :

边栏推荐
猜你喜欢

HCIP(5)

QT -- excellent open source project

Energy saving resource allocation strategy based on time-varying graph in satellite networks

Use native JS to realize the function of selecting all buttons, which is simple and clear

es安装ik分词器

Microcomputer principle and technology Interface Experiment four subroutines and interrupt experiment

Mysql学习笔记-分页-表的创建-数据类型

Why does the magnetic variable speed gear reverse?

The underlying principle of file operation (inode and hard and soft links, time attributes of files)
![[machine learning] evaluation index and code implementation of multi label classification](/img/01/7172841c663b5d9b79756e742bbc2c.png)
[machine learning] evaluation index and code implementation of multi label classification
随机推荐
Region performance tuning
任天堂专利显示健身环配件后续产品或已在开发中
NPC, Microsoft, etc. proposed inclusivefl: inclusive federal learning on heterogeneous devices
HCIP(6)
Example of C language painting - progress bar
『牛客|每日一题』有效括号序列
C# . Net Yunnan rural credit national secret signature (SM2) brief analysis
TiDB 内存控制文档
Leetcode skimming -- find and minimum k-pair number 373 medium
TiKV 线程池性能调优
ZABBIX SNMP monitoring
HCIP(5)
Three. JS basic element usage
C语言绘图示例-分色调图20例
LeetCode刷题——查找和最小的 K 对数字#373#Medium
Leetcode 239. 滑动窗口最大值
Application of semi supervised learning in malware traffic detection
How to delay loading JS
STL string input / output overload 1
[embedded unit test] construction of C language unit test framework