Sei sulla pagina 1di 13

INSTITUTO TECNOLOGICO SUPERIOR DE PUERTO VALLARTA

Practica OSPF
Switches
Nstor Daniel Vargas Urea 07/09/2011

Problema
RED: 172.8.0.0/16 para 8 Subredes de Max. 100 host disponibles. (Docentes, Direccin y Administracin)
Red1: 20 host disponibles Red2: 50 host disponibles Red3: 10 host disponibles Red4: 100 host disponibles Red5: 2 host disponibles Red6: 2 host disponibles Red7: 2 host disponibles Red8: 2 host disponibles

Subneteo 1
Mascara: 172.8.0.0/25 (510 subredes con 126 host disponibles) Nm. de red 0 1[Red1] 2[Red2] 3[Red3] 4[Red4] 5[Subneteo2] Direccin IP 172.8.0.0 172.8.0.128 172.8.1.0 172.8.1.128 172.8.2.0 172.8.2.128 Host Disponibles 172.8.0.1 - 172.8.0.126 172.8.0.129 - 172.8.0.254 172.8.1.1 - 172.8.1.126 172.8.1.129 - 172.8.1.254 172.8.2.1 - 172.8.2.126 172.8.2.129 - 172.8.2.254 Dir. Broadcast 172.8.0.127 172.8.0.255 172.8.1.127 172.8.1.255 172.8.2.127 172.8.2.255

Subneteo 2
Mascara 172.8.0.0/30 (30 subredes con 2 host disponibles) Nm. de red 0 1[Red5] 2[Red6] 3[Red7] 4[Red8] .. Direccin IP 172.8.2.128 172.8.2.132 172.8.2.136 172.8.2.140 172.8.2.144 Host Disponibles 172.8.2.129 - 172.8.2.130 172.8.2.133 - 172.8.2.134 172.8.2.137 - 172.8.2.138 172.8.2.141 - 172.8.2.142 172.8.2.145 - 172.8.2.146 Dir. Broadcast 172.8.2.131 172.8.2.135 172.8.2.139 172.8.2.143 172.8.2.147

RED: 192.168.3.0/24 para 2 subredes de Max. 30 host. (Estudiantes)


Subneteo 1
Mascara 192.168.3.0/27 Nm. de red 0 1[Red9] 2[Red10] .. Direccin IP 192.168.3.0 192.168.3.32 192.168.3.64 Host Disponibles 192.168.3.1 - 192.168.3.30 192.168.3.33 - 192.168.3.62 192.168.3.65 - 192.168.3.94 Dir. Broadcast 192.168.3.31 192.168.3.63 192.168.3.95

Tabla de direccionamiento
Dispositivo DOCENTES Interfaz Direccin ip 172.8.2.133 172.8.2.137 172.8.2.1 172.8.2.141 172.8.2.138 172.8.1.129 172.8.2.142 172.8.2.145 172.8.0.129 172.8.1.1 172.8.2.134 172.8.2.146 192.168.3.33 192.168.3.65 192.168.3.62 192.168.3.94 172.8.0.254 172.8.1.126 172.8.1.254 172.8.2.126 Mascara de subred 255.255.255.252 255.255.255.252 255.255.255.128 255.255.255.252 255.255.255.252 255.255.255.128 255.255.255.252 255.255.255.252 255.255.255.128 255.255.255.128 255.255.255.252 255.255.255.252 255.255.255.224 255.255.255.224 255.255.255.224 255.255.255.224 255.255.255.128 255.255.255.128 255.255.255.128 255.255.255.128 Gateway predeterminado N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A 192.168.3.33 192.168.3.65 172.8.0.129 172.8.1.1 172.8.1.129 172.8.2.1

S0/0/0cl S0/0/1 Fa0/0 DIRECCION S0/0/0 S0/0/1cl Fa0/0 ADMINISTRACION S0/0/0cl S0/0/1 Fa0/0 Fa0/1 ESTUDIANTES S0/0/0 S0/0/1cl Fa0/0 Fa0/1 PC0 FastEth PC1 FastEth PC2 FastEth PC3 FastEth PC4 FastEth PC5 FastEth

Configuraciones
Comandos Router>en Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname DOCENTES DOCENTES(config)#int s0/0/0

