Está en la página 1de 14

LABORATORIO

CARRERA : Ingeniera Sistemas


ASIGNATURA: Telecomunicaciones
ALUMNO(A):
CICLO :
TURNO:
DOCENTE: Ing. Omar Valencia Gallegos FECHA: 23/04/2015
NOTA:

CASO APLICATIVO
DISEO DEL DIAGRAMA

5.1 Tabla de direccionamiento


Dispositivo
Nombre
Interfaz Direccin IP
de host
S1
VLAN 99 172.17.99.11
S2
VLAN 99 172.17.99.12
S3
VLAN 99 172.17.99.13
PC1
NIC
172.17.10.21
PC2
NIC
172.17.10.22
PC3
NIC
172.17.10.23
PC4
NIC
172.17.20.22
PC5
NIC
172.17.20.23
PC6
NIC
172.17.20.24
PC7
NIC
172.17.30.23
PC8
NIC
172.17.30.24
PC9
NIC
172.17.30.25
PC10
NIC
172.17.10.30
PC11
NIC
172.17.10.31
PC12
NIC
172.17.10.32
PC13
NIC
172.17.20.30
PC14
NIC
172.17.20.31
PC15
NIC
172.17.20.32
PC16
NIC
172.17.30.30
PC17
NIC
172.17.30.31
PC18
NIC
172.17.30.32

Mscara de
subred
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0

Gateway (puerta
de salida)
predeterminada
No aplicable
No aplicable
No aplicable
172.17.10.1
172.17.10.1
172.17.10.1
172.17.20.1
172.17.20.1
172.17.20.1
172.17.30.1
172.17.30.1
172.17.30.1
172.17.10.1
172.17.10.1
172.17.10.1
172.17.20.1
172.17.20.1
172.17.20.1
172.17.30.1
172.17.30.1
172.17.30.1

5.2 Asignaciones iniciales de puertos (Switches 2 y 3)


Puertos
Fa0/1 0/5
Fa0/6 0/10
Fa0/11 0/17
Fa0/18 0/24

Asignacin
Enlaces troncales 802.1q (VLAN 99 nativa)
VLAN 30: Invitados (predeterminada)
VLAN 20: Alumnos
VLAN 10: Docentes

Red
172.17.99.0 /24
172.17.30.0 /24
172.17.20.0 /24
172.17.10.0 /24

5.3 Configuraciones del switch


5.3.1. Borrar y recargar el switch
1. Ingresar al modo EXEC privilegiado introduciendo el comando enable
S1>enable
2. Eliminar el archivo de informacin de la base de datos de la VLAN
S1#delete flash:vlan.dat

Delete filename [vlan.dat]?


Delete flash:/vlan.dat? [confirm]
Si no hay ningn archive VLAN, se muestra el siguiente mensaje
%Error deleting flash:/vlan.dat (No such file or directory)
3. Eliminar el archivo de Configuracin de inicio del switch de la NVRAM
S1#erase startup-config
Erasing the nvram filesystem will remove all configuration files!
Continue? [confirm]
[OK]
Erase of nvram: complete
4. Verificar que se haya eliminado la informacin de la VLAN
S1#show vlan
VLAN Name
Status Ports
---- -------------------------------- --------- ------------------------------1 default
active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
Gig1/1, Gig1/2
1002 fddi-default
active
1003 token-ring-default
active
1004 fddinet-default
active
1005 trnet-default
active
VLAN Type SAID
MTU Parent RingNo BridgeNo Stp BrdgMode
Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ -----1 enet 100001
1500 - - 0
0
1002 enet 101002 1500 - - 0
0
1003 enet 101003 1500 - - 0
0
1004 enet 101004 1500 - - 0
0
1005 enet 101005 1500 - - 0
0

5. Reiniciar el software
S1#reload
Proceed with reload? [confirm]
6. Repetir el mismo procedmiento para el switch S2 y S3

5.3.2 Configuracin de nombre, conexiones de consola y conexiones vty


S1(config)#hostname S1
S1(config)#line console 0
S1(config-line)#password pedro
S1(config-line)#login
S1(config-line)#exit
S1(config)#line vty 0 4
S1(config-line)#password pedro
S1(config-line)#login
S1(config-line)#exit
S1(config)#
Repetir el mismo procedimiento para los switch S2 y S3

5.3.3. Activacin de los puertos de usuario S2 y S3


S2(config)#interface range fa0/6 - fa0/8
S2(config-if-range)#switchport mode access
S2(config-if-range)#no shutdown
S2(config-if-range)#exit
S2(config)#interface range fa0/11 - fa0/13
S2(config-if-range)#switchport mode access
S2(config-if-range)#no shutdown
S2(config-if-range)#exit
S2(config)#interface range fa0/18 - fa0/20
S2(config-if-range)#switchport mode access
S2(config-if-range)#no shutdown
S2(config-if-range)#exit
S3(config)#interface range fa0/6 - fa0/8
S3(config-if-range)#switchport mode access
S3(config-if-range)#no shutdown
S3(config-if-range)#exit
S3(config)#interface range fa0/11 - fa0/13
S3(config-if-range)#switchport mode access
S3(config-if-range)#no shutdown
S3(config-if-range)#exit
S3(config)#interface range fa0/18 - fa0/20
S3(config-if-range)#switchport mode access
S3(config-if-range)#no shutdown
S3(config-if-range)#exit

