我试图在数据包追踪器中重新创建一个理论情况,它包含了协议OSPF的3个区域,原因是设备之间没有通信,即使ospf跳可以看到其他设备。
interface FastEthernet0/0
ip address 192.168.0.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 10.0.0.1 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
router-id 1.1.1.1
log-adjacency-changes
network 192.168.0.0 0.0.0.255 area 1
network 10.0.0.0 0.0.0.3 area 1
!interface FastEthernet0/0
ip address 11.0.0.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 10.0.0.2 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
router-id 2.2.2.2
log-adjacency-changes
area 2 virtual-link 3.3.3.3
network 10.0.0.0 0.0.0.3 area 1
network 11.0.0.0 0.0.0.3 area 2
!interface FastEthernet0/0
ip address 11.0.0.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 12.0.0.1 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
router-id 3.3.3.3
log-adjacency-changes
area 2 virtual-link 2.2.2.2
network 11.0.0.0 0.0.0.255 area 2
network 12.0.0.0 0.0.0.3 area 3
!interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 12.0.0.2 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
router-id 4.4.4.4
log-adjacency-changes
network 12.0.0.0 0.0.0.3 area 3
network 192.168.1.0 0.0.0.255 area 3
!
发布于 2015-10-29 03:51:51
区域1和3不能直接与区域2通信。OSPF区域只能连接到区域0。如果你把第2区改为0区,事情就会好得多。而且,你不可能有不连续的区域0。
https://networkengineering.stackexchange.com/questions/23846
复制相似问题