当前位置:网站首页>Hcip experiment (5)
Hcip experiment (5)
2022-07-18 18:55:00 【Never tasted the Jianjia outside the building】

One , to R1-R5 To configure IP Address and loopback address
1, stay R1 On the configuration IP1, stay R1 On the configuration IP
2, stay R2 On the configuration IP
3, stay R3 On the configuration IP
4, stay R4 On the configuration IP
5, stay R5 On the configuration IP
6, stay R6 On the configuration IP
Two , Write the default route for each router , So that the Intranet can communicate .
[r1]ip route-static 0.0.0.0 0.0.0.0 16.0.0.2
ip route-static 0.0.0.0 0.0.0.0 61.0.0.2
[r2]ip route-static 0.0.0.0 0 26.0.0.2
[r3]ip route-static 0.0.0.0 0 36.0.0.2
[r4]ip route-static 0.0.0.0 0 46.0.0.2
[r4]ip route-static 0.0.0.0 0 56.0.0.2
3、 ... and ,R1/2/3 Is a star topology ,R1 For the central site , To configure mgre.
1, stay R1 On the configuration
interface Tunnel0/0/0 --- Create an interface
ip address 192.168.6.1 255.255.255.0 --- To configure IP
tunnel-protocol gre p2mp --- Select the package type
source 16.0.0.1
nhrp network-id 100
nhrp entry multicast dynamic --- Enable pseudo broadcast
2, stay R2 On the configuration
interface Tunnel0/0/0
ip address 192.168.6.2 255.255.255.0
tunnel-protocol gre p2mp
source GigabitEthernet0/0/0
nhrp network-id 100
nhrp entry 192.168.6.1 16.0.0.1 register --- Find a registration center
3, stay R3 On the configuration
interface Tunnel0/0/0
ip address 192.168.6.3 255.255.255.0
tunnel-protocol gre p2mp
source GigabitEthernet0/0/0
nhrp network-id 100
nhrp entry 192.168.6.1 16.0.0.1 register --- Find a registration center
Four ,R1/4/5 For the whole company MGRE structure , Mutual center and branch .
1, stay R1 On the configuration
interface Tunnel0/0/1
ip address 192.168.7.1 255.255.255.0
tunnel-protocol gre p2mp
source 61.0.0.1
nhrp network-id 200
nhrp entry 192.168.7.2 46.0.0.1 register --- look for r4 register
nhrp entry 192.168.7.3 56.0.0.1 register --- look for r5 register
nhrp entry multicast dynamic
2, stay R4 On the configuration
interface Tunnel0/0/1
ip address 192.168.7.2 255.255.255.0
tunnel-protocol gre p2mp
source 46.0.0.1
nhrp entry multicast dynamic
nhrp network-id 100
nhrp entry 192.168.7.2 56.0.0.1 register --- look for r5 register
--- Keep looking r1 To register ,
3, stay R5 On the configuration
interface Tunnel0/0/1
ip address 192.168.7.3 255.255.255.0
tunnel-protocol gre p2mp
source 56.0.0.1
ospf network-type broadcast
nhrp entry multicast dynamic
nhrp network-id 100
---r1 and r4 Already registered , Because registration is two-way
5、 ... and , Use osfp agreement
r1:
ospf 1 router-id 1.1.1.1
area 0.0.0.0
network 192.168.1.0 0.0.0.255
network 192.168.6.0 0.0.0.255
network 192.168.7.0 0.0.0.255
r2:
ospf 1 router-id 2.2.2.2
area 0.0.0.0
network 192.168.2.0 0.0.0.255
network 192.168.6.0 0.0.0.255
r3:
ospf 1 router-id 3.3.3.3
area 0.0.0.0
network 192.168.3.0 0.0.0.255
network 192.168.6.0 0.0.0.255
r4;
ospf 1 router-id 4.4.4.4
area 0.0.0.0
network 192.168.4.0 0.0.0.255
network 192.168.7.0 0.0.0.255
r5:
ospf 1 router-id 5.5.5.5
area 0.0.0.0
network 192.168.5.0 0.0.0.255
network 192.168.7.0 0.0.0.255
Modify the network type for the virtual interface
[r1-Tunnel0/0/0]ospf network-type broadcast
[r1-Tunnel0/0/1]ospf network-type broadcast
[r4-Tunnel0/0/1]ospf network-type broadcast
[r5-Tunnel0/0/1]ospf network-type broadcast
[r2-Tunnel0/0/0]ospf network-type broadcast
[r3-Tunnel0/0/0]ospf network-type broadcast
because R2 and R3 Different cognition of , So it needs to be abandoned , Change the priority to 0
[r3-Tunnel0/0/0]ospf dr-priority 0
[r2-Tunnel0/0/0]ospf dr-priority 0
because R1 ,R4, R5 They are branches and centers of each other , Will automatically select DR and BDR.
6、 ... and , Network wide accessibility


边栏推荐
猜你喜欢

文件的使用详解

Importerror: DLL load failed: the specified module could not be found.

SAP S4 Material Management 库存模块 MARD 数据库表读取技术细节介绍

The principle and implementation of ring queue

Flink CEP - complex event processing

Preparing transaction:done Verifying transaction:failed RemoveError:‘requests‘ is a dependency of **

Solution of eigenvalue and eigenvector

Microcomputer bus address, physical address, virtual address (detailed introduction)
![[KALI]关于kali更新出现“文件尺寸不符”以及“您使用的镜像正在同步中”的解决方法](/img/17/9f48b6fcdb14eea2a4b9b546f6d1bc.png)
[KALI]关于kali更新出现“文件尺寸不符”以及“您使用的镜像正在同步中”的解决方法
![[ CTF ] Reverse baby_re](/img/d1/6e2fd3ec60710cf6e4a94ce38c48da.png)
[ CTF ] Reverse baby_re
随机推荐
Sword finger offer 52 The first common node of two linked lists
双动点相对运动破解
[英雄星球七月集训LeetCode解题日报] 第16日 队列
【黄啊码】MySQL入门—3、我用select *,老板直接赶我坐火车回家去,买的还是站票
Translation and interpretation of the paper: learning logic rules for reasoning on knowledge graphs [rnnlogic]
空间属性概述 C语言
华为ensp网络之如何实现交换机的vlan配置?
数据库操作软件推荐
Spark高效数据分析01、idea开发环境搭建
屈兆翔:Web3 革命是赛博空间的文艺复兴
【黄啊码】MySQL入门—1、SQL 的执行流程
2022 New Year blessing code interpretation (1)
第七次笔记:程序的机器级代码表示
2022新年祝福代码诠释(1)
指针与数组的复杂纠葛
Read write lock principle in golang
SSD trains its own data set
excel从右边查找字符并截取
Redis 与 Mysql 双写一致性方案解析
坐标转换实例讲解