5.3.4 Configurar las VLAN del switch


1. Crear las VLAN en el switch S1
S1#configure terminal

S1(config)#vlan 10
S1(config-vlan)#name docentes
S1(config-vlan)#vlan 20
S1(config-vlan)#name alumnos
S1(config-vlan)#vlan 30
S1(config-vlan)#name invitados
S1(config-vlan)#vlan 99
S1(config-vlan)#name administracion
S1(config-vlan)#end
S1#
2. Verificar que las VLAN estn creadas en S1
S1#show vlan brief
VLAN Name
Status Ports
---- -------------------------------- --------- ------------------------------1 default
active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
Gig1/1, Gig1/2
10 docentes
active
20 alumnos
active
30 invitados
active
99 administracion
active
1002 fddi-default
active
1003 token-ring-default
active
1004 fddinet-default
active
1005 trnet-default
active
S1#
3. Configurar y asignar un nombre a las VLAN en los switches S2 y S3
Cree y asigne un nombre para las VLAN 10, 20, 30 y 99 en S2 y S3
mediante los comandos del Paso 1.
Verifique la configuracin correcta mediante el comando show vlan brief
4. Asignar puertos de switch a las VLAN en S2 y S3

S3#configure terminal
S3(config)#interface range fa0/6 - 10
S3(config-if-range)#switchport access vlan 30
S3(config-if-range)#exit
S3(config)#interface range fa0/11 - 17

S3(config-if-range)#switchport access vlan 10


S3(config-if-range)#exit
S3(config)#interface range fa0/18 - 24
S3(config-if-range)#switchport access vlan 20
S3(config-if-range)#end
S3#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
S3#
S3#show vlan id 10
VLAN Name
Status Ports
---- -------------------------------- --------- ------------------------------10 docentes
active Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17
VLAN Type SAID
MTU Parent RingNo BridgeNo Stp BrdgMode
Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ -----10 enet 100010 1500 - 0
0

S3#show vlan id 20
VLAN Name
Status Ports
---- -------------------------------- --------- ------------------------------20 alumnos
active Fa0/18, Fa0/19, Fa0/20, Fa0/21
Fa0/22, Fa0/23, Fa0/24
VLAN Type SAID
MTU Parent RingNo BridgeNo Stp BrdgMode
Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ -----20 enet 100020 1500 - 0
0

S3#show vlan id 30
VLAN Name
Status Ports
---- -------------------------------- --------- ------------------------------30 invitados
active Fa0/6, Fa0/7, Fa0/8, Fa0/9
Fa0/10
VLAN Type SAID
MTU Parent RingNo BridgeNo Stp BrdgMode
Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ -----30 enet 100030 1500 - 0
0
S3#

S2#configure terminal
S2(config)#interface range fa0/6 - 10
S2(config-if-range)#switchport access vlan 30
S2(config-if-range)#exit
S2(config)#interface range fa0/11 - 17
S2(config-if-range)#switchport access vlan 10
S2(config-if-range)#exit
S2(config)#interface range fa0/18 - 24
S2(config-if-range)#switchport access vlan 20
S2(config-if-range)#end
S2#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
S2#
S2#show vlan id 10
VLAN Name
Status Ports
---- -------------------------------- --------- ------------------------------10 docentes
active Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17
VLAN Type SAID
MTU Parent RingNo BridgeNo Stp BrdgMode
Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ -----10 enet 100010 1500 - 0
0

S2#show vlan id 20
VLAN Name
Status Ports
---- -------------------------------- --------- ------------------------------20 alumnos
active Fa0/18, Fa0/19, Fa0/20, Fa0/21
Fa0/22, Fa0/23, Fa0/24
VLAN Type SAID
MTU Parent RingNo BridgeNo Stp BrdgMode
Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ -----20 enet 100020 1500 - 0
0

S2#show vlan id 30
VLAN Name
Status Ports
---- -------------------------------- --------- ------------------------------30 invitados
active Fa0/6, Fa0/7, Fa0/8, Fa0/9
Fa0/10
VLAN Type SAID
MTU Parent RingNo BridgeNo Stp BrdgMode
Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ -----30 enet 100030 1500 - 0
0

S2#

S1#configure terminal
S1(config)#interface range fa0/6 - 10
S1(config-if-range)#switchport access vlan 30
S1(config-if-range)#exit
S1(config)#interface range fa0/11 - 17
S1(config-if-range)#switchport access vlan 10
S1(config-if-range)#exit
S1(config)#interface range fa0/18 - 24
S1(config-if-range)#switchport access vlan 20
S1(config-if-range)#end
S1#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
S1#
S1#show vlan id 10
VLAN Name
Status Ports
---- -------------------------------- --------- ------------------------------10 docentes
active Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17
VLAN Type SAID
MTU Parent RingNo BridgeNo Stp BrdgMode
Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ -----10 enet 100010 1500 - 0
0

