Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Objetivos
Topologa de Red
Implementar en GNS3 la siguiente topologa de Red.
Switches: Equipo modelo 3640 equipado con una tarjetas ESW16 en el slot 0.
Versin de sistema operativo: c3640-is-mz[1].124-16.image
Router: Equipo modelo 7200 equipado segn se muestra en la siguiente figura.
Versin de sistema operativo: c7200-js-mz.122-11.T.image
A continuacin asignaremos las contraseas para el acceso por consola y para los accesos remotos al switch.
SW-1#configure terminal
Enter configuration commands, one per line.
Configuramos ahora la contrasea de acceso a modo de administracin (EXEC privilegiado) y luego encriptamos las
contraseas.
SW-1#configure terminal
Enter configuration commands, one per line.
Establezca el gateway predeterminado para el switch y la VLAN de administracin predeterminada como 192.168.1.1
SW-1(config)#ip default-gateway 192.168.10.1
SW-1(config)#exit
SW-1#
Compruebe ahora la configuracin y el estado de la interfaz VLAN 1. La misma debe mostrarse en estado up (activo) y debe
mostrar la ip asignada. Ambos resaltados en amarillo abajo.
SW-1#show interface vlan 1
Vlan1 is up, line protocol is up
Hardware is EtherSVI, address is cc06.23fc.0000 (bia cc06.23fc.0000)
Internet address is 192.168.10.2/24
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:03:39, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
21 packets input, 1548 bytes, 0 no buffer
Received 15 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
6 packets output, 550 bytes, 0 underruns
0 output errors, 1 interface resets
0 output buffer failures, 0 output buffers swapped out
SW-1#
OK?
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
Method
unset
unset
unset
unset
unset
unset
unset
unset
unset
unset
unset
Status
up
up
up
up
up
up
up
up
up
up
up
Protocol
up
up
up
down
down
down
down
down
down
down
down
FastEthernet0/11
FastEthernet0/12
FastEthernet0/13
FastEthernet0/14
FastEthernet0/15
Vlan1
unassigned
unassigned
unassigned
unassigned
unassigned
192.168.10.2
YES
YES
YES
YES
YES
YES
unset
unset
unset
unset
unset
manual
up
up
up
up
up
up
down
down
down
down
up
up
Procedemos entonces a establecer la velocidad del puerto a 100 Mbps y que opere en modo full dplex y por seguridad,
procedemos a deshabilitar administrativamente aquellos puertos que no estn en uso.
SW-1#configure terminal
SW-1(config)#interface range fa0/0 - 15
SW-1(config-if-range)#speed 100
SW-1(config-if-range)#duplex full
SW-1(config-if-range)#exit
SW-1(config)#interface range fa0/3 - 14
SW-1(config-if-range)#shutdown
SW-1(config-if-range)#end
SW-1#
Observamos que ni la hora ni el uso horario son correctos por lo que deberemos de corregirlo. Ejecute el siguiente comando
en el modo administrador para configurar el uso horario correcto.
SW-1#configure terminal
SW-1(config)#clock timezone ?
WORD name of time zone
SW-1(config)#clock timezone GMT-3 ?
<-23 - 23> Hours offset from UTC
SW-1(config)#clock timezone GMT-3 -3
SW-1(config)#
*Mar 1 00:43:56.731: %SYS-6-CLOCKUPDATE: System clock has been updated from 00:43:56 UTC
Fri Mar 1 2002 to 21:43:56 GMT-3 Thu Feb 28 2002, configured from console by console.
SW-1(config)#exit
Contine con la ejecucin del comando utilizando la ayuda ? hasta haber completado la configuracin del reloj. Recibir el
mensaje de advertencia % Incomplete command message si el comando clock no se ha introducido completamente con
todos los argumentos requeridos. El comando completo sera como sigue:
SW-1#clock set ?
hh:mm:ss Current Time
SW-1#clock set 10:20:00 ?
<1-31>
MONTH
Para verificar que el reloj est configurado, ejecute el comando show clock.
SW-1#show clock
07:11:24.723 GMT-3 Sat Sep 3 2016
SW-1#
Para cambiar la cantidad de comandos almacenada en el bfer del historial se debe ejecutar el siguiente comando en el
modo de configuracin. Defina la cantidad de comandos retenidos en el bfer del historial en 15.
SW-1(config)#line console 0
SW-1(config-line)#history size 15
SW-1(config-line)#line vty 0 15
SW-1(config-line)#history size 15
Guarde la configuracin
Copie la configuracin actual en la NVRAM (RAM no voltil). Este paso asegura que cualquier cambio realizado en la
configuracin actual del switch est disponible en el caso de que el switch sea recargado (reload) o apagado y encendido.
SW-1#copy running-config startup-config
Asegrese que el archivo de configuracin de arranque guardado, contenga toda la informacin que acabamos de configurar
mediante la ejecucin del siguiente comando
SW-1#show startup-config
IP-Address
unassigned
unassigned
unassigned
unassigned
unassigned
OK?
YES
YES
YES
YES
YES
Method
unset
unset
unset
unset
unset
Status
administratively
administratively
administratively
administratively
administratively
down
down
down
down
down
Protocol
down
down
down
down
down
Router1(config-if)#
Router1(config-if)#exit
Router1(config)#interface fa1/0
Router1(config-if)#description "Conexion_al_Server"
Router1(config-if)#ip address 172.16.15.1 255.255.255.0
Router1(config-if)#no shutdown
Router1(config-if)#exit
Router1(config)#
*Sep
*Sep
Router1(config)#exit
Router1#
Guardamos la configuracin
Router1#
Router1#copy running-config startup-config
Destination filename [startup-config]?
Warning: Attempting to overwrite an NVRAM configuration previously written
by a different version of the system image.
Overwrite the previous NVRAM configuration?[confirm]
Building configuration...
[OK]
IP-Address
Protocol
FastEthernet0/0
FastEthernet1/0
FastEthernet1/1
GigabitEthernet2/0
GigabitEthernet3/0
Router1#
192.168.10.1
172.16.15.1
unassigned
unassigned
unassigned
YES
YES
YES
YES
YES
manual
manual
unset
unset
unset
up
up
up
up
administratively down down
administratively down down
administratively down down
:
:
:
:
:
:
:
:
Server[1]
172.16.15.11/24
172.16.15.1
00:50:79:66:68:03
10008
127.0.0.1:10009
1500
icmp_seq=1
icmp_seq=2
icmp_seq=3
icmp_seq=4
icmp_seq=5
ttl=255
ttl=255
ttl=255
ttl=255
ttl=255
time=9.000 ms
time=10.001 ms
time=10.000 ms
time=6.000 ms
time=3.000 ms
Server>
Ahora revisamos la configuracin para asegurarnos de que los parmetros configurados son los correctos.
PC1> show ip
NAME
IP/MASK
GATEWAY
DNS
MAC
LPORT
RHOST:PORT
MTU:
:
:
:
:
:
:
:
:
PC1[1]
192.168.10.11/24
192.168.10.1
00:50:79:66:68:00
10000
127.0.0.1:10001
1500
:
:
:
:
:
:
:
:
PC2[1]
192.168.10.12/24
192.168.10.1
00:50:79:66:68:01
10005
127.0.0.1:10004
1500
:
:
:
:
:
:
:
:
PC3[1]
192.168.10.13/24
192.168.10.1
00:50:79:66:68:03
10003
127.0.0.1:10002
1500
A continuacin verificamos la conectividad de cada PC a sus vecinas y a la direccin de gestin del Switch.
Desde la PC1 a la PC2, PC3 y Switch
PC1> ping 192.168.10.12
84 bytes from 192.168.10.12
84 bytes from 192.168.10.12
84 bytes from 192.168.10.12
84 bytes from 192.168.10.12
84 bytes from 192.168.10.12
icmp_seq=1
icmp_seq=2
icmp_seq=3
icmp_seq=4
icmp_seq=5
ttl=64
ttl=64
ttl=64
ttl=64
ttl=64
time=0.000
time=0.000
time=0.000
time=0.000
time=0.000
ms
ms
ms
ms
ms
icmp_seq=1
icmp_seq=2
icmp_seq=3
icmp_seq=4
icmp_seq=5
ttl=64
ttl=64
ttl=64
ttl=64
ttl=64
time=0.000
time=0.000
time=0.000
time=0.000
time=0.000
ms
ms
ms
ms
ms
icmp_seq=1
icmp_seq=2
icmp_seq=3
icmp_seq=4
icmp_seq=5
ttl=255
ttl=255
ttl=255
ttl=255
ttl=255
time=22.001 ms
time=3.000 ms
time=3.000 ms
time=1.000 ms
time=7.000 ms
icmp_seq=1
icmp_seq=2
icmp_seq=3
icmp_seq=4
icmp_seq=5
ttl=64
ttl=64
ttl=64
ttl=64
ttl=64
time=0.000
time=0.000
time=1.000
time=2.000
time=0.000
ms
ms
ms
ms
ms
icmp_seq=1
icmp_seq=2
icmp_seq=3
icmp_seq=4
icmp_seq=5
ttl=255
ttl=255
ttl=255
ttl=255
ttl=255
time=19.001 ms
time=10.001 ms
time=11.001 ms
time=4.000 ms
time=10.000 ms
icmp_seq=1
icmp_seq=2
icmp_seq=3
icmp_seq=4
icmp_seq=5
ttl=64
ttl=64
ttl=64
ttl=64
ttl=64
time=1.000
time=0.000
time=0.000
time=0.000
time=0.000
ms
ms
ms
ms
ms
icmp_seq=1
icmp_seq=2
icmp_seq=3
icmp_seq=4
icmp_seq=5
ttl=64
ttl=64
ttl=64
ttl=64
ttl=64
time=0.000
time=0.000
time=0.000
time=0.000
time=0.000
ms
ms
ms
ms
ms
icmp_seq=1
icmp_seq=2
icmp_seq=3
icmp_seq=4
icmp_seq=5
ttl=255
ttl=255
ttl=255
ttl=255
ttl=255
time=10.001 ms
time=8.000 ms
time=3.000 ms
time=10.001 ms
time=9.000 ms
icmp_seq=1
icmp_seq=2
icmp_seq=3
icmp_seq=4
icmp_seq=5
ttl=255
ttl=255
ttl=255
ttl=255
ttl=255
time=19.001 ms
time=11.001 ms
time=1.000 ms
time=5.001 ms
time=10.000 ms
Luego verificamos la conectividad de la PC a su default-gateway que es el que le permite comunicarse con redes externas.
PC1> ping 192.168.10.1
84 bytes from 192.168.10.1
84 bytes from 192.168.10.1
84 bytes from 192.168.10.1
84 bytes from 192.168.10.1
84 bytes from 192.168.10.1
icmp_seq=1
icmp_seq=2
icmp_seq=3
icmp_seq=4
icmp_seq=5
ttl=255
ttl=255
ttl=255
ttl=255
ttl=255
time=9.001 ms
time=10.000 ms
time=10.000 ms
time=20.000 ms
time=5.000 ms
10
Observamos que se perdieron los dos primeros datagramas enviados, esto es debido a la demora en resolver la direccin
MAC mediante el uso del protocolo ARP para poder conocer la direccin MAC de destino que debe agregar en el encabezado
de la trama Ethernet (Capa 2) para poder llegar el server.
Volvemos a verificar para asegurarnos de que no tengamos prdidas de paquetes.
PC1> ping 172.16.15.11
84 bytes from 172.16.15.11
84 bytes from 172.16.15.11
84 bytes from 172.16.15.11
84 bytes from 172.16.15.11
84 bytes from 172.16.15.11
icmp_seq=1
icmp_seq=2
icmp_seq=3
icmp_seq=4
icmp_seq=5
ttl=63
ttl=63
ttl=63
ttl=63
ttl=63
time=12.000
time=30.000
time=20.001
time=20.001
time=22.002
ms
ms
ms
ms
ms
La conectividad entre la PC1 y el Server es posible gracias a que el router tiene una interface en cada red IP, la fa0/0 en la red
192.168.10.0/24 a la que pertenece la PC1 y la interfaz fa1/0 en la red 172.16.15.0/24 a la que pertenece el Server. El router
enruta trfico entre ambas redes.
11