DOCENTES(config-if)#ip add 172.8.2.133 255.255.255.252 DOCENTES(config-if)#clock rate 64000 DOCENTES(config-if)#n sh %LINK-5-CHANGED: Interface Serial0/0/0, changed state to down DOCENTES(config-if)#int fa0/0 DOCENTES(config-if)#ip add 172.8.2.1 255.255.255.128 DOCENTES(config-if)#n sh %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up DOCENTES(config-if)#int s0/0/1 DOCENTES(config-if)#ip add 172.8.2.137 255.255.255.252 DOCENTES(config-if)#n sh %LINK-5-CHANGED: Interface Serial0/0/1, changed state to down DOCENTES(config-if)#end %SYS-5-CONFIG_I: Configured from console by console DOCENTES# %LINK-5-CHANGED: Interface Serial0/0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up %LINK-5-CHANGED: Interface Serial0/0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up DOCENTES#config t Enter configuration commands, one per line. End with CNTL/Z. DOCENTES(config)#router ospf 1 DOCENTES(config-router)#network 172.8.2.132 0.0.0.3 area 0 DOCENTES(config-router)#network 172.8.2.136 0.0.0.3 area 0 DOCENTES(config-router)#network 172.8.2.0 0.0.0.127 area 0 DOCENTES(config-router)#end %SYS-5-CONFIG_I: Configured from console by console DOCENTES# 01:03:47: %OSPF-5-ADJCHG: Process 1, Nbr 172.8.2.141 on Serial0/0/1 from LOADING to FULL, Loading Done 01:08:53: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.3.65 on Serial0/0/0 from LOADING to FULL, Loading Done DOCENTES>en DOCENTES#show ip protocols

Routing Protocol is "ospf 1" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Router ID 172.8.2.137 Number of areas in this router is 1. 1 normal 0 stub 0 nssa Maximum path: 4 Routing for Networks: 172.8.2.132 0.0.0.3 area 0 172.8.2.136 0.0.0.3 area 0 172.8.2.0 0.0.0.127 area 0 Routing Information Sources: Gateway Distance Last Update 172.8.2.137 110 00:07:38 172.8.2.141 110 00:09:57 172.8.2.145 110 00:07:25 192.168.3.65 110 00:06:27 Distance: (default is 110) DOCENTES#show ip ospf Routing Process "ospf 1" with ID 172.8.2.137 Supports only single TOS(TOS0) routes Supports opaque LSA SPF schedule delay 5 secs, Hold time between two SPFs 10 secs Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs 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 External flood list length 0 Area BACKBONE(0) Number of interfaces in this area is 3 Area has no authentication SPF algorithm executed 17 times Area ranges are Number of LSA 4. Checksum Sum 0x029bc3 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 Router>en Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname DIRECCION DIRECCION(config)#int s0/0/0 DIRECCION(config-if)#ip add 172.8.2.141 255.255.255.252

DIRECCION(config-if)#n sh %LINK-5-CHANGED: Interface Serial0/0/0, changed state to down DIRECCION(config-if)#int s0/0/1 DIRECCION(config-if)#ip add 172.8.2.138 255.255.255.252 DIRECCION(config-if)#clock rate 64000 DIRECCION(config-if)#n sh %LINK-5-CHANGED: Interface Serial0/0/1, changed state to up DIRECCION(config-if)#int fa0/0 DIRECCION(config-if)#ip ad %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up DIRECCION(config-if)#ip add 172.8.1.129 255.255.255.128 DIRECCION(config-if)#n sh %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up DIRECCION(config-if)# %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up end %SYS-5-CONFIG_I: Configured from console by console DIRECCION# %LINK-5-CHANGED: Interface Serial0/0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up

DIRECCION>en DIRECCION#config t Enter configuration commands, one per line. End with CNTL/Z. DIRECCION(config)#router ospf 1 DIRECCION(config-router)#network 172.8.2.136 0.0.0.3 area 0 DIRECCION(config-router)# 01:03:47: %OSPF-5-ADJCHG: Process 1, Nbr 172.8.2.137 on Serial0/0/1 from LOADING to FULL, Loading Done DIRECCION(config-router)#network 172.8.2.140 0.0.0.3 area 0 DIRECCION(config-router)#network 172.8.1.128 0.0.0.127 area0 ^ % Invalid input detected at '^' marker. DIRECCION(config-router)#network 172.8.1.128 0.0.0.127 area 0 DIRECCION(config-router)#end DIRECCION# %SYS-5-CONFIG_I: Configured from console by console 01:06:34: %OSPF-5-ADJCHG: Process 1, Nbr 172.8.2.145 on Serial0/0/0 from LOADING to FULL,

