lunes, 2 de mayo de 2016

OSPF DE ÁREA ÚNICA

OSPF DE ÁREA ÚNICA

El protocolo OSPF (Open Shortest Path First) es un protocolo de routing de estado de enlace desarrollado como reemplazo del protocolo de routing vector distancia RIP. Durante los comienzos de la tecnología de redes y de Internet, RIP era un protocolo de routing aceptable. Sin embargo, el hecho de que RIP dependiera del conteo de saltos como única métrica para determinar la mejor ruta rápidamente se volvió problemático. El uso del conteo de saltos no escala bien en redes más grandes con varias rutas de distintas velocidades. OSPF presenta ventajas importantes en comparación con RIP, ya que ofrece una convergencia más rápida y escala a implementaciones de red mucho más grandes.
OSPF es un protocolo de enrutamiento sin clase que utiliza el concepto de áreas para realizar la escalabilidad. En este capítulo, se abarcan las implementaciones y configuraciones básicas de OSPF de área única.

OSPF versión 2 (OSPFv2) se encuentra disponible para IPv4, mientras que OSPF versión 3 (OSPFv3) se encuentra disponible para IPv6.
Haga clic en las fechas de la figura 2 para ver los acontecimientos históricos relacionados con OSPF.
El desarrollo inicial de OSPF comenzó en 1987 por parte del grupo de trabajo de OSPF, el Grupo de trabajo de ingeniería de Internet (IETF). En aquel momento, Internet era fundamentalmente una red académica y de investigación financiada por el gobierno de los EE. UU .
En 1989, se publicó la especificación para OSPFv1 en RFC 1131. Se escribieron dos implementaciones. Una implementación se desarrolló para ejecutarse en routers, y la otra se desarrolló para ejecutarse en estaciones de trabajo UNIX. Esta última implementación se convirtió en un proceso UNIX generalizado que se conoce como GATED. OSPFv1 era un protocolo de routing experimental y nunca se implementó.
En 1991, John Moy introdujo OSPFv2 en RFC 1247. OSPFv2 ofrecía significativas mejoras técnicas con respecto a OSPFv1. Por su diseño, es un protocolo sin clase, de modo que admite VLSM y CIDR.
Al mismo tiempo que se presentó OSPF, ISO trabajaba en un protocolo de routing de estado de enlace propio, Intermediate System-to-Intermediate System (IS-IS). El IETF eligió OSPF como protocolo de gateway interior (IGP) recomendado.
En 1998, se actualizó la especificación OSPFv2 en RFC 2328, que en la actualidad sigue siendo la RFC para OSPF.
En 1999, OSPFv3 para IPv6 se publicó en RFC 2740. OSPF para IPv6, creado por John Moy, Rob Coltun y Dennis Ferguson, no solo es una nueva implementación de protocolo para IPv6, sino también una importante reforma del funcionamiento del protocolo.
En 2008, se actualizó OSPFv3 en RFC 5340 como OSPF para IPv6




1. Armado de la maqueta



2. Verificar conectividad con PING desde el Router hacia PC y Router vecinos


3.Habilite OSPF de área 0
R2(config)#router ospf 10

R2(config-router)#network 200.210.221.0 0.0.0.255 area 0

R2(config-router)#network 200.210.222.128 0.0.0.3 area 0

R2(config-router)#network 200.210.222.132 0.0.0.3 area 0
R2(config-router)#end


4. Verificar el anuncio de redes con "show ip route"
Router#show 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
   i - IS-IS, su - IS-IS summary, 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, H - NHRP, l - LISP
   a - application route
   + - replicated route, % - next hop override

Gateway of last resort is not set

O 200.210.220.0/24 [110/129] via 200.210.222.133, 00:03:13, Serial0/0/1
O 200.210.221.0/24 [110/65] via 200.210.222.133, 00:09:23, Serial0/0/1
  200.210.222.0/24 is variably subnetted, 5 subnets, 3 masks
C     200.210.222.0/25 is directly connected, GigabitEthernet0/1
L     200.210.222.1/32 is directly connected, GigabitEthernet0/1
O     200.210.222.128/30
       [110/128] via 200.210.222.133, 00:03:23, Serial0/0/1
