admin 管理员组

文章数量: 1184232


2024年8月28日发(作者:门店小程序)

OSPF综合实验

实验目的:

1、掌握NBMA网络中OSPF的邻居关系手工建立的配置方法。

2、掌握指定OSPF的接口优先级和通过修改OSPF的默认接口网络类型避免DR

的选举出错。

3、掌握OSPF Stub区域配置方法。

4、掌握OSPF Totally Stub区域配置方法。

5、掌握OSPF Stub区域配置要求: Stub区域没有ASBR,它至少拥有一个ABR。

6、理解OSPF虚链路原理及何时需要使用虚链路。

7、掌握OSPF虚链路配置方法

8、掌握OSPF区域认证的配置方法。

实验拓扑图:

網絡乄醜

实验要求:

1、路由器的回环接口地址格式:/24

2、R1、R2、R4组成骨干区域,要求保证OSPF 稳定性,FR接口地址格式:Y.Y.124.0/29,

要求FR网络上不能有发往224.0.0.5的Hello包。

3、R3与R2的S口和R3与R4的以太口组成区域1,要求不能看到类型3的LSA。

4、R4的lo口是处于区域2的

5、要求骨干区域高安全性。

6、全网互通。

实验步骤:

1、配置各台路由器的IP地址,并且使用Ping命令确认各路由器的直连口的互通性。

2、其中R、R1、R2的配置如下:

R0(config)#interface loopback 0

R0(config-if)#ip add 1.1.1.1 255.255.255.0

R0(config-if)#ip ospf network point-to-point

R0(config-if)#exit

R0(config)#

R0(config)#interface serial 0/0

R0(config-if)#ip add 192.168.124.1 255.255.255.240

R0(config-if)#encapsulation frame-relay

R0(config-if)#no frame-relay inverse-arp

R0(config-if)#frame-relay map ip 192.168.124.2 102 broadcast

R0(config-if)#frame-relay map ip 192.168.124.3 103 broadcast

R0(config-if)#no shutdown

R0(config-if)#exit

R0(config)#

R0(config)#router ospf 100

R0(config-router)#Router-ID 1.1.1.1

R0(config-router)#network 192.168.124.0 0.0.0.7 area 0

R0(config-router)#network 1.1.1.0 0.0.0.255 area 0

R0(config-router)#exit

R0(config)#

R1(config)#interface loopback 0

R1(config-if)#ip address 2.2.2.2 255.255.255.0

R1(config-if)#ip ospf network point-to-point

R1(config-if)#exit

R1(config)#

R1(config)#interface serial 0/0

R1(config-if)#ip add 192.168.124.2 255.255.255.248

R1(config-if)#encapsulation frame-relay

R1(config-if)#no frame-relay inverse-arp

R1(config-if)#frame-relay map ip 192.168.124.1 201 broadcast

R1(config-if)#frame-relay map ip 192.168.124.3 201 broadcast

R0(config-if)#no shutdown

R1(config-if)#exit

R1(config)#interface serial 0/1

R1(config-if)#ip add 192.168.1.1 255.255.255.0

R0(config-if)#no shutdown

R1(config-if)#exit

R1(config)#

R1(config)#router ospf 100

R1(config-router)#router-id 2.2.2.2

R1(config-router)#network 192.168.124.0 0.0.0.7 area 0

R1(config-router)#network 2.2.2.0 0.0.0.255 area 0


本文标签: 区域 要求 接口 配置 方法