Loading Done DIRECCION>en DIRECCION#show ip protocols Routing Protocol is "ospf 1" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Router ID 172.8.2.141 Number of areas in this router is 1. 1 normal 0 stub 0 nssa Maximum path: 4 Routing for Networks: 172.8.2.136 0.0.0.3 area 0 172.8.2.140 0.0.0.3 area 0 172.8.1.128 0.0.0.127 area 0 Routing Information Sources: Gateway Distance Last Update 172.8.2.137 110 00:08:04 172.8.2.141 110 00:10:23 172.8.2.145 110 00:07:51 192.168.3.65 110 00:06:54 Distance: (default is 110) DIRECCION#show ip ospf Routing Process "ospf 1" with ID 172.8.2.141 Supports only single TOS(TOS0) routes Supports opaque LSA SPF schedule delay 5 secs, Hold time between two SPFs 10 secs Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs 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 External flood list length 0 Area BACKBONE(0) Number of interfaces in this area is 3 Area has no authentication SPF algorithm executed 13 times Area ranges are Number of LSA 4. Checksum Sum 0x029bc3 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 DIRECCION#

Router>en Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname ADMINISTRACION ADMINISTRACION(config)#int s0/0/0 ADMINISTRACION(config-if)#ip add 172.8.2.142 255.255.255.252 ADMINISTRACION(config-if)#clock rate 64000 ADMINISTRACION(config-if)#n sh %LINK-5-CHANGED: Interface Serial0/0/0, changed state to up ADMINISTRACION(config-if)#int s0/0/1 ADMINISTRACION(config-if)#clock rate 64000 %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up ADMINISTRACION(config-if)#ip add 172.8.2.145 255.255.255.252 ADMINISTRACION(config-if)#n sh %LINK-5-CHANGED: Interface Serial0/0/1, changed state to down ADMINISTRACION(config-if)#int fa0/0 ADMINISTRACION(config-if)#ip add 172.8.0.129 255.255.255.128 ADMINISTRACION(config-if)#n sh ADMINISTRACION(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up ADMINISTRACION(config-if)#int fa0/1 ADMINISTRACION(config-if)#ip add 172.8.1.1 255.255.255.128 ADMINISTRACION(config-if)#n sh ADMINISTRACION(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up end %SYS-5-CONFIG_I: Configured from console by console ADMINISTRACION# %LINK-5-CHANGED: Interface Serial0/0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up ADMINISTRACION>en ADMINISTRACION#config t Enter configuration commands, one per line. End with CNTL/Z. ADMINISTRACION(config)#router ospf 1 ADMINISTRACION(config-router)#network 127.8.2.140 0.0.0.3 % Incomplete command. ADMINISTRACION(config-router)#network 127.8.2.140 0.0.0.3 area 0

