当前位置:网站首页>[hcip] OSPF experiment under mGRE environment, including multi process bidirectional republication and OSPF special area
[hcip] OSPF experiment under mGRE environment, including multi process bidirectional republication and OSPF special area
2022-07-29 01:35:00 【1ta-chi】
List of articles
The experimental requirements
- R4 by ISP, The public network is configured on it IP
- R3-5/6/7 by
MGREEnvironmental Science ,R3 For the central site - Whole OSPF Environmental Science IP The address is
172.16.0.0/16 - All devices are accessible R4 The loopback of
- Reduce LSA Update quantity of , Speed up convergence , To ensure the security of updates
- Network wide accessibility

Experimental process
Subnet partition
There are 6 Regions , Generally, it is divided into 6 Large network segment — draw 8 Paragraph borrowing 3 position
172.16.0.0/16
-------------
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 // Abandon
172.16.224.0/19 // Abandon
area 0 China needs 1 individual Tunnel and 1 Loop back — draw 2 Paragraph borrowing 1 position
172.16.0.0/19
-------------
172.16.0.0/20
172.16.16.0/20
area 1 China needs 1 paragraph MA The Internet and 3 Loop back — draw 4 Paragraph borrowing 2 position
172.16.32.0/19
--------------
172.16.32.0/21
172.16.40.0/21
172.16.48.0/21
172.16.56.0/21
area 2 China needs 2 paragraph MA The Internet and 2 Loop back — draw 4 Paragraph borrowing 2 position
172.16.64.0/19
--------------
172.16.64.0/21
172.16.72.0/21
172.16.80.0/21
172.16.88.0/21
area 3 China needs 2 paragraph MA The Internet and 2 Loop back — draw 4 Paragraph borrowing 2 position
172.16.96.0/19
--------------
172.16.96.0/21
172.16.104.0/21
172.16.112.0/21
172.16.120.0/21
area 4 China needs 1 individual MA The Internet and 2 Loop back — draw 4 Paragraph borrowing 2 position
172.16.128.0/19
---------------
172.16.128.0/21
172.16.136.0/21
172.16.144.0/21
172.16.152.0/21 // Abandon
rip China needs 2 Loop back — draw 2 Paragraph borrowing 1 position
172.16.160.0/19
---------------
172.16.160.0/20
172.16.176.0/20
To configure IP Address
R1 ping R3:
R3 ping R4:
Default route +NAT address translation
//R3 - example
#
ip route-static 0.0.0.0 0.0.0.0 34.1.1.4
#
acl number 2000
rule 1 permit
#
interface Serial4/0/0
link-protocol ppp
ip address 34.1.1.3 255.255.255.0
nat outbound 2000
#
R7 ping R4 Loopback :
MGRE
//R3 - Central site
interface Tunnel0/0/0
ip address 172.16.0.3 255.255.240.0
tunnel-protocol gre p2mp
source 34.1.1.3
nhrp entry multicast dynamic
nhrp network-id 100
//R5
interface Tunnel0/0/0
ip address 172.16.0.5 255.255.240.0
tunnel-protocol gre p2mp
source Serial4/0/0
nhrp network-id 100
nhrp entry 172.16.0.3 34.1.1.3 register
//R6
interface Tunnel0/0/0
ip address 172.16.0.6 255.255.240.0
tunnel-protocol gre p2mp
source Serial4/0/0
nhrp network-id 100
nhrp entry 172.16.0.3 34.1.1.3 register
//R7
interface Tunnel0/0/0
ip address 172.16.0.7 255.255.240.0
tunnel-protocol gre p2mp
source Serial4/0/0
nhrp network-id 100
nhrp entry 172.16.0.3 34.1.1.3 register
OSPF
//R3 - example
ospf 1 router-id 3.3.3.3
area 0.0.0.0
network 172.16.0.3 0.0.0.0
area 0.0.0.1
network 172.16.32.3 0.0.0.0
network 172.16.56.1 0.0.0.0
because R3-5/6/7 be in MGRE Environment , Needs to be Tunnel The interface is modified to p2mp
//R3 - example
[R3]int t0/0/0
[R3-Tunnel0/0/0]ospf network-type p2mp
At this time, except RIP and OSPF area 4 The whole network can reach
Route table display :
RIP And republish
First the OSPF Of area 4 Reissue
//R9
#
ospf 1 router-id 9.9.9.9
import-route ospf 2
area 0.0.0.3
network 172.16.104.9 0.0.0.0
#
ospf 2 router-id 9.9.9.9
import-route ospf 1
area 0.0.0.4
network 172.16.128.9 0.0.0.0
network 172.16.136.1 0.0.0.0
#
RIP And republish
//R12
#
rip 1
version 2
network 172.16.0.0
import-route ospf 1
#
ospf 1 router-id 12.12.12.12
import-route rip 1
area 0.0.0.2
network 172.16.72.12 0.0.0.0
#
Route table display (R3):
R10 Loopback ping R12 Loopback :
Route summary
Intra domain routing summary :
//R6 - example
[R6]ospf 1
[R6-ospf-1]area 2
[R6-ospf-1-area-0.0.0.2]abr-summary 172.16.64.0 255.255.224.0
// Air interface anti loop routing
[R6]ip route-static 172.16.64.0 19 NULL 0
Extraterritorial routing summary :
//R9
[R9]ospf 1
[R9-ospf-1]asbr-summary 172.16.128.0 255.255.224.0
// Air interface anti loop routing
[R9]ip route-static 172.16.128.0 19 NULL 0
//R12
[R12]ospf 1
[R12-ospf-1]asbr-summary 172.16.160.0 255.255.224.0
[R12-ospf-1]q
[R12]ip route-static 172.16.160.0 19 NULL 0
Route table display :
Special area
Completely peripheral area
//R1
[R1]ospf 1
[R1-ospf-1]area 1
[R1-ospf-1-area-0.0.0.1]stub
//R2
[R2]ospf 1
[R2-ospf-1]area 1
[R2-ospf-1-area-0.0.0.1]stub
//R3
[R3]ospf 1
[R3-ospf-1]area 1
[R3-ospf-1-area-0.0.0.1]stub no-summary
Completely NSSA
//R6
[R6]ospf 1
[R6-ospf-1]area 2
[R6-ospf-1-area-0.0.0.2]nssa no-summary
//R11
[R11]ospf 1
[R11-ospf-1]area 2
[R11-ospf-1-area-0.0.0.1]nssa
//R12
[R12]ospf 1
[R12-ospf-1]area 2
[R12-ospf-1-area-0.0.0.2]nssa
---------------------------------------
//R7
[R7]ospf 1
[R7-ospf-1]area 3
[R7-ospf-1-area-0.0.0.3]nssa no-summary
//R8
[R8]ospf 1
[R8-ospf-1]area 3
[R8-ospf-1-area-0.0.0.3]nssa
//R9
[R9]ospf 1
[R9-ospf-1]area 3
[R9-ospf-1-area-0.0.0.3]nssa
Route table display :


