当前位置:网站首页>Hcip - Comprehensive Experiment of OSPF
Hcip - Comprehensive Experiment of OSPF
2022-07-19 08:41:00 【It guy Ma】
1、 Set up the topology and start

2、 The experimental requirements
(1)、R4 by ISP, Can only be configured on it IP Address ;R4 Public equipment is used with all other directly connected equipment IP.
(2)、R3、R5、R6、R7 by MGRE Environmental Science ,R3 For the central site .
(3)、 Whole OSPF Environmental Science IP The address is based on 172.16.0.0/16 Divide .
(4)、 Reduce LSA Update quantity of , Speed up convergence , Keep updates safe .
(5)、 Network wide accessibility .
One 、 Address planning
According to the requirements ,IP According to the address 172.16.0.0/16 Address division : share 5 individual ospf Area and a RIP Area , So we need to divide 6 Net segment ; Each network segment is divided into network segments according to the required requirements .
172.16.0.0/16 Excuse me
172.16.0.0/19
172.16.32.0/19
172.16.64.0/19
172.16.96.0/19
172.16.128.0/19
172.16.160.0/19
172.16.192.0/19
172.16.224.0/19
then , We borrow from each network segment 5 position , Divided into P2P The backbone 、MA Backbone and 3 User addresses ; Then divide the backbone network segment into the required users and loopback addresses ;
172.16.0.0/19 -----area 0 borrow 5 position
172.16.0.0/24 --- P2P The backbone
172.16.0.0/30
172.16.0.4/30
172.16.0.8/30
172.16.1.0/24 --- MA The backbone
172.16.1.0/29
172,16.1.8/29
172.16.1.16/29
172.16.2.0/24 --- user
172.16.3.0/24 --- user
172.16.4.0/24 --- user
172.16.32.0/19 --- area 1
172.16.32.0 24 -----p2p The backbone
172.16.32.0 30
172.16.32.4 30
172.16.32.8 30
172.16.33.0 24 -----MA The backbone
172.16.33.0 29
172.16.33.8 29
172.16.33.16 29
172.16.34.0 24 --- R1 The loopback of
172.16.35.0 24 --- R2 The loopback of
172.16.36.0 24 --- R3 The loopback of
172.16.64.0/19 --- area 2
172.16.64.0 24 --- P2P The backbone
172.16.64.0 30
172.16.64.4 30
172.16.64.8 30
172.16.65.0 24 --- MA The backbone
172.16.65.0 29
172.16.65.8 29
172.16.65.16 29
172.16.66.0 24 --- R11 Loopback
172.16.67.0 24
172.16.68.0 24
172.16.96.0/19 --- area 3
172.16.96.0 24 --- P2P The backbone
172.16.96.0 30
172.16.96.4 30
172.16.96.8 30
172.16.97.0 24 --- MA The backbone
172.16.97.0 29
172.16.97.8 29
172.16.97.16 29
172.16.98.0 24
172.16.99.0 24
172.16.100.0 24
172.16.128.0 19 --- area 4
172.16.128.0 24 --- P2P The backbone
172.16.128.0 30
172.16.128.4 30
172.16.128.8 30
172.16.129.0 24 --- MA The backbone
172.16.129.0 29
172.16.129.8 29
172.16.129.16 29
172.16.130.0 24 --- R9 The loopback of
172.16.131.0 24 --- R10 The loopback of
172.16.132.0 24
172.16.160.0 19 --- RIP
172.16.160.0 20 --- Loopback
172.16.176.0 20 --- Loopback
Two 、 Yes area0 Equipment in the area IP Configuration of address, loopback address and default route
AR3
[r3]int s 4/0/0
[r3-Serial4/0/0]ip a 34.0.0.1 24
[r3]ip route-static 0.0.0.0 0 34.0.0.2
AR4
[isp]int s 4/0/0
[isp-Serial4/0/0]ip a 34.0.0.2 24
[isp-Serial4/0/0]int s 3/0/0
[isp-Serial3/0/0]ip a 46.0.0.2 24
[isp-Serial3/0/0]int s 4/0/1
[isp-Serial4/0/1]ip a 45.0.0.2 24
[isp-Serial4/0/1]int g0/0/0
[isp-GigabitEthernet0/0/0]ip a 47.0.0.2 24
[isp-GigabitEthernet0/0/0]int lo0
[isp-LoopBack0]ip a 4.4.4.4 24
AR5
[r5]int s 4/0/0
[r5-Serial4/0/0]ip a 45.0.0.1 24
[r5-Serial4/0/0]int lo0
[r5-LoopBack0]ip a 172.16.2.1 24
[r5]ip route-static 0.0.0.0 0 45.0.0.2
AR6
[r6]int s 4/0/0
[r6-Serial4/0/0]ip a 46.0.0.1 24
[r6-Serial4/0/0]int lo0
[r6-LoopBack0]ip a 172.16.3.1 24
[r6]ip route-static 0.0.0.0 0 46.0.0.2
AR7
[r7]int g0/0/0
[r7-GigabitEthernet0/0/0]ip a 47.0.0.1 24
[r7-GigabitEthernet0/0/0]int lo0
[r7-LoopBack0]ip a 172.16.4.1 24
[r7]ip route-static 0.0.0.0 0 47.0.0.2
To configure area1