ADMINISTRACION(config-router)#exit ADMINISTRACION(config)#no router % Incomplete command. ADMINISTRACION(config)#no router ospf 1 ADMINISTRACION(config)#router ospf 1 ADMINISTRACION(config-router)#network 172.8.2.140 0.0.0.3 area 0 ADMINISTRACION(config-router)# 01:06:34: %OSPF-5-ADJCHG: Process 1, Nbr 172.8.2.141 on Serial0/0/0 from LOADING to FULL, Loading Done ADMINISTRACION(config-router)#network 172.8.2.144 0.0.0.3 area 0 ADMINISTRACION(config-router)#network 172.8.0.128 0.0.0.127 area 0 ADMINISTRACION(config-router)#network 172.8.1.0 0.0.0.127 area 0 ADMINISTRACION(config-router)#end %SYS-5-CONFIG_I: Configured from console by console ADMINISTRACION# 01:09:07: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.3.65 on Serial0/0/1 from LOADING to FULL, Loading Done ADMINISTRACION#show ip protocols Routing Protocol is "ospf 1" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Router ID 172.8.2.145 Number of areas in this router is 1. 1 normal 0 stub 0 nssa Maximum path: 4 Routing for Networks: 172.8.2.140 0.0.0.3 area 0 172.8.2.144 0.0.0.3 area 0 172.8.0.128 0.0.0.127 area 0 172.8.1.0 0.0.0.127 area 0 Routing Information Sources: Gateway Distance Last Update 172.8.2.137 110 00:08:30 172.8.2.141 110 00:10:49 172.8.2.145 110 00:08:17 192.168.3.65 110 00:07:19 Distance: (default is 110) ADMINISTRACION#show ip ospf Routing Process "ospf 1" with ID 172.8.2.145 Supports only single TOS(TOS0) routes Supports opaque LSA SPF schedule delay 5 secs, Hold time between two SPFs 10 secs Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs 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 External flood list length 0 Area BACKBONE(0) Number of interfaces in this area is 4 Area has no authentication SPF algorithm executed 8 times Area ranges are Number of LSA 4. Checksum Sum 0x029bc3 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 ADMINISTRACION# Router>en Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname ESTUDIANTES ESTUDIANTES(config)#int s0/0/0 ESTUDIANTES(config-if)#ip add 172.8.2.134 255.255.255.252 ESTUDIANTES(config-if)#n sh ESTUDIANTES(config-if)# %LINK-5-CHANGED: Interface Serial0/0/0, changed state to up ESTUDIANTES(config-if)#int s0/0/1 %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up ESTUDIANTES(config-if)#ip add 172.8.2.146 255.255.255.252 ESTUDIANTES(config-if)#clock rate 64000 ESTUDIANTES(config-if)#n sh ESTUDIANTES(config-if)# %LINK-5-CHANGED: Interface Serial0/0/1, changed state to up ESTUDIANTES(config-if)#fa0/0 %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up ESTUDIANTES(config-if)#int fa0/0 ESTUDIANTES(config-if)#ip add 192.168.3.33 255.255.255.224 ESTUDIANTES(config-if)#n sh %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up ESTUDIANTES(config-if)#int fa0/1 ESTUDIANTES(config-if)#ip add 192.168.3.65 255.255.255.224

ESTUDIANTES(config-if)#n sh ESTUDIANTES(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up end %SYS-5-CONFIG_I: Configured from console by console ESTUDIANTES# ESTUDIANTES>en ESTUDIANTES#config t Enter configuration commands, one per line. End with CNTL/Z. ESTUDIANTES(config)#router ospf 1 ESTUDIANTES(config-router)#network 172.8.2.132 0.0.0.3 area 0 ESTUDIANTES(config-router)# 01:08:53: %OSPF-5-ADJCHG: Process 1, Nbr 172.8.2.137 on Serial0/0/0 from LOADING to FULL, Loading Done ESTUDIANTES(config-router)#network 172.8.2.144 0.0.0.3 area 0 ESTUDIANTES(config-router)# 01:09:07: %OSPF-5-ADJCHG: Process 1, Nbr 172.8.2.145 on Serial0/0/1 from LOADING to FULL, Loading Done ESTUDIANTES(config-router)#network 192.168.3.32 0.0.0.31 area 0 ESTUDIANTES(config-router)#network 192.168.3.64 0.0.0.31 area 0 ESTUDIANTES(config-router)#end ESTUDIANTES# %SYS-5-CONFIG_I: Configured from console by console ESTUDIANTES#show ip protocols Routing Protocol is "ospf 1" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Router ID 192.168.3.65 Number of areas in this router is 1. 1 normal 0 stub 0 nssa Maximum path: 4 Routing for Networks: 172.8.2.132 0.0.0.3 area 0 172.8.2.144 0.0.0.3 area 0 192.168.3.32 0.0.0.31 area 0 192.168.3.64 0.0.0.31 area 0 Routing Information Sources: Gateway Distance Last Update 172.8.2.137 110 00:08:45 172.8.2.141 110 00:11:04 172.8.2.145 110 00:08:32 192.168.3.65 110 00:07:35 Distance: (default is 110)

ESTUDIANTES#show ip ospf Routing Process "ospf 1" with ID 192.168.3.65 Supports only single TOS(TOS0) routes Supports opaque LSA SPF schedule delay 5 secs, Hold time between two SPFs 10 secs Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs 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 External flood list length 0 Area BACKBONE(0) Number of interfaces in this area is 4 Area has no authentication SPF algorithm executed 4 times Area ranges are Number of LSA 4. Checksum Sum 0x029bc3 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

Topologa

PINGs

Potrebbero piacerti anche