Documente Academic
Documente Profesional
Documente Cultură
REDES DE COMPUTADORA I.
Laboratorio 2
Objetivos:
Desarrollo:
Para nuestro diseño empezamos definiendo las direcciones de red para cada router, 1 router por
sede, los router van a tener una conexión serial:
Tabla de direccionamiento
Router Cuenca
Cuenca>enable
Cuenca#conFigure TERminal
Enter configuration commands, one per line. End with CNTL/Z.
Cuenca(config)#interface serial 0/3/1
Cuenca(config-if)#ip address 10.0.0.25 255.255.255.252
Cuenca(config-if)#no shutdown
Cuenca(config-if)#exit
Cuenca(config)#interface serial 0/1/0
Cuenca(config-if)#ip address 10.0.0.29 255.255.255.252
Cuenca(config-if)#no shutdown
Cuenca(config-if)#exit
Cuenca(config)#interface serial 0/2/1
Cuenca(config-if)#ip address 10.0.0.5 255.255.255.252
Cuenca(config-if)#no shutdown
Cuenca(config-if)#exit
Cuenca(config)#interface serial 0/2/0
Cuenca(config-if)#ip address 10.0.0.2 255.255.255.252
Cuenca(config-if)#no shutdown
Cuenca(config-if)#exit
Cuenca(config)#interface serial 0/3/0
Cuenca(config-if)#ip address 10.0.0.21 255.255.255.252
Cuenca(config-if)#no shutdown
Cuenca(config-if)#exit
Cuenca(config)#exit
Cuenca#
Cuenca#conf
Cuenca#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Cuenca(config)#router rip
Cuenca(config-router)#version 2
Cuenca(config-router)#no auto-summary
Cuenca(config-router)#network 10.0.0.20
Cuenca(config-router)#network 10.0.0.24
Cuenca(config-router)#network 10.0.0.28
Cuenca(config-router)#network 10.0.0.4
Cuenca(config-router)#network 10.0.0.0
Cuenca(config-router)#exit
Cuenca(config)#exit
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname rectorado
rectorado(config)#interface serial 0/2/0
rectorado(config-if)#ip address 10.0.0.22 255.255.255.252
rectorado(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/2/0, changed state to up
rectorado(config-if)#exit
rectorado>enable
rectorado#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
rectorado(config)#router rip
rectorado(config-router)#version 2
rectorado(config-router)#no auto-summary
rectorado(config-router)#network 10.0.0.20
rectorado(config-router)#exit
rectorado(config)#
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Idiomas
Idiomas(config)#interface serial 0/2/0
Idiomas(config-if)#ip address 10.0.0.26 255.255.255.252
Idiomas(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/2/0, changed state to up
Idiomas(config-if)#exit
Idiomas(config)#
Idiomas(config)#router rip
Idiomas(config-router)#version 2
Idiomas(config-router)#no auto-summary
Idiomas(config-router)#network 10.0.0.24
Idiomas(config-router)#exit
Idiomas(config)#
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Labo
Labo(config)#interface serial 0/2/0
Labo(config-if)#ip address 10.0.0.30 255.255.255.252
Labo(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/2/0, changed state to up
Labo(config-if)#exit
Labo(config)#
Labo(config)#router rip
Labo(config-router)#version 2
Labo(config-router)#no auto-summary
Labo(config-router)#network 10.0.0.28
Labo(config-router)#exit
Router Quito
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Quito
Quito(config)#interface serial 0/2/0
Quito(config-if)#ip address 10.0.0.1 255.255.255.252
Quito(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/2/0, changed state to up
Quito(config-if)#exit
Quito(config)#router rip
Quito(config-router)#version 2
Quito(config-router)#no auto-summary
Quito(config-router)#network 10.0.0.0
Quito(config-router)#network 10.0.0.16
Quito(config-router)#network 10.0.0.12
Quito(config-router)#network 10.0.0.8
Quito(config-router)#exit
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface serial 0/2/0
Router(config-if)#ip address 10.0.0.18 255.255.255.252
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/2/0, changed state to up
Router(config-if)#exit
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 172.16.0.1 255.255.255.128
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Vicerrectorado
Vicerrectorado(config)#router rip
Vicerrectorado(config-router)#version 2
Vicerrectorado(config-router)#no auto-summary
Vicerrectorado(config-router)#network 10.0.0.16
Vicerrectorado(config-router)#network 172.16.0.0
Vicerrectorado(config-router)#
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Sur
Sur(config)#interface serial 0/2/0
Sur(config-if)#ip address 10.0.0.14 255.255.255.252
Sur(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/2/0, changed state to up
Sur(config-if)#exit
Sur(config-if)#exit
Sur(config)#
Sur(config)#router rip
Sur(config-router)#version 2
Sur(config-router)#no auto-summary
Sur(config-router)#network 10.0.0.12
Sur(config-router)#network 172.16.0.128
Sur(config-router)#exit
Sur(config)#
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Kennedy
Kennedy(config)#interface serial 0/2/0
Kennedy(config-if)#ip address 10.0.0.10 255.255.255.252
Kennedy(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/2/0, changed state to up
Kennedy(config-if)#exit
Kennedy>enable
Kennedy#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Kennedy(config)#router rip
Kennedy(config-router)#version 2
Kennedy(config-router)#no auto-summary
Kennedy(config-router)#network 10.0.0.8
Kennedy(config-router)#network 172.16.0.192
Kennedy(config-router)#exit
Kennedy(config)#
Route Guayaquil
Router>enable
Router#configure ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Guayaquil
Guayaquil(config)#interface serial 0/2/0
Guayaquil(config-if)#ip address 10.0.0.6 255.255.255.252
Guayaquil(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/2/0, changed state to up
Guayaquil(config-if)#exit
Router>enable
Router#configure ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Sistemas
Sistemas(config)#interface serial 0/2/0
Sistemas(config-if)#ip address 10.0.0.34 255.255.255.252
Sistemas(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/2/0, changed state to up
Sistemas(config-if)#exit
Sistemas(config)#
Sistemas(config)#router rip
Sistemas(config-router)#version 2
Sistemas(config-router)#no auto-summary
Sistemas(config-router)#network 10.0.0.32
Sistemas(config-router)#network 172.16.3.0
Sistemas(config-router)#exit
Sistemas(config)#
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Electro
Electro(config)#interface serial 0/2/0
Electro(config-if)#ip address 10.0.0.38 255.255.255.252
Electro(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/2/0, changed state to up
Electro(config-if)#exit
Electro(config)#
Electro(config)#router rip
Electro(config-router)#version 2
Electro(config-router)#no auto-summary
Electro(config-router)#network 10.0.0.36
Electro(config-router)#network 172.16.3.64
Electro(config-router)#exit
Electro(config)#
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface serial 0/2/0
Router(config-if)#ip address 10.0.0.42 255.255.255.252
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/2/0, changed state to up
Router(config-if)#exit
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Administracion
Administracion(config)#router rip
Administracion(config-router)#version 2
Administracion(config-router)#no auto-summary
Administracion(config-router)#network 10.0.0.40
Administracion(config-router)#network 172.16.3.128
Administracion(config-router)#exit
Administracion(config)#
Contabilidad(config)#router rip
Contabilidad(config-router)#version 2
Contabilidad(config-router)#no auto-summary
Contabilidad(config-router)#network 10.0.0.44
Contabilidad(config-router)#network 172.16.3.192
Contabilidad(config-router)#exit
Contabilidad(config)#
Configuración de las PCs router Guayaquil
Figura 3
Utilizamos el comando show ip interface brief el cual nos mostrara información de las interfaces a
nivel IP, el Status y el Protocolo tienen que estar en up como lo indica la figura 3.
Router Cuenca
Cuenca>enable
Cuenca#show ip interface brief
Router Cuenca-rectorado
rectorado#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
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
Router Cuenca-Idiomas
Idiomas#show ip interface
FastEthernet0/0 is administratively down, line protocol is down
(disabled)
Internet protocol processing disabled
Idiomas#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
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
Labo>enable
Labo#show ip interface brief
Interface IP-Address OK? Method Status
Protocol
Labo#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
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
Router Quito
Router Guayaquil
Guayaquil>enable
Guayaquil#show ip interface brief
Utilizamos el comando show ip route el cual nos mostrara información de los enrutamientos de
cada routers.
Router Quito
Quito>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
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
Router Cuenca
Cuenca#show ip route
Guayaquil#show ip route
Conclusiones:
El uso del subneteo es de gran importancia debido a que no se desperdician direcciones IP, se
pasan de classfull a clases, además para un diseño eficiente se debe tener en cuenta el lugar en
donde se va a implementar nuestro diseño de subredes, si va a tener crecimiento en un corto
plazo de más computadores, para poder prevenir en el momento de diseñar.
El uso del software Cisco Paquet Tracer a servido de gran ayuda, ya que nos brinda la facilidad de
comprobar de manera virtual la programación de los router, asemejándose a los router reales.