ospf在帧中继环境下点到点(子接口)模式的配置

用模拟器配的,拓扑图很简单,不好上传,描述一下吧!用了4个3640三层交换
机,R1,R2,R3,R4,其中R2模拟帧中继交换机。具体的拓扑连接是这样的:
R2的S0/0连R1的S0/1,R2的S0/1连R3的S0/1,R2的S0/2连R4的S0/1。具体的配
置是这样的:
 
R1:
interface Loopback0
 ip address 1.1.1.1 255.255.255.0
interface Serial0/1
 no ip address
 encapsulation frame-relay
 ip ospf network point-to-point
 serial restart-delay 0
!
interface Serial0/1.1 point-to-point
 ip address 192.168.1.1 255.255.255.0
 frame-relay interface-dlci 103  
!
interface Serial0/1.2 point-to-point
 ip address 192.168.2.1 255.255.255.0
 frame-relay interface-dlci 104
router ospf 1
 log-adjacency-changes
 network 0.0.0.0 255.255.255.255 area 0
FR:
frame-relay switching
               
interface Serial0/0
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 clockrate 64000
 frame-relay intf-type dce
 frame-relay route 103 interface Serial0/1 301
 frame-relay route 104 interface Serial0/2 401
!
interface Serial0/1
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 clockrate 64000
 frame-relay intf-type dce
 frame-relay route 301 interface Serial0/0 103
interface Serial0/2
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 clockrate 64000
 frame-relay intf-type dce
 frame-relay route 401 interface Serial0/0 104

R3:
interface Loopback0
 ip address 3.3.3.3 255.255.255.0
interface Serial0/1
 ip address 192.168.1.3 255.255.255.0
 encapsulation frame-relay
 ip ospf network point-to-point
 serial restart-delay 0
 frame-relay interface-dlci 301
router ospf 1
 network 0.0.0.0 255.255.255.255 area 0
R4:
interface Loopback0
 ip address 4.4.4.4 255.255.255.0
interface Serial0/1
 ip address 192.168.2.4 255.255.255.0
 encapsulation frame-relay
 ip ospf network point-to-point
 serial restart-delay 0
 frame-relay interface-dlci 401
router ospf 1
 network 0.0.0.0 255.255.255.255 area 0

本文出自 “虎虎生威” 博客,转载请与作者联系!

你可能感兴趣的:(职场,休闲,ccnp,ospf)