jidckii
@jidckii
system administrator

При падении линка пропадают все OSPF маршруты?

Всем привет.

Изучаю OSPF. В Cisco packet tracert построил вот такую схему:
1470373901024.png
завел 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
  • Вопрос задан
  • 1099 просмотров
Пригласить эксперта
Ответы на вопрос 2
ferrum90
@ferrum90
Network support
Для простоты разрываете link между R0 и R1. Далее смотрите есть ли анонс сети 192.168.0.0/24 сначала на R3, потом на R2, потом на R1. Исходя из полученный данных находите "проблемный" роутер и проверяете почему он не анонсирует/не принимает маршрут
Ответ написан
jidckii
@jidckii Автор вопроса
system administrator
RazorBlade:
Router(config-if)#shutdown

Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to administratively down

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down

00:01:40: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.0.1 on GigabitEthernet0/1 from FULL to DOWN, Neighbor Down: Interface down or detached

Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#
Router#sh ip os
Router#sh ip ospf n
Router#sh ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
172.16.0.3 1 FULL/DR 00:00:37 10.10.2.2 GigabitEthernet0/2
Router#sh ip ospf data
Router#sh ip ospf database
OSPF Router with ID (172.16.0.2) (Process ID 1)

Router Link States (Area 0)

Link ID ADV Router Age Seq# Checksum Link count
172.16.0.4 172.16.0.4 83 0x80000006 0x00ab37 3
172.16.0.3 172.16.0.3 78 0x80000006 0x00dc06 3
172.16.0.1 172.16.0.1 23 0x80000007 0x0069c4 2

Net Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
10.10.0.2 172.16.0.4 83 0x80000001 0x00360b
10.10.3.2 172.16.0.4 83 0x80000002 0x001f1c
10.10.2.2 172.16.0.3 78 0x80000001 0x00221e
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы