Laboratorio de enrutamiento OSPF con enlaces PPP:

 

Clase de CCNA 4 del 2 de Mayo del 2009, academia Cisco, Rosario

Instructor: Ernesto Vilarrasa

 

Escenario/ Topología:

 

            Este escenario es el propuesto por el capítulo 5 de Exploration 2, sección 5.4.1,

con la variante a OSPF y enlaces WAN con protocolo PPP adaptado a CCNA 4.

 

Diagrma original

 

 

Diagrama en pizarrón

 

           

 

Diagrama en Packet Tracer ( layout decente )

 

           

 

Desarrollo:

 

Se configuraron dos routers Cisco 1800 como Cordoba y BsAs, un router 2501 como Rosario.

 

Entre Rosario y BsAs se configuraron S1 y S0/0/0 y Rosario y Cordoba las S0 y S0/0/0

 

  

 

   Las interfaces locales se configuraron en Eth0 (2501) y Fa0/0 (1800)

 

Rosario:

 

Rosario#sh run

!

hostname Rosario

!

username Cordoba password 0 cisco

username BSAS password 0 cisco

!

interface Ethernet0

 ip address 172.30.3.1 255.255.255.0

 no ip directed-broadcast

!

interface Serial0

 ip address 172.30.2.2 255.255.255.252

 encapsulation ppp

 ppp authentication chap

!

interface Serial1

 ip address 192.168.4.9 255.255.255.252

 encapsulation ppp

 ppp authentication chap

!

router ospf 100

 log-adjacency-changes

 network 172.30.2.0 0.0.0.3 area 0

 network 172.30.3.0 0.0.0.255 area 0

 network 192.168.4.8 0.0.0.3 area 0

!

 

Sucursal BsAs:

 

BSAS#sh run

!

hostname BSAS

!

username Cordoba password 0 cisco

username Rosario password 0 cisco

!

interface FastEthernet0/0

 ip address 192.168.5.1 255.255.255.0

!

interface Serial0/0/0

 ip address 192.168.4.10 255.255.255.0

 encapsulation ppp

 ppp authentication chap

 clockrate 64000

!

router ospf 100

 log-adjacency-changes

 network 192.168.4.8 0.0.0.3 area 0

 network 192.168.5.0 0.0.0.255 area 0

!

 

Sucursal Cordoba:

 

cordoba#sh run

Building configuration...

!

hostname cordoba

!

username BSAS password 0 cisco

username Rosario password 0 cisco

!

interface FastEthernet0/0

 ip address 172.30.1.1 255.255.255.0

!

interface Serial0/0/0

 ip address 172.30.2.1 255.255.255.252

 encapsulation ppp

 ppp authentication chap

 clockrate 64000

!

interface Loopback1

 ip address 99.99.99.99 255.255.255.0

!

router ospf 100

 log-adjacency-changes

 network 172.30.2.0 0.0.0.3 area 0

 network 172.30.3.0 0.0.0.255 area 0

 network 192.168.4.8 0.0.0.3 area 0

!

 

Verificación:

 

Cordoba#sh ip route

...

Gateway of last resort is not set

 

     99.0.0.0/24 is subnetted, 1 subnets

C       99.99.99.0 is directly connected, Loopback1

     172.30.0.0/16 is variably subnetted, 5 subnets, 3 masks

C       172.30.2.0/30 is directly connected, Serial0

O       172.30.2.0/30 [110/1562] via 172.30.2.2, 00:18:17, Serial0

O       172.30.3.0/24 [110/782] via 172.30.2.2, 00:18:17, Serial0

C       172.30.2.2/32 is directly connected, Serial0

C       172.30.1.0/24 is directly connected, FastEthernet0

     192.168.4.0/30 is subnetted, 1 subnets

O       192.168.4.8 [110/1562] via 172.30.2.2, 00:18:17, Serial0
O    192.168.5.0/24 [110/1563] via 172.30.2.2, 00:18:17, Serial0

Cordoba#

 

Rosario#sh ip route

...

Gateway of last resort is not set

 

     172.30.0.0/16 is variably subnetted, 5 subnets, 3 masks

O       172.30.2.0/30 [110/1562] via 172.30.2.1, 00:17:50, Serial0/0/0

C       172.30.2.0/30 is directly connected, Serial0/0/0

C       172.30.3.0/24 is directly connected, FastEthernet0/0

C       172.30.2.1/32 is directly connected, Serial0/0/0

O       172.30.1.0/24 [110/782] via 172.30.2.1, 00:17:50, Serial0/0/0

     192.168.4.0/24 is variably subnetted, 2 subnets, 2 masks

C       192.168.4.8/30 is directly connected, Serial0/0/1

C       192.168.4.10/32 is directly connected, Serial0/0/1

O       192.168.5.0/24 [110/782] via 192.168.4.10, 00:17:50, Serial0/0/1

 

BUENOSAIRES#sh ip route

...

 

Gateway of last resort is not set

 

     172.30.0.0/16 is variably subnetted, 4 subnets, 2 masks

O       172.30.2.0/30 [110/2343] via 192.168.4.9, 00:17:10, Serial0

O       172.30.3.0/24 [110/782] via 192.168.4.9, 00:17:10, Serial0

O       172.30.1.0/24 [110/1563] via 192.168.4.9, 00:17:10, Serial0

     192.168.4.0/24 is variably subnetted, 2 subnets, 2 masks

C       192.168.4.8/30 is directly connected, Serial0

C       192.168.4.9/32 is directly connected, Serial0

C    192.168.5.0/24 is directly connected, FastEthernet0

BUENOSAIRES#

BUENOSAIRES#sh int s0/0/0

Serial0 is up, line protocol is up

  Hardware is PowerQUICC Serial

  Internet address is 192.168.4.10/30

  MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,

     reliability 255/255, txload 1/255, rxload 1/255

  Encapsulation PPP, LCP Open

  Open: CDPCP, IPCP, loopback not set

  Last input 00:00:00, output 00:00:00, output hang never

  Last clearing of "show inte...

 

Conclusión: Se observa que OSPF es un protocolo sin clase, o sea soporta VLSM, pero

no resumen de rutas ya que arma un mapa completo de la red.

PPP es utilizado con autenticación CHAP sin mayores complicaciones que el error de tipeo.

 

 

 

 

__________________________________________________________________

 

Ernesto Vilarrasa evilarrasa@centroit.org.ar www.vilarrasa.com.ar