当前位置:网站首页>OSPF basic experimental configuration
OSPF basic experimental configuration
2022-07-27 02:23:00 【less than _ ermi】
Experimental content :

oSPF It is the mainstream routing protocol for large networks in the market ,oSPF And RIP The difference is this oSPF The subnet division of is generally divided by region , In this way, when sharing routes between regions, they are aggregated into one for transmission .
Experimental process :
One 、 Subnet partition
R1-R3 Is the region 0,R3 To R4 Is the region 1, So you can 192.168.1.0/24 Divided into two network segments 192.168.1.0/25 For area 0 192.168.1.128/25 For area 1 ; then 192.168.1.0/25 Divided into four network segments 192.168.1.0/27( be used for MA Network segment ) 192.168.1.0/29 192.168.1.8/29 192.168.1.16/29 192.168.1.24/29
192.168.1.32/27(R1 Loopback ) 192.168.1.64/27(R2 Loopback ) 192.168.1.96/27(R3 Loopback )
Two 、 To configure oSFP
1、 Configuration of loopback and interface of each router (R1 For example )
interface GigabitEthernet0/0/0
ip address 192.168.1.1 29
interface LoopBack0
ip address 192.168.1.33 27R2\R3\R4 Same as R1
2、 Declare (R1 For example )
ospf 1 route-id 1.1.1.1 start-up ospf And give a name
area 0 Enter the zone 0
network 192.168.1.0 0.0.0.255 Declare 192.168.1.0-255 R2\R4 Same as R1,R4 Do not declare loopback
R3 Declare
ospf 1 router-id 3.3.3.3
area 0
network 192.168.1.3 0.0.0.0 The inverse mask is 0.0.0.0 For exact matching , Just announce 192.168.1.3 This address
abr-summary 192.168.1.0 255.255.255.128 Route summary , Put the area 0 The routes are summarized into one route and transmitted to the area 1
area 1
network 192.168.1.129 0.0.0.03、 change R1\R2 The priority of the (R1 For example )
interface GigabitEthernet0/0/0
ospf dr-priority 0 Change priority , The priority for 0, No participation DR、BDR The election R2 Same as R1
4、 authentication (R1 For example )
interface GigabitEthernet0/0/0
ospf authentication-mode md5 1 ciper 123456 Do authentication on the interface connecting neighbors , Security R2\R3\R4 Same as R1
5、 Yes R4 Write default route
ospf 1
default-route-advertise always Let the internal route generate a default route to the router 3、 ... and 、 test

experimental result :
The whole network can reach , To ensure the security of updates , Reduce the number of routing entries , Achieve the purpose of the experiment .
边栏推荐
- oSPF基础实验配置
- [explain C language in detail] this article takes you to know C language and makes you impressed
- HCIA静态路由综合实验
- 求解整数的每一位
- Golang implements TCP chat room
- C语言——二维数组、指针
- Lecture 4 - explain GPIO_ Write function and related routines
- HCIA基础知识(1)
- MySQL course 1. simple command line -- simple record welcome to supplement and correct errors
- ensp中的简单静态路由
猜你喜欢

三个整数从大到小排序(详细介绍多种方法)

静态路由综合实验

About unsafe problems such as fopen and strError encountered in vs2022 or advanced version running environment

C语言——第一个程序、打印、变量和常量

求解100~200之间的素数

2022 latest live broadcast monitoring 24-hour monitoring (III) analysis of barrage in live broadcast room

CAN总线通信应用

Esp8266wi fi data communication

ensp中的简单静态路由

最新京东短信登录+傻妞机器人保姆级部署教程(2022/7/24)
随机推荐
OSPF static experiment
静态路由综合实验
[Database Course Design] SQLSERVER database course design (student dormitory management), course design report + source code + database diagram
Golang中的错误处理
6.30 written examination of MediaTek
7.8 Ruijie online written examination
2022 latest Tiktok live broadcast monitoring (II) streaming media download in live broadcast room
Golang implements TCP chat room
About unsafe problems such as fopen and strError encountered in vs2022 or advanced version running environment
Detailed source code of golang bufio reader
Codeforces Round #809 (Div. 2), problem: (C) Qpwoeirut And The City
First knowledge of Web Design
打开编程的大门
mgre的全连和星型拓扑实验
【C语言程序设计】分支结构
OSPF configuration in mGRE environment and LSA optimization - reduce the amount of LSA updates (summary, special areas)
Lora communication application development
C语言——关系运算符和逻辑运算符、if语句、switch语句、分支结构的嵌套
Tim output comparison - PWM
OSPF protocol overview and basic concepts