配置ospf 虚电路

实验 5-4 配置虚电路
一、 实验目的
配置ospf的虚电路,是一个与核心区域不相连的区域可以访问ospf的核心区域!
二、 拓扑结构

三、 实验步骤
1.           基本接口的配置
测试:auckland ping 192.168.240.1
      Singapore ping 192.168.224.1
2.             配置ospf
auckland (config-router)#do sh ip route
     192.168.240.0/30 is subnetted, 1 subnets
C       192.168.240.0 is directly connected, Serial0/0
C    192.168.248.0/24 is directly connected, FastEthernet1/0
C    192.168.252.0/24 is directly connected, Loopback0
问题:为什么Auckland 只出现直连的路由?
区域间的流量必须经过核心区域,尽管区域51与区域3相邻,但是他们不能共享路由更新
3.             配置虚电路
singapore #sho ip ospf nei
Neighbor ID     Pri   State           Dead Time   Address         Interface
192.168.252.1     0   FULL/  -        00:00:35    192.168.240.2   Serial0/1
192.168.1.3       0   FULL/  -        00:00:33    192.168.224.1   Serial0/0
singapore (config)#router ospf 1
singapore (config-router)#area 51 virtual-link 192.168.1.3
sanjose3(config)#router ospf 1
sanjose3(config-router)#area 51 virtual-link 192.168.240.1
测试:
auckland (config)#do sh ip route
O IA 192.168.224.0/24 [110/128] via 192.168.240.1, 00:02:17, Serial0/0
     192.168.240.0/30 is subnetted, 1 subnets
C       192.168.240.0 is directly connected, Serial0/0
O IA 192.168.232.0/24 [110/65] via 192.168.240.1, 00:02:17, Serial0/0
C    192.168.248.0/24 is directly connected, FastEthernet1/0
     192.168.0.0/32 is subnetted, 1 subnets
O IA    192.168.0.3 [110/129] via 192.168.240.1, 00:01:12, Serial0/0
     192.168.1.0/32 is subnetted, 1 subnets
O IA    192.168.1.3 [110/129] via 192.168.240.1, 00:01:12, Serial0/0
C    192.168.252.0/24 is directly connected, Loopback0
 
singapore #sh ip ospf vir
Virtual Link OSPF_VL0 to router 192.168.1.3 is up
  Run as demand circuit
  DoNotAge LSA allowed.
  Transit area 51, via interface Serial0/0, Cost of using 64
  Transmit Delay is 1 sec, State POINT_TO_POINT,
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    Hello due in 00:00:03
    Adjacency State FULL (Hello suppressed)
    Index 1/3, retransmission queue length 0, number of retransmission 0
    First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0)
    Last retransmission scan length is 0, maximum is 0
    Last retransmission scan time is 0 msec, maximum is 0 msec
四、 实验总结
学习ospf虚电路的配置,理解虚电路的工作原理和使用方法,进一步理解ospf!!

你可能感兴趣的:(Cisco,实验,思科,ospf,ccnp)