C     200.210.222.132/30 is directly connected, Serial0/0/1
L     200.210.222.134/32 is directly connected, Serial0/0/1
Router#
5.Conteste las siguientes preguntas:  

-¿Cuantas redes aparecen en la tabla de enrutamiento?

3
-¿Cuantas deberían de aparecer?
3

6.Verifique estatus de OSPF

-show ip ospf
Router#show ip ospf
Routing Process "ospf 1" with ID 200.210.222.1
Start time: 00:07:32.828, Time elapsed: 00:35:42.156
Supports only single TOS(TOS0) routes
Supports opaque LSA
Supports Link-local Signaling (LLS)
Supports area transit capability
Supports NSSA (compatible with RFC 3101)
Event-log enabled, Maximum number of events: 1000, Mode: cyclic
Router is not originating router-LSAs with maximum metric
Initial SPF schedule delay 5000 msecs
Minimum hold time between two consecutive SPFs 10000 msecs
Maximum wait time between two consecutive SPFs 10000 msecs
Incremental-SPF disabled
Minimum LSA interval 5 secs
Minimum LSA arrival 1000 msecs
LSA group pacing timer 240 secs
Interface flood pacing timer 33 msecs
Retransmission pacing timer 66 msecs
Number of external LSA 0. Checksum Sum 0x000000
Number of opaque AS LSA 0. Checksum Sum 0x000000
Number of DCbitless external and opaque AS LSA 0
Number of DoNotAge external and opaque AS LSA 0
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
--More--      Number of areas transit capable is 0
External flood list length 0
IETF NSF helper support enabled
Cisco NSF helper support enabled
Reference bandwidth unit is 100 mbps
Area BACKBONE(0) (Inactive)
    Number of interfaces in this area is 2
   Area has no authentication
   SPF algorithm last executed 00:00:26.424 ago
   SPF algorithm executed 2 times
   Area ranges are
   Number of LSA 1. Checksum Sum 0x0074CA
   Number of opaque link LSA 0. Checksum Sum 0x000000
   Number of DCbitless LSA 0
   Number of indication LSA 0
   Number of DoNotAge LSA 0
   Flood list length 0

-show ip ospf neighbor  
Router#show ip ospf neighbor        interface
GigabitEthernet0/1 is up, line protocol is up
 Internet Address 200.210.222.1/25, Area 0, Attached via Network Statement
 Process ID 1, Router ID 200.210.222.1, Network Type BROADCAST, Cost: 1
 Topology-MTID Cost Disabled Shutdown   Topology Name
    0        1      no       no         Base
 Transmit Delay is 1 sec, State DR, Priority 1
 Designated Router (ID) 200.210.222.1, Interface address 200.210.222.1
 No backup designated router on this network
 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
oob-resync timeout 40
Hello due in 00:00:02
 Supports Link-local Signaling (LLS)
 Cisco NSF helper support enabled
 IETF NSF helper support enabled
 Index 2/2, flood queue length 0
 Next 0x0(0)/0x0(0)
 Last flood scan length is 0, maximum is 0
 Last flood scan time is 0 msec, maximum is 0 msec
 Neighbor Count is 0, Adjacent neighbor count is 0
 Suppress hello for 0 neighbor(s)
Serial0/0/1 is up, line protocol is up
 Internet Address 200.210.222.134/30, Area 0, Attached via Network Statement
 Process ID 1, Router ID 200.210.222.1, Network Type POINT_TO_POINT, Cost: 64
--More--       Topology-MTID Cost Disabled Shutdown   Topology Name
--More--          0        64     no       no         Base
--More--       Transmit Delay is 1 sec, State POINT_TO_POINT
--More--       Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
--More--      oob-resync timeout 40
--More--      Hello due in 00:00:01
--More--       Supports Link-local Signaling (LLS)
--More--       Cisco NSF helper support enabled
--More--       IETF NSF helper support enabled
--More--       Index 1/1, flood queue length 0
--More--       Next 0x0(0)/0x0(0)
--More--       Last flood scan length is 1, maximum is 1
--More--       Last flood scan time is 0 msec, maximum is 0 msec
--More--       Neighbor Count is 1, Adjacent neighbor count is 1
--More--      Adjacent with neighbor 200.210.222.133
--More--       Suppress hello for 0 neighbor(s)
Router#

