当前位置:网站首页>[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 
边栏推荐
- [ManageEngine] help Harbin Engineering University realize integrated monitoring and management of network traffic
- Error reporting: SQL syntax error in flask. Fields in SQL statements need quotation marks when formatting
- [idea] where to use the query field
- Regular checksum time formatting
- Redis is installed on Linux
- Learning summary of time complexity and space complexity
- SDRAM Controller Design (two design methods of digital controller)
- Plato launched the LAAS protocol elephant swap, which allows users to earn premium income
- Code generator
- JS event introduction
猜你喜欢

测试/开发程序员靠技术渡过中年危机?提升自己本身的价值......

mysql的执行顺序

云原生应用综合练习上

梅克尔工作室——HarmonyOS实现列表待办

Flink Postgres CDC

Docker-compose安装mysql

matplotlib中文问题

C语言300行代码实现扫雷(可展开+可标记+可更改困难级别)

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

Three ways of creating indexes in MySQL
随机推荐
MySQL time is formatted by hour_ MySQL time format, MySQL statement queried by time period [easy to understand]
Third party login process of flask Weibo
uniapp movable-view表格缩放过程想保持容器高度不变的解决办法
HCIA配置实例(eNSP)
Teach you a text to solve the problem of JS digital accuracy loss
JS event introduction
SQL question brushing: find the current salary details and department number Dept_ no
Subtotal of process thread coordination
els 新的方块落下
Plato launched the LAAS protocol elephant swap, which allows users to earn premium income
matplotlib中文问题
J9数字论:什么因素决定NFT的价值?
Cookies and sessions
nep 2022 cat
Synchronized keyword details
uniapp createSelectorQuery(). Select get returns null error
SDRAM Controller Design (two design methods of digital controller)
Read the recent trends of okaleido tiger and tap the value and potential behind it
els 到底停止
什么是原码、反码和补码