S1#show vlan id 20
VLAN Name
Status Ports
---- -------------------------------- --------- ------------------------------20 alumnos
active Fa0/18, Fa0/19, Fa0/20, Fa0/21
Fa0/22, Fa0/23, Fa0/24
VLAN Type SAID
MTU Parent RingNo BridgeNo Stp BrdgMode
Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ -----20 enet 100020 1500 - 0
0

S1#show vlan id 30
VLAN Name
Status Ports
---- -------------------------------- --------- ------------------------------30 invitados
active Fa0/6, Fa0/7, Fa0/8, Fa0/9
Fa0/10

VLAN Type SAID


MTU Parent RingNo BridgeNo Stp BrdgMode
Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ -----30 enet 100030 1500 - 0
0
S1#

5. Asignar la VLAN de administracin


S1#configure terminal
S1(config)#interface vlan 99
S1(config-if)#ip address 172.17.99.11 255.255.255.0
S1(config-if)#no shutdown
S1(config-if)#end
S1#
S2#configure terminal
S2(config)#interface vlan 99
S2(config-if)#ip address 172.17.99.12 255.255.255.0
S2(config-if)#no shutdown
S2(config-if)#end
S2#
S3#configure terminal
S3(config)#interface vlan 99
S3(config-if)#ip address 172.17.99.13 255.255.255.0
S3(config-if)#no shutdown
S3(config-if)#end
S3#

6. Configurar los enlaces troncales y la VLAN nativa para los puertos de


enlace troncales en todos los switches.

S1#configure terminal
S1(config)#interface range fa0/1 - 5
S1(config-if-range)#switchport mode trunk
S1(config-if-range)#switchport trunk native vlan 99
S1(config-if-range)#no shutdown
S1(config-if-range)#end
S1#
S2#configure terminal
S2(config)#interface range fa0/1 - 5
S2(config-if-range)#switchport mode trunk
S2(config-if-range)#switchport trunk native vlan 99
S2(config-if-range)#no shutdown

S2(config-if-range)#end
S2#
S3#configure terminal
S3(config)#interface range fa0/1 - 5
S3(config-if-range)#switchport mode trunk
S3(config-if-range)#switchport trunk native vlan 99
S3(config-if-range)#no shutdown
S3(config-if-range)#end
S3#

7. Verificar que los enlaces troncales se hayan configurado


S1#show interface trunk
Port
Mode
Encapsulation Status
Native vlan
Fa0/1
on
802.1q
trunking 99
Fa0/2
on
802.1q
trunking 99
Port
Fa0/1
Fa0/2

Vlans allowed on trunk


1-1005
1-1005

Port
Fa0/1
Fa0/2

Vlans allowed and active in management domain


1,10,20,30,99,1002,1003,1004,1005
1,10,20,30,99,1002,1003,1004,1005

Port
Fa0/1
Fa0/2
S1#

Vlans in spanning tree forwarding state and not pruned


1,10,20,30,99,1002,1003,1004,1005
1,10,20,30,99,1002,1003,1004,1005

S2#show interface trunk


Port
Mode
Encapsulation Status
Native vlan
Fa0/1
on
802.1q
trunking 99
Port
Fa0/1

Vlans allowed on trunk


1-1005

Port
Fa0/1

Vlans allowed and active in management domain


1,10,20,30,99,1002,1003,1004,1005

Port
Fa0/1
S2#

Vlans in spanning tree forwarding state and not pruned


1,10,20,30,99,1002,1003,1004,1005

S3#show interface trunk


Port
Mode
Encapsulation Status

Native vlan

Fa0/2

on

802.1q

trunking

99

Port
Fa0/2

Vlans allowed on trunk


1-1005

Port
Fa0/2

Vlans allowed and active in management domain


1,10,20,30,99,1002,1003,1004,1005

Port
Fa0/2
S3#

Vlans in spanning tree forwarding state and not pruned


1,10,20,30,99,1002,1003,1004,1005

8. Verificar que los switches se puedan comunicar


S1#ping 172.17.99.12
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.17.99.12, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 10/30/70 ms
S1#ping 172.17.99.13
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.17.99.13, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 10/22/40 ms
S1#

S2#ping 172.17.99.11
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.17.99.11, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 10/22/30 ms
S2#ping 172.17.99.13
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.17.99.13, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 40/58/91 ms
S2#

S3#ping 172.17.99.11
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.17.99.11, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/24/40 ms
S3#ping 172.17.99.12
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.17.99.12, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 40/46/60 ms
S3#

9. Hacer ping a varios host desde la PC2


Ping desde la PC2 a la PC1

Ping desde la PC2 a la PC 11

Ping desde la PC2 a la PC5

También podría gustarte