To configure area2


To configure area3

R8 

To configure area4


To configure RIP

3、 ... and 、 Start each device OSPF agreement
AR1
[r1]ospf 1 router-id 1.1.1.1
[r1-ospf-1]a 1
[r1-ospf-1-area-0.0.0.1]network 172.16.0.0 0.0.255.255
AR2
[r2]ospf 1 router-id 2.2.2.2
[r2-ospf-1]a 1
[r2-ospf-1-area-0.0.0.1]network 172.16.0.0 0.0.255.255
AR3
[r3]ospf 1 router-id 3.3.3.3
[r3-ospf-1]a 1
[r3-ospf-1-area-0.0.0.1]network 172.16.32.0 0.0.7.255
[r3-ospf-1-area-0.0.0.1]a 0
[r3-ospf-1-area-0.0.0.0]net
[r3-ospf-1-area-0.0.0.0]network 172.16.1.1 0.0.0.0
AR5
[r5]ospf 1 rout
[r5]ospf 1 router-id 5.5.5.5
[r5-ospf-1]a 0
[r5-ospf-1-area-0.0.0.0]network 172.16.0.0 0.0.255.255
AR6
[r6]ospf 1 router-id 6.6.6.6
[r6-ospf-1]a 0
[r6-ospf-1-area-0.0.0.0]network 172.16.0.0 0.0.3.255
[r6-ospf-1-area-0.0.0.0]a 2
[r6-ospf-1-area-0.0.0.2]network 172.16.65.1 0.0.0.0
AR7
[r7]ospf 1 router-id 7.7.7.7
[r7-ospf-1]a 0
[r7-ospf-1-area-0.0.0.0]network 172.16.0.0 0.0.7.255
[r7-ospf-1-area-0.0.0.0]a 3
[r7-ospf-1-area-0.0.0.3]network 172.16.97.1 0.0.0.0
AR8
[r8]ospf 1 router-id 8.8.8.8
[r8-ospf-1]a 3
[r8-ospf-1-area-0.0.0.3]network 172.16.0.0 0.0.255.255
AR9
[r9]ospf 1 router-id 9.9.9.9
[r9-ospf-1]a 3
[r9-ospf-1-area-0.0.0.3]network 172.16.97.10 0.0.0.0
[r9-ospf-1-area-0.0.0.3]a 4
[r9-ospf-1-area-0.0.0.4]network 172.16.128.0 0.0.3.255
AR10
[r10]ospf 1 router-id 10.10.10.10
[r10-ospf-1]a 4
[r10-ospf-1-area-0.0.0.4]network 172.16.0.0 0.0.255.255
AR11
[r11]ospf 1 router-id 11.11.11.11
[r11-ospf-1]a 2
[r11-ospf-1-area-0.0.0.2]network 172.16.0.0 0.0.255.255
AR12
[r12]ospf 1 router-id 12.12.12.12
[r12-ospf-1]a 2
[r12-ospf-1-area-0.0.0.2]network 172.16.65.10 0.0.0.0
[r12]rip 1
[r12-rip-1]v 2
[r12-rip-1]network 172.16.0.0
Four 、 change tunnel Interface type of interface
AR3
[r3]int t0/0/0
[r3-Tunnel0/0/0]ospf network-type p2mp
AR5
[r5]int t0/0/0
[r5-Tunnel0/0/0]ospf network-type p2mp
AR6
[r6]int t0/0/0
[r6-Tunnel0/0/0]ospf network-type p2mp
AR7
[r7]int t0/0/0
[r7-Tunnel0/0/0]ospf network-type p2mp
5、 ... and 、 stay R12 Republish
AR12
[r12]ospf 1
[r12-ospf-1]import-route rip 1
6、 ... and 、 In order to reduce the LSA Update quantity of , We need to do summary and special areas
Be careful : In order to avoid loops, we also need to configure empty interface routes .


