资源描述
______________________________________________________________________________________________________________
帧中继结合OSPF的配置
拓扑图:
实验步骤:
RT-A:
RT-A(config)#interface FastEthernet0/1
RT-A(config-if)#ip address 192.168.0.1 255.255.255.0
RT-A(config)#interface Serial0/0
RT-A(config-if)#encapsulation frame-relay
//对串口serial0/3/0进行frame-relay封装
RT-A(config)#interface Serial0/0.1 point-to-point
//进入串口的子接口配置模式
RT-A(config-subif)# ip address 192.168.254.1 255.255.255.0
RT-A(config-subif)# frame-relay interface-dlci 30
//配置DLCI
RT-A(config)#interface Serial0/0.2 point-to-point
RT-A(config-subif)# ip address 192.168.253.1 255.255.255.0
RT-A(config-subif)# frame-relay interface-dlci 40
RT-A(config)#router ospf 1 //配置OSPF路由
RT-A(config-router)# network 192.168.0.0 0.0.0.255 area 0
RT-A(config-router)# network 192.168.254.0 0.0.0.255 area 0
RT-A(config-router)# network 192.168.253.0 0.0.0.255 area 0
RTB:
interface FastEthernet0/1
ip address 192.168.1.1 255.255.255.0
interface Serial0/0
encapsulation frame-relay
clock rate 64000
interface Serial0/0.1 point-to-point
ip address 192.168.253.2 255.255.255.0
frame-relay interface-dlci 41
interface Serial0/0.2 point-to-point
ip address 192.168.252.1 255.255.255.0
frame-relay interface-dlci 50
interface Serial0/1
no ip address
shutdown
router ospf 1
network 192.168.1.0 0.0.0.255 area 0
network 192.168.252.0 0.0.0.255 area 0
network 192.168.253.0 0.0.0.255 area 0
RTC:
interface FastEthernet0/1
ip address 192.168.2.1 255.255.255.0
interface Serial0/0
encapsulation frame-relay
clock rate 64000
interface Serial0/0.1 point-to-point
ip address 192.168.254.2 255.255.255.0
frame-relay interface-dlci 31
interface Serial0/0.2 point-to-point
ip address 192.168.252.2 255.255.255.0
frame-relay interface-dlci 51
router ospf 1
network 192.168.2.0 0.0.0.255 area 0
network 192.168.254.0 0.0.0.255 area 0
network 192.168.252.0 0.0.0.255 area 0
帧中继设备配置:
帧中继配置
配置结果验证:
使用PC0 分别ping PC 1和 PC2结果
Welcome To
Download !!!
欢迎您的下载,资料仅供参考!
精品资料
展开阅读全文