帧中继环境下NBMA模式的配置

1、  实验目的:

通过本次的实验,我们可以掌握如下技能

1)        帧中继静态映射及其broadcast参数的含义。

2)        NBMA模式下的DR选举。

3)        手工配置OSPF邻居。

4)        NBMA模式下OSPF的配置。

2、  实验拓扑图:

clip_image002

3、  实验步骤:

(1)       路由器R1的配置

R1(config)#interface loolback 0

R1(config-if)#ip address 1.1.1.1 255.255.255.0

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

R1(config-if)#no shutdown

R1(config)#interface s0/0

R1(config-if)#ip address 134.1.1.1 255.255.255.0

R1(config-if)#emcapsulation frame-relay

R1(config-if)#frame-relay map ip 134.1.1.3 103 broadcast

R1(config-if)#frame-relay map ip 134.1.1.1.1 103

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

R1(config-if)#no shutdown

R1(config)#router osfp 1

R1(config-router)#router-id 1.1.1.1

R1(config-router)#network 1.1.1.0 0.0.0.0255 area 0

R1(config-router)#network 134.1.1.0 0.0.0.255 area0

R1(config-router)#neighbor 134.1.1.3

R1(config-router)#neighbor 134.1.1.4

(2)       路由器R3的配置

 R2(config)#interface loolback 0

R2(config-if)#ip address 2.2.2.2 255.255.255.0

R2(config-if)#ip osfp network point-to-point

R2(config-if)#no shutdown

R2(config)#interface s0/0

R2(config-if)#ip address 134.1.1.3 255.255.255.0

R2(config-if)#emcapsulation frame-relay

R2(config-if)#ip ospf priority 0

R2(config-if)#frame-relay map ip 134.1.1.1 301 broadcast

R2(config-if)#frame-relay map ip 134.1.1.4 301 broadcast

R2(config-if)#frame-relay map ip 134.1.1.3 301

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

R2(config-if)#no shutdown

R2(config)#router ospf 1

R2(config-router)#router-id 3.3.3.3

R2(config-ruter)#network 3.3.3.0 0.0.0.255 area 0

R2(config-ruter)#network 134.1.1.0 0.0.0.255 area 0

 

 

(3)       路由器R4的配置

 R4(config)#interface loolback 0

R4(config-if)#ip address 4.4.4.4 255.255.255.0

R4(config-if)#ip osfp network point-to-point

R4(config-if)#no shutdown

R4(config)#interface s0/0

R4(config-if)#ip address 134.1.1.4 255.255.255.0

R4(config-if)#emcapsulation frame-relay

R4(config-if)#ip ospf priority 0

R4(config-if)#frame-relay map ip 134.1.1.1 401 broadcast

R4(config-if)#frame-relay map ip 134.1.1.4 401 broadcast

R4(config-if)#frame-relay map ip 134.1.1.3 401

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

R4(config-if)#no shutdown

R4(config)#router ospf 1

R4(config-router)#router-id 34.4.4.4

R4(config-ruter)#network 4.4.4.0 0.0.0.255 area 0

R4(config-ruter)#network 134.1.1.0 0.0.0.255 area 0

 

 

通过以上的配置后,我就可以使用各种命令来查看配置情况了。