Всем привет.
Изучаю OSPF. В Cisco packet tracert построил вот такую схему:
завел ospf в area 0 все узлы.
Но как только рву связь мезжу двумя роутерами на обоих пропадают все ospf маршруты вообще.
Это баг пэкет трейсера, или я что то не так настроил ?
Вот что происходит когда рву связь между router0 и router1, лог с router1 :
00:46:23: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.0.1 on GigabitEthernet0/1 from FULL to DOWN, Neighbor Down: Interface down or detached
Router#
Router#
Router#sh ip rou
Router#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 10.10.2.0/30 is directly connected, GigabitEthernet0/2
L 10.10.2.1/32 is directly connected, GigabitEthernet0/2
172.16.0.0/32 is subnetted, 1 subnets
C 172.16.0.2/32 is directly connected, Loopback0
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.0/24 is directly connected, GigabitEthernet0/0
L 192.168.1.1/32 is directly connected, GigabitEthernet0/0
Router#
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up
Router#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 6 subnets, 2 masks
O 10.10.0.0/30 [110/3] via 10.10.2.2, 00:00:05, GigabitEthernet0/2
C 10.10.1.0/30 is directly connected, GigabitEthernet0/1
L 10.10.1.2/32 is directly connected, GigabitEthernet0/1
C 10.10.2.0/30 is directly connected, GigabitEthernet0/2
L 10.10.2.1/32 is directly connected, GigabitEthernet0/2
O 10.10.3.0/30 [110/2] via 10.10.2.2, 00:00:05, GigabitEthernet0/2
172.16.0.0/32 is subnetted, 1 subnets
C 172.16.0.2/32 is directly connected, Loopback0
O 192.168.0.0/24 [110/4] via 10.10.2.2, 00:00:05, GigabitEthernet0/2
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.0/24 is directly connected, GigabitEthernet0/0
L 192.168.1.1/32 is directly connected, GigabitEthernet0/0
O 192.168.2.0/24 [110/2] via 10.10.2.2, 00:00:05, GigabitEthernet0/2
O 192.168.3.0/24 [110/3] via 10.10.2.2, 00:00:05, GigabitEthernet0/2
Router#
00:48:10: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.0.1 on GigabitEthernet0/1 from LOADING to FULL, Loading Done
Ранинг конфиг роутер 0:
Router#sh run
Building configuration...
Current configuration : 933 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO2911/K9 sn FTX1524KBUV
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface Loopback0
ip address 172.16.0.1 255.255.255.255
!
interface GigabitEthernet0/0
ip address 192.168.0.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 10.10.0.1 255.255.255.252
duplex auto
speed auto
!
interface GigabitEthernet0/2
ip address 10.10.1.1 255.255.255.252
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 192.168.0.0 0.0.0.255 area 0
network 10.10.0.0 0.0.0.3 area 0
network 10.10.1.0 0.0.0.3 area 0
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
и вот роутера 1 :
Router#sh run
Building configuration...
Current configuration : 933 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO2911/K9 sn FTX152496YD
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface Loopback0
ip address 172.16.0.2 255.255.255.255
!
interface GigabitEthernet0/0
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 10.10.1.2 255.255.255.252
duplex auto
speed auto
!
interface GigabitEthernet0/2
ip address 10.10.2.1 255.255.255.252
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 192.168.1.0 0.0.0.255 area 0
network 10.10.1.0 0.0.0.3 area 0
network 10.10.2.0 0.0.0.3 area 0
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
Остальных не вижу смысла выкладывать, так как тоже самое, только анонсы чуть другие.
Вот если что сама лаба для cisco packet tracer 7.0
https://yadi.sk/d/ZosiUh66tw8FM