140 likes | 159 Views
OSPF Multi-Area Totally Stubby Areas. RIP. Remote-AS. Loopback. 10.0.0.0/8. .2. 162.10.5.1/16. Loopback. .1. 1.5.202.206/24. ASBR. .3. OSPF Area 0. 206.202.0.0/24. Loopback. .4. .2. OSPF Area51. 2.0.202.206/24. .1. 192.10.10.0/24. .1. RouterE. OSPF Area 1. RouterB.
E N D
OSPF Multi-Area Totally Stubby Areas ccnp_cch
RIP Remote-AS Loopback 10.0.0.0/8 .2 162.10.5.1/16 Loopback .1 1.5.202.206/24 ASBR .3 OSPF Area 0 206.202.0.0/24 Loopback .4 .2 OSPF Area51 2.0.202.206/24 .1 192.10.10.0/24 .1 RouterE OSPF Area 1 RouterB Loopback RouterA .1 .2 1.10.202.206/24 206.202.1.0/24 Loopback RouterF 1.0.202.206/24 Loopback .1 2.10.202.206/24 206.202.2.0/24 192.10.5.0/24 .2 .2 .1 RouterC RouterD Loopback Loopback 1.2.202.206/24 2.2.202.206/24 AREA 1 = TOTALLY STUBBY AREA Routes reçues sur tous les routeurs OSPF.• Totally Stubby Area - Toutes les routes internes à l'AS. - Routes de l'area locale - Route par défaut injectée par l'ABR - Non - reçues: - Routes externes à l'AS - Routes Inter-Area •Areas normales: - Toutes les routes internes à l'AS. - Routes de l'area locale - Routes des autres- areas (Inter-Area) - Toutes les routes externes (External routes) - Non - reçues: - Route par défaut ccnp_cch
Configuration des réseaux OSPF ASBR ip route 0.0.0.0 0.0.0.0 10.0.0.2 RouteurB (ABR) router ospf 1 network 206.202.0.0 0.0.0.255 area 0 network 206.202.1.0 0.0.0.255 area 1area 1 stub no-summary RouteurC router ospf 1 network 206.202.1.0 0.0.0.255 area 1 network 206.202.2.0 0.0.0.255 area 1area 1 stub RouteurD router ospf 1 network 206.202.2.0 0.0.0.255 area 1 area 1 stub ccnp_cch
Tables de routage - show ip route Remote-AS Remote-AS#show ip route Codes: C - connected, S - Static, - I - IGRP, R - RIP, M -Mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area 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, * - candidate default U - per-user static route Gateway of last resort is not set R 206.202.0.0/24 [120/5] via 10.0.0.1, 00:00:09, Serial0 R 206.202.1.0/24 [120/5] via 10.0.0.1, 00:00:00, Serial0 R 206.202.2.0/24 [120/5] via 10.0.0.1, 00:00:10, Serial0 C 10.0.0.0/8 is directly connected, Serial0 162.10.0.0/16 is subnetted, 1 subnets C 162.10.0.0/16 is directly connected, Loopback0 R 206.202.0.0/24 [120/5] via 10.0.0.1, 00:00:10, Serial0 R 206.202.0.0/24 [120/5] via 10.0.0.1, 00:00:10, Serial0 RouterB (Routeur ABR - Areas 0 & 1) RouterB#show ip routeCodes: C - connected, S - Static, - I - IGRP, R - RIP, M -Mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area 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, * - candidate default U - per-user static route Gateway of last resort is not set O 206.202.2.0/24 [110/74] via 206.202.1.2, 00:08:04, Serial0 2.0.0.0/24 is subnetted, 1 subnetsC 2.0.202.0 is directly connected, Loopback0C 206.202.0.0/24 is directly connected, Ethernet0C 206.202.1.0/24 is directly connected, Serial0O IA 192.10.10.0/24 [110/74] via 206.202.0.4, 00:11:13, Ethernet0O E2 162.10.0.0/16 [110/500] via 206.202.0.3, 00:01:39, Ethernet0O IA 192.10.5.0/24 [110/84] via 206.202.0.4, 00:11:11, Ethernet0O E2 10.0.0.0/8 [110/500] via 206.202.0.3, 00:02:24, Ethernet0 ccnp_cch
RouterC (Routeur Interne - Area 1) RouterC#show ip routeCodes: C - connected, S - Static, - I - IGRP, R - RIP, M -Mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area 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, * - candidate default U - per-user static route Gateway of last resort is 206.202.1.1 to network 0.0.0.0 C 206.202.2.0/24 is directly connected, Ethernet0 1.0.0.0/8 is subnetted, 1 subnetsC 1.2.202.0 is directly connected, Loopback0C 206.202.1.0/24 is directly connected, Serial0O*IA 0.0.0.0/0 [110/65] via 206.202.1.1, 00:13:11, Serial0 RouterD (Routeur Interne - Area 1) RouterD#show ip routeCodes: C - connected, S - Static, - I - IGRP, R - RIP, M -Mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area 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, * - candidate default U - per-user static route Gateway of last resort is 206.202.2.1 to network 0.0.0.0 C 206.202.2.0/24 is directly connected, Ethernet0 2.0.0.0/24 is subnetted, 1 subnetsC 2.2.202.0 is directly connected, Loopback0O 206.202.1.0/24 [110/74] via 206.202.2.1, 00:14:23, Ethernet0O*IA 0.0.0.0/0 [110/75] via 206.202.2.1, 00:14:23, Ethernet0 ccnp_cch
RouterF (Routeur Interne - Area 51) RouterF#show ip routeCodes: C - connected, S - Static, - I - IGRP, 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, * - candidate default U - per-user static route, o - ODR T - Traffic engineered route Gateway of last resort is not set O IA 206.202.2.0/24 [110/148] via 192.10.10.1, 00:15:10, Serial0 2.0.0.0/8 is subnetted, 1 subnetsC 2.10.202.0 is directly connected, Loopback0O IA 206.202.0.0/24 [110/74] via 192.10.10.1, 00:15:10, Serial0O IA 206.202.1.0/24 [110/202] via 192.10.10.1, 00:15:10, Serial0 C 192.10.10.0/24 is directly connected, Serial0O E2 162.10.0.0/16 [110/500] via 192.10.10.1, 00:05:25, Serial0C 192.10.5.0/24 is directly connected, Ethernet0O E2 10.0.0.0/8 [110/500] via 192.10.10.1, 00:07:03, Serial0 ccnp_cch
Commande show ip ospf database (Link State Database) RouteurB ( Routeur ABR - Areas 0 & 1) RouteurB#show ip ospf database OSPF Router with ID (2.0.202.206) (Proccess ID 1) Router Link States (Area 0)LSA 1 = Liaisons auxquelles le routeur appartient dans l'area Link ID ADV Router Age Seq# Checksum Link count 1.0.202.206 1.0.202.206 726 0x80000002 0xAD30 11.5.202.206 1.5.202.206 725 0x80000002 0x8926 11.10.202.206 1.10.202.206 710 0x80000002 0x3075 12.0.202.206 2.0.202.206 724 0x80000002 0xC6F2 1 Net Link States (Area 0)LSA 2 = Générés par le DR Link ID ADV Router Age Seq# Checksum 206.202.0.2 2.0.202.206 709 0x80000006 0x601F206.202.0.2 = Réseau Multiaccès, 2.0.202.206 = DR Summary Net Link States (Area 0)LSA 3 = Générés par le routeur ABR. Décrit les liaisons entre le routeur ABR et les routeurs internes de l'area locale Link ID ADV Router Age Seq# Checksum 192.10.5.0 1.10.202.206 729 0x80000001 0x3945192.10.10.0 1.10.202.206 744 0x80000001 0x9DE5Réseaux de l'Area 51, Routeur annonceur RouteurE (ABR) 206.202.1.0 2.0.202.206 755 0x80000001 0x883E 206.202.2.0 2.0.202.206 716 0x80000003 0xDDDB Réseaux de l'Area 1, Routeur annonceur RouteurB (ABR) ------------------------------------------------------------------------- ccnp_cch
Router Link States (Area 1)LSA 1 = Liaisons auxquelles le routeur appartient dans l'area Link ID ADV Router Age Seq# Checksum Link count 1.2.202.206 1.2.202.206 729 0x80000003 0xC381 32.0.202.206 2.0.202.206 759 0x80000002 0x1C7E 22.2.202.206 2.2.202.206 730 0x80000002 0xE5CE 1 Net Link States (Area 1)LSA 2 = Générés par le DR Link ID ADV Router Age Seq# Checksum 206.202.2.2 2.2.202.206 730 0x80000001 0x1DA9206.202.2.2 = Réseau Multiaccès, 2.2.202.206 = DR Summary Net Link States (Area 1)LSA 3 = Générés par le routeur ABR. Décrit les liaisons entre le routeur ABR et les routeurs internes de l'area locale Link ID ADV Router Age Seq# Checksum 0.0.0.0 2.0.202.206 768 0x80000001 0x3B67 Route par défaut, Routeur annonceur RouteurB (ABR) ------------------------------------------------------------------------- AS External Link States (Type-5)LSA 5 = Générés par le routeur ASBR. Diffusés dans l'AS sauf dans les Areas Stub et Totally Stubby. Link ID ADV Router Age Seq# Checksum Tag 10.0.0.0 1.5.202.206 199 0x80000001 0xA173 0 162.10.0.0 1.5.202.206 131 0x80000001 0x6909 0 ccnp_cch
Commande show ip ospf database (Link State Database) RouteurC ( Routeur Interne - Area 1) RouteurC#show ip ospf database OSPF Router with ID (1.2.202.206) (Proccess ID 1) Router Link States (Area 1)LSA 1 = Liaisons auxquelles le routeur appartient dans l'area Link ID ADV Router Age Seq# Checksum Link count 1.2.202.206 1.2.202.206 811 0x80000003 0xC381 32.0.202.206 2.0.202.206 843 0x80000002 0x1C7E 22.2.202.206 2.2.202.206 812 0x80000002 0xE5CE 1 Net Link States (Area 1)LSA 2 = Générés par le DR Link ID ADV Router Age Seq# Checksum 206.202.2.2 2.2.202.206 812 0x80000001 0x1DA9206.202.2.2 = Réseau Multiaccès, 2.2.202.206 = DR Summary Net Link States (Area 1)LSA 3 = Générés par le routeur ABR. Décrit les liaisons entre le routeur ABR et les routeurs internes de l'area locale Link ID ADV Router Age Seq# Checksum 0.0.0.0 2.0.202.206 644 0x80000001 0x3B67 Route par défaut, Routeur annonceur RouteurB (ABR) ------------------------------------------------------------------------- ccnp_cch
Commande show ip ospf database (Link State Database) RouteurD ( Routeur Interne - Area 1) RouteurD#show ip ospf database OSPF Router with ID (2.2.202.206) (Proccess ID 1) Router Link States (Area 1)LSA 1 = Liaisons auxquelles le routeur appartient dans l'area Link ID ADV Router Age Seq# Checksum Link count 1.2.202.206 1.2.202.206 884 0x80000003 0xC381 32.0.202.206 2.0.202.206 916 0x80000002 0x1C7E 22.2.202.206 2.2.202.206 883 0x80000002 0xE5CE 1 Net Link States (Area 1)LSA 2 = Générés par le DR Link ID ADV Router Age Seq# Checksum 206.202.2.2 2.2.202.206 883 0x80000001 0x1DA9206.202.2.2 = Réseau Multiaccès, 2.2.202.206 = DR Summary Net Link States (Area 1)LSA 3 = Générés par le routeur ABR. Décrit les liaisons entre le routeur ABR et les routeurs internes de l'area locale Link ID ADV Router Age Seq# Checksum 0.0.0.0 2.0.202.206 924 0x80000001 0x3B67 Route par défaut, Routeur annonceur RouteurB (ABR) ------------------------------------------------------------------------- ccnp_cch
Commande show ip ospf database (Link State Database) RouteurF ( Routeur Interne - Area 51) RouteurF#show ip ospf database OSPF Router with ID (2.10.202.206) (Proccess ID 1) Router Link States (Area 51)LSA 1 = Liaisons auxquelles le routeur appartient dans l'area Link ID ADV Router Age Seq# Checksum Link count 1.10.202.206 1.10.202.206 968 0x80000002 0x801 22.10.202.206 2.0.202.206 967 0x80000004 0x69B2 3 Summary Net Link States (Area 51)LSA 3 = Générés par le routeur ABR. Décrit les liaisons entre le routeur ABR et les routeurs internes de l'area locale Link ID ADV Router Age Seq# Checksum 206.202.0.0 1.10.202.206 938 0x80000003 0x2AC8 Réseaux de l'Area 0, Routeur annonceur RouteurE (ABR) 206.202.1.0 1.10.202.206 944 0x80000001 0xA50E206.202.2.0 1.10.202.206 944 0x80000001 0xFEA9Réseaux de l'Area 1, Routeur annonceur RouteurE (ABR) Summary ASBR Link States (Area 51) LSA 4 = Accessibilité de l'ASBR, non diffusés dans les Areas Stub et Totally Stubby Link ID ADV Router Age Seq# Checksum 1.5.202.206 1.10.202.206 944 0x80000001 0xEDF ------------------------------------------------------------------------- AS External Link States (Type-5) LSA 5 = Réseaux externes issus de l'ASBR, diffusés dans tout l'AS sauf pour les Areas Stub et Totally Stubby Link ID ADV Router Age Seq# Checksum Tag 10.0.0.0 1.5.202.206 432 0x80000001 0xA173 0162.10.0.0 1.5.202.206 366 0x80000001 0x6909 0 ccnp_cch
Commande show ip ospf interface RouteurB ( Routeur ABR - Areas 0 & 1) RouteurB#show ip ospf interface Ethernet0 is up, line protocol is up Internet Address 206.202.0.2/24, Area 0 Process ID 1, Router ID 2.0.202.206, Network Type BROADCAST, Cost: 10 Transmit Delay is 1 sec, State DR, Priority 1 Designated Router (ID) 2.0.202.206, Interface address 206.202.0.2 Backup Deisgnated router (ID) 1.10.202.206, Interface address 206.202.0.4 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in 00:00:00 Neighbor Count is 3, Adjacent neighbor count is 3 Adjacent with neighbor 1.5.202.206 Adjacent with neighbor 1.10.202.206 (Backup Designated Router) Adjacent with neighbor 1.0.202.206 Suppress hello for 0 neighbor(s)Serial0 is up, line protocol is up Internet Address 206.202.1.1/24, Area 1 Process ID 1, Router ID 2.0.202.206, Network Type POINT_TO_POINT, Cost: 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:09 Neighbor Count is 1, Adjacent neighbor count is 1 Adjacent with neighbor 1.2.202.206 Suppress hello for 0 neighbor(s) RouteurC ( Routeur Interne - Area 1) RouteurC#show ip ospf interface Ethernet0 is up, line protocol is up Internet Address 206.202.2.1/24, Area 1 Process ID 1, Router ID 1.2.202.206, Network Type BROADCAST, Cost: 10 Transmit Delay is 1 sec, State BDR, Priority 1 Designated Router (ID) 2.2.202.206, Interface address 206.202.2.2 Backup Deisgnated router (ID) 1.2.202.206, Interface address 206.202.2.1 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in 00:00:01 Neighbor Count is 1, Adjacent neighbor count is 1 Adjacent with neighbor 2.2.202.206 (Designated Router) Suppress hello for 0 neighbor(s)Serial0 is up, line protocol is up Internet Address 206.202.1.2/24, Area 1 Process ID 1, Router ID 1.2.202.206, Network Type POINT_TO_POINT, Cost: 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:06 Neighbor Count is 1, Adjacent neighbor count is 1 Adjacent with neighbor 2.0.202.206 Suppress hello for 0 neighbor(s) ccnp_cch
Commande show ip ospf interface RouteurD ( Routeur Interne - Area 1) RouteurD#show ip ospf interface Ethernet0 is up, line protocol is up Internet Address 206.202.2.2/24, Area 1 Process ID 1, Router ID 2.2.202.206, Network Type BROADCAST, Cost: 10 Transmit Delay is 1 sec, State DR, Priority 1 Designated Router (ID) 2.2.202.206, Interface address 206.202.2.2 Backup Deisgnated router (ID) 1.2.202.206, Interface address 206.202.2.1 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in 00:00:03 Neighbor Count is 1, Adjacent neighbor count is 1 Adjacent with neighbor 1.2.202.206 (Backup Designated Router) Suppress hello for 0 neighbor(s) ccnp_cch
Commande show ip ospf neighbor RouteurB RouteurB#show ip ospf neighborNeighbor ID Pri State Dead Time Address Interface1.5.202.206 1 FULL/DROTHER 00:00:39 206.202.0.3 Ethernet01.10.202.206 1 FULL/BDR 00:00:35 206.202.0.4 Ethernet0 1.0.202.206 1 FULL/DROTHER 00:00:32 206.202.0.1 Ethernet0 1.2.202.206 1 FULL/- 00:00:35 206.202.1.2 Serial0 RouteurC RouteurC#show ip ospf neighborNeighbor ID Pri State Dead Time Address Interface2.2.202.206 1 FULL/DR 00:00:38 206.202.2.2 Ethernet02.0.202.206 1 FULL/- 00:00:30 206.202.1.1 Serial0 RouteurD RouteurD#show ip ospf neighborNeighbor ID Pri State Dead Time Address Interface1.2.202.206 1 FULL/BDR 00:00:37 206.202.2.1 Ethernet0 ccnp_cch