当前位置:网站首页>HCIA dynamic routing OSPF experiment
HCIA dynamic routing OSPF experiment
2022-07-27 04:50:00 【Daily online classes of kxy】
Ospf: Open shortest path first protocol
Classless link state igp agreement ; Cycle update (30min)+ Trigger update ; The update amount of link state protocol increases exponentially with the expansion of network range , therefore ospf The protocol is designed to work in medium and large networks , Need structured deployment - Zoning 、 reasonable ip Address planning ; Multicast update --- 224.0.0.5 224.0.0.6
DR/BDR The election
The condition for neighbors to become adjacency ; Related to network type ;
Network type :
Point to point -- There can only be two nodes in a network segment -- Serial link
MA-- Multiple access - There is no limit to the number of nodes in a network segment ; It's not that several nodes are connected at the moment ; Instead, this network type allows multiple nodes to be finally connected ;-- Ethernet
Point to point network neighbor relationship directly becomes adjacency relationship ; stay MA In the network , There will be DR/BDR The election ; In a network segment, only DR/BDR It is adjacent to other routers ; Not DR/BDR They are neighbors ;
Election rules :
- First, compare the priority of all the equipment interfaces in the network segment , The bigger the better ;
The default priority is 1; Value range 0-255,0 The logo does not stand for election
2. If all candidates have the same priority , Compare the... Of the candidate equipment RID, The value is excellent ;
experiment :

The first step is to build a network foundation , Topology design

Yes 192.168.1.0/24 Divide the subnet

next step
To configure OSPF Make an announcement
R1
ospf 1 router-id 1.1.1.1
are 0
network 192.168.1.0 0.0.0.255
R2
ospf 1 router-id 2.2.2.2
are 0
network 192.168.1.0 0.0.0.255
R3
ospf 1 router-id 3.3.3.3
area 0
network 192.168.1.98 0.0.0.0
network 192.168.1.3 0.0.0.0
R4
ospf 1 router-id 4.4.4.4
area 1
network 192.168.1.130 0.0.0.0
ospf 1
Set up R3 by DR equipment
dispaly ospf View yes BDR

Yes R1 R2 Input
int g0/0/0
ospf dr-priority 0
Look again

To reach the whole network R4 You need to send the default to other devices
Input
default-route originate
Then look at the routing table , Each router automatically adds a default

For testing R1pingR4 Default

To ensure the security of update , Encrypt the interface
R1
ospf 1
default-route originate
int g0/0/0
ospf authentication-mode md5 1 cipher 456789
R2
int g0/0/0
ospf authentication-mode md5 1 cipher 456789
R3
int g0/0/0
ospf authentication-mode md5 1 cipher 456789
int g0/0/1
ospf authentication-mode md5 1 cipher 123456
ospf 1
are 0
abr-summary 192.168.1.0 255.255.255.128
R4
int g0/0/0
ospf authentication-mode md5 1 cipher 123456
The next step is to summarize to reduce the number of routes , Yes R1 R2 R3 Input
ospf 1
are 0
abr-summary 192.168.1.0 255.255.255.128

The last step is to prevent loops , Yes R3 Add an empty interface
ip route-static 192.168.1.0 25 NULL0
End of experiment
边栏推荐
猜你喜欢

Ribbon load balancing principle and some source codes

Two way republication experiment

Explain left value, right value, left value reference and right value reference in detail

管理信息系统期末复习

【独立站建设】跨境电商出海开网店,首选这个网站建设!

第六章:云数据库

Understand kingbasees V9 in one picture

Structural mode - facade mode
![Introduction to regular expressions of shell, general matching, special characters: ^, $,., * Character range (brackets): [], special characters: \, matching mobile phone number](/img/31/ed0d8c1a5327059f2de7493bec1c6c.png)
Introduction to regular expressions of shell, general matching, special characters: ^, $,., * Character range (brackets): [], special characters: \, matching mobile phone number

IIC communication protocol (I)
随机推荐
Prometheus Node Exporter 常用监控指标
负数的右移
e. The difference between target and e.currenttarget
结构型模式-适配器模式
Yolov4网络详解
How does novice Xiaobai learn to be we media?
【AtCoder Beginner Contest 260 (A·B·C)】
Bubble sort (detailed)
第六章:云数据库
Ribbon load balancing principle and some source codes
0动态规划中等 LeetCode467. 环绕字符串中唯一的子字符串
Basic configuration of static routing to achieve network wide accessibility
Huawei's entry into the commercial market: due to the trend, there are many challenges
【day02】数据类型转换、运算符、方法入门
哈希表刷题(下)
Oracle数据库字段date怎么才能走索引?
新手小白怎样开始学做自媒体呢?
els_ Rectangle drawing, code planning and backup
Easy to use shell shortcuts
[final review of software engineering] knowledge points + detailed explanation of major problems (E-R diagram, data flow diagram, N-S box diagram, state diagram, activity diagram, use case diagram...)