here R10 You should also write a point R9 Default
[R10]ip route-static 0.0.0.0 0 172.16.128.9
Accelerate convergence and certification
//R9
[R9]interface s4/0/1
[R9-Serial4/0/1]ospf timer hello 5
[R9-Serial4/0/1]ospf authentication-mode md5 1 cipher huawei
//R10
[R10]interface s4/0/0
[R10-Serial4/0/0]ospf timer hello 5
[R10-Serial4/0/0]ospf authentication-mode md5 1 cipher huawei
Routing table display and connectivity test





Connectivity testing :
R1 Loopback ping R12 Loopback and extranet 
R10 Loopback ping R12 Loopback and extranet 
边栏推荐
- [leetcode sliding window problem]
- matplotlib中文问题
- 【搜索】—— 迭代加深/双向DFS/IDA*
- CSDN modify column name
- [idea] where to use the query field
- AlphaFold揭示了蛋白质结构宇宙-从近100万个结构扩展到超过2亿个结构
- Use of resttemplate and Eureka
- Error reporting: SQL syntax error in flask. Fields in SQL statements need quotation marks when formatting
- Numpy 常见函数及使用
- RHCE command practice (I)
猜你喜欢

如何选择专业、安全、高性能的远程控制软件

Ruiji takeout project actual battle day01

Self-attention neural architecture search for semantic image segmentation

Cloud native application comprehensive exercise

Focus on differentiated product design, intelligent technology efficiency improvement and literacy education around new citizen Finance

SQL question brushing: find the employee number EMP with more than 15 salary records_ No and its corresponding recording times t

Error reporting: SQL syntax error in flask. Fields in SQL statements need quotation marks when formatting

Platofarm community ecological gospel, users can get premium income with elephant swap

AlphaFold揭示了蛋白质结构宇宙-从近100万个结构扩展到超过2亿个结构

SQL question brushing: find the last of all employees who have been assigned departments_ Name and first_ Name and Dept_ no
随机推荐
Platofarm community ecological gospel, users can get premium income with elephant swap
Flask reports an error: pymysq1.err OperationalError:(1054, “Unknown column ‘None‘ in ‘field list‘“)
Flask project construction 2
RHCE command practice (I)
瑞吉外卖项目实战Day01
JS event introduction
[idea] where to use the query field
560 和为 K 的子数组
Formal parameters, arguments, main function parameters, arrays or pointers as function parameters of the knowledge in every corner of C language
C language 300 lines of code to achieve mine sweeping (deployable + markable + changeable difficulty level)
C语言300行代码实现扫雷(可展开+可标记+可更改困难级别)
Synchronized keyword details
Cookies and sessions
了解网址url的组成后 运用url模块、querystring模块和mime模块完善静态网站
[ManageEngine] help Harbin Engineering University realize integrated monitoring and management of network traffic
Expression evaluation
【搜索】—— 迭代加深/双向DFS/IDA*
Rewriting method set
Main causes of IT hardware failures and best practices for prevention
A ten thousand word blog post takes you into the pit. Reptiles are a dead end [ten thousand word pictures]