-show ip ospf interface
Router#show ip ospf interface         database rpo  outer

        OSPF Router with ID (200.210.222.1) (Process ID 1)

   Router Link States (Area 0)

 LS age: 621
 Options: (No TOS-capability, DC)
 LS Type: Router Links
 Link State ID: 200.210.222.1
 Advertising Router: 200.210.222.1
 LS Seq Number: 8000000B
 Checksum: 0x2A70
 Length: 60
 Number of Links: 3

Link connected to: a Stub Network
(Link ID) Network/subnet number: 200.210.222.0
(Link Data) Network Mask: 255.255.255.128
  Number of MTID metrics: 0
   TOS 0 Metrics: 1

Link connected to: another Router (point-to-point)
(Link ID) Neighboring Router ID: 200.210.222.133
--More--      (Link Data) Router Interface address: 200.210.222.134
--More--        Number of MTID metrics: 0
--More--         TOS 0 Metrics: 64
--More--     
Link connected to: a Stub Network
(Link ID) Network/subnet number: 200.210.222.132
(Link Data) Network Mask: 255.255.255.252
  Number of MTID metrics: 0
   TOS 0 Metrics: 64

 LS age: 439
 Options: (No TOS-capability, DC)
 LS Type: Router Links
 Link State ID: 200.210.222.129
 Advertising Router: 200.210.222.129
 LS Seq Number: 80000002
 Checksum: 0x1618
 Length: 60
 Number of Links: 3

Link connected to: another Router (point-to-point)
(Link ID) Neighboring Router ID: 200.210.222.133
(Link Data) Router Interface address: 200.210.222.129
  Number of MTID metrics: 0
   TOS 0 Metrics: 64
--More--     
Link connected to: a Stub Network
(Link ID) Network/subnet number: 200.210.222.128
(Link Data) Network Mask: 255.255.255.252
  Number of MTID metrics: 0
   TOS 0 Metrics: 64

Link connected to: a Stub Network
(Link ID) Network/subnet number: 200.210.220.0
(Link Data) Network Mask: 255.255.255.0
  Number of MTID metrics: 0
   TOS 0 Metrics: 1

 LS age: 439
 Options: (No TOS-capability, DC)
 LS Type: Router Links
 Link State ID: 200.210.222.133
 Advertising Router: 200.210.222.133
 LS Seq Number: 8000000A
 Checksum: 0xD732
 Length: 84
 Number of Links: 5
--More--     
--More--      Link connected to: a Stub Network
--More--      (Link ID) Network/subnet number: 200.210.221.0
(Link Data) Network Mask: 255.255.255.0
  Number of MTID metrics: 0
   TOS 0 Metrics: 1

Link connected to: another Router (point-to-point)
(Link ID) Neighboring Router ID: 200.210.222.1
(Link Data) Router Interface address: 200.210.222.133
  Number of MTID metrics: 0
   TOS 0 Metrics: 64

Link connected to: a Stub Network
(Link ID) Network/subnet number: 200.210.222.132
(Link Data) Network Mask: 255.255.255.252
  Number of MTID metrics: 0
   TOS 0 Metrics: 64

Link connected to: another Router (point-to-point)
(Link ID) Neighboring Router ID: 200.210.222.129
(Link Data) Router Interface address: 200.210.222.130
  Number of MTID metrics: 0
   TOS 0 Metrics: 64

--More--      Link connected to: a Stub Network
--More--      (Link ID) Network/subnet number: 200.210.222.128
--More--      (Link Data) Network Mask: 255.255.255.252
  Number of MTID metrics: 0
   TOS 0 Metrics: 64

Router#

7. Documente
-Las direcciones de los neighbors
200.210.222.134
200.210.222.129

-Identifique el Designated Router  
200.210.222.133

-Anote cuál es la distancia administrativa de OSPF

Distancia administrativa= 110

No hay comentarios.:

Publicar un comentario