Special area
area0
[r1]ospf 1
[r1-ospf-1]area 1
[r1-ospf-1-area-0.0.0.1]stub
[r2]ospf 1
[r2-ospf-1]area 1
[r2-ospf-1-area-0.0.0.1]stub
[r3]ospf 1
[r3-ospf-1]area 1
[r3-ospf-1-area-0.0.0.1]stub no-summary
area2
[r6]ospf 1
[r6-ospf-1]area 2
[r6-ospf-1-area-0.0.0.2]nssa no-summary
[r11]ospf 1
[r11-ospf-1]area 2
[r11-ospf-1-area-0.0.0.2]nssa
[r12]ospf 1
[r12-ospf-1]area 2
[r12-ospf-1-area-0.0.0.2]nssa
area3
[r7]ospf 1
[r7-ospf-1]area 3
[r7-ospf-1-area-0.0.0.3]nssa no-summary
[r8]ospf 1
[r8-ospf-1]area 3
[r8-ospf-1-area-0.0.0.3]nssa
[r9]ospf 1
[r9-ospf-1]area 3
[r9-ospf-1-area-0.0.0.3]nssa
7、 ... and 、 To configure NET, Make it accessible R4 Loopback .

8、 ... and 、 Speed up convergence , Need to change HELLO Time , To change the hello The time of death will also change automatically .



Nine 、 Conduct manual certification , Regional certification ( In fact, it is also interface authentication ), The purpose is to update security .

边栏推荐
猜你喜欢

Redis

5g at that time, where will driverless driving go in the future?

Consul service registration and discovery

图片浏览器

Linear regression + basic optimization of deep learning

BCG 使用之CBCGPEdit控件

把HBuilderX的主题变成vscode

Redis6 新数据类型——Geospatial

Visual studio 2022 (vs 2022) cannot read memory

Introduction to deep learning exercises sorting in the first week of deep learning
随机推荐
65. Restful specification
Redis6 new data type - hyperloglog
Redis common data types - hash and ordered set Zset (sorted set)
【回归预测】基于粒子滤波实现锂离子电池寿命预测附matlab代码
凸面镜面3D玻璃轮廓扫描
Matlab imports floating-point numbers with more than 9 digits after the decimal point
深度学习第四周Key Concepts on Deep Neural Networks习题整理
Gateway新一代网关
ROS常用工具包命令
Snap 1669 combine deux notes de liste
Eureka自我保护
Finishing of key concepts on deep neural networks exercises in the fourth week of in-depth learning
Detailed explanation of ansible automatic operation and maintenance (IV) preparation, use, command execution and example demonstration of playbook in ansible
How to set preferences when developing esp8266 and esp32 with Arduino
Gateway new generation gateway
6-9漏洞利用-Telnet登陆提权
力扣382链表随机节点笔记
ROS common toolkit commands
Xgen hair guide history cleared solution
JS学习笔记01-03——this的引用,全局作用域,方法