OSPF Trouble集锦排错详解
r1–e0/0———————e0/0 —–r2
e0/1 |
| e0/1
r3
r1:
interface Ethernet0/0
ip address 10.10.13.1 255.255.255.0
half-duplex
end
interface Ethernet0/1
ip address 10.10.31.1 255.255.255.0
half-duplex
end
router ospf 10
router-id 10.10.3.3
log-adjacency-changes
network 10.10.13.1 0.0.0.0 area 0
network 10.10.31.1 0.0.0.0 area 0
r2
interface FastEthernet0/3
no switchport
ip address 10.10.13.2 255.255.255.252
end
router ospf 10
router-id 10.10.7.7
log-adjacency-changes
network 10.10.7.7 0.0.0.0 area 0
network 10.10.13.2 0.0.0.0 area 0
r3
interface FastEthernet0/3
no switchport
ip address 10.10.31.2 255.255.255.252
end
router ospf 10
router-id 10.10.8.8
log-adjacency-changes
network 10.10.31.2 0.0.0.0 area 0
network 10.10.43.1 0.0.0.0 area 43
现像
r1
#show ip ospf nei
Neighbor ID Pri State Dead Time Address Interface
r2#show ip ospf nei
Neighbor ID Pri State Dead Time Address Interface
r3#show ip ospf nei
Neighbor ID Pri State Dead Time Address Interface
本题OSPF 邻居起不来 是因为掩码不一致