CCNP-帧中继在ospf中的应用-P2P-P2MP-Virlink虚链路解决不连续区域

来源:互联网 发布:网络拓扑图和系统架构 编辑:程序博客网 时间:2024/04/30 21:38
实验拓扑图:

实验需求:
R1、R3是点对点
R1、R4R5是点到多点
全网互通

实验参考配置:
FR全互联
R2#show frame-relay route 
Input Intf      Input Dlci      Output Intf     Output Dlci     Status
Serial0/0       301             Serial0/3       103             active
Serial0/1       401             Serial0/3       104             active
Serial0/2       501             Serial0/3       105             active
Serial0/3       103             Serial0/0       301             active
Serial0/3       104             Serial0/1       401             active
Serial0/3       105             Serial0/2       501             active
 
interface Serial0/0
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 clock rate 64000
 frame-relay lmi-type cisco
 frame-relay intf-type dce
 frame-relay route 301 interface Serial0/3 103
!
interface Serial0/1
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 clock rate 64000
 frame-relay lmi-type cisco
 frame-relay intf-type dce
 frame-relay route 401 interface Serial0/3 104
!
interface Serial0/2
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 clock rate 64000
 frame-relay lmi-type cisco
 frame-relay intf-type dce
 frame-relay route 501 interface Serial0/3 105
!
interface Serial0/3
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
 clock rate 64000
 frame-relay lmi-type cisco
 frame-relay intf-type dce
 frame-relay route 103 interface Serial0/0 301
 frame-relay route 104 interface Serial0/1 401
 frame-relay route 105 interface Serial0/2 501

R1#
interface Loopback0
 ip address 1.1.1.1 255.255.255.0
!
interface Serial0/0
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
!
interface Serial0/0.1 point-to-point
 ip address 13.1.1.1 255.255.255.0
 frame-relay interface-dlci 103   
!
interface Serial0/0.2 multipoint
 ip address 145.1.1.1 255.255.255.0
 frame-relay map ip 145.1.1.4 104 broadcast
 frame-relay map ip 145.1.1.5 105 broadcast
 no frame-relay inverse-arp

router ospf 1
 router-id 1.1.1.1
 log-adjacency-changes
 area 2 virtual-link 4.4.4.4
 network 1.1.1.1 0.0.0.0 area 0
 network 13.1.1.1 0.0.0.0 area 0
 network 145.1.1.1 0.0.0.0 area 2
 neighbor 5.5.5.5
 neighbor 4.4.4.4

R4:
interface Loopback0
 ip address 4.4.4.4 255.255.255.0
!
interface Serial0/0
 ip address 145.1.1.4 255.255.255.0
 encapsulation frame-relay
 serial restart-delay 0
 frame-relay map ip 145.1.1.1 401 broadcast
 frame-relay map ip 145.1.1.5 401 broadcast
 no frame-relay inverse-arp
!
interface Ethernet1/0
 ip address 46.1.1.4 255.255.255.0
 half-duplex
!
router ospf 1
 router-id 4.4.4.4
 log-adjacency-changes
 area 2 virtual-link 1.1.1.1
 network 4.4.4.4 0.0.0.0 area 1
 network 46.1.1.4 0.0.0.0 area 1
 network 145.1.1.4 0.0.0.0 area 2
 neighbor 5.5.5.5
 neighbor 1.1.1.1
!
R5:
interface Loopback0
 ip address 5.5.5.5 255.255.255.0
!
interface Serial0/0
 ip address 145.1.1.5 255.255.255.0
 encapsulation frame-relay
 serial restart-delay 0
 frame-relay map ip 145.1.1.1 501 broadcast
 frame-relay map ip 145.1.1.4 501 broadcast
 no frame-relay inverse-arp

router ospf 1
 router-id 5.5.5.5
 log-adjacency-changes
 network 5.5.5.5 0.0.0.0 area 2
 network 145.1.1.5 0.0.0.0 area 2
 neighbor 4.4.4.4
 neighbor 1.1.1.1

R3:
interface Loopback0
 ip address 3.3.3.3 255.255.255.0
!
interface Serial0/0
 ip address 13.1.1.3 255.255.255.0
 encapsulation frame-relay
 ip ospf network point-to-point
 serial restart-delay 0
!  
router ospf 1
 log-adjacency-changes
 network 0.0.0.0 255.255.255.255 area 0

测试
R6# ping  1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
最后看一下R6的路由表R6#show ip rou
     1.0.0.0/32 is subnetted, 1 subnets
O IA    1.1.1.1 [110/75] via 46.1.1.4, 00:01:48, Ethernet0/0
     3.0.0.0/32 is subnetted, 1 subnets
O IA    3.3.3.3 [110/139] via 46.1.1.4, 00:01:48, Ethernet0/0
     4.0.0.0/32 is subnetted, 1 subnets
O       4.4.4.4 [110/11] via 46.1.1.4, 00:01:57, Ethernet0/0
     6.0.0.0/24 is subnetted, 1 subnets
C       6.6.6.0 is directly connected, Loopback0
     145.1.0.0/24 is subnetted, 1 subnets
O IA    145.1.1.0 [110/74] via 46.1.1.4, 00:01:57, Ethernet0/0
     46.0.0.0/24 is subnetted, 1 subnets
C       46.1.1.0 is directly connected, Ethernet0/0
     13.0.0.0/24 is subnetted, 1 subnets
O IA    13.1.1.0 [110/138] via 46.1.1.4, 00:01:51, Ethernet0/0

时间不早了,就简单把配置刷一下吧,谢谢朋友们。
感谢node!
0 0
原创粉丝点击