23
COLEGIO NACIONAL DE EDUCACION PROFESIONAL TECNICA. NOMBRE DE LA ALUMNA: NOMBRE DEL PSP: I MATERIA: Manejo de Redes. GRUPO: 603 CARRERA: Informática. PRACTICA: 10 NOMBRE DE LA PRACTICA: Configuración básica de una VLAN VLAN siguiendo procedimiento. NOMBRE DEL BLOG: http://manejo-de-redes-jessica-montiel.blogspot.mx/

Practica 10

Embed Size (px)

DESCRIPTION

Configuración básica de una VLAN VLAN siguiendo procedimiento.

Citation preview

Page 1: Practica 10

COLEGIO NACIONAL DE EDUCACION PROFESIONAL TECNICA.

NOMBRE DE LA ALUMNA:

NOMBRE DEL PSP: I

MATERIA: Manejo de Redes.

GRUPO: 603

CARRERA: Informática.

PRACTICA: 10

NOMBRE DE LA PRACTICA: Configuración básica de una VLAN VLAN siguiendo procedimiento.

NOMBRE DEL BLOG:

http://manejo-de-redes-jessica-montiel.blogspot.mx/

FECHA: 18/06/13

Page 2: Practica 10

UNIDAD DE APRENDIZAJE: Administración de redes de área local virtuales.

NUMERO: 3

 

PRACTICA 10: Configuración básica de una VLAN VLAN siguiendo procedimiento.

PROPÓSITO DE LA PRÁCTICA: Crear VLANs en un switch, de acuerdo a las características solicitadas VLAN, para su operación.

ESCENARIO: Laboratorio de informática.

DURACIÓN: 2 hrs.

 

Page 3: Practica 10

INTRODUCCION

En esta practica se ara la creacion de una configuracion basica de una VLAN VLAN de acuerdo al procedimiento indicado en la misma, la cual se ara en un switch.

CONFIGURACION

1. Creación de la topología indicada

Se colocan los dispositivos a utilizar y se conectan como se indica.

2. Borre configuraciones existentes en los switches e inicializar todos los puertos en estado desactivado.

Damos doble clic en un switch para ver sus configuraciones, y entramos en la pestaña Config y después en el botón Erase, y después yes

Page 4: Practica 10

Se debe hacer esto a los tres switch.

3. Desabilitar los 3 switch de la topologia

Switch#config termEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#interface range fa0/1-24Switch(config-if-range)#shutdown

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down

%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to administratively down%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down

%LINK-5-CHANGED: Interface FastEthernet0/3, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/4, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/5, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/6, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/7, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/8, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/9, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/10, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/11, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/12, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/13, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/14, changed state to administratively down

Page 5: Practica 10

%LINK-5-CHANGED: Interface FastEthernet0/15, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/16, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/17, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/18, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/19, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/20, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/21, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/22, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/23, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/24, changed state to administratively down

4. Vuelva a habilitar los puertos de los usuarios en S2 Y S3.Se hará las configuraciones del Switch2 y Swicth3, en orden.

S2(config)#interface range fa0/6, fa0/11, fa0/18S2(config-if-range)#switchport mode accessS2(config-if-range)#no shutdown

%LINK-5-CHANGED: Interface FastEthernet0/6, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state to up

%LINK-5-CHANGED: Interface FastEthernet0/11, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/11, changed state to up

%LINK-5-CHANGED: Interface FastEthernet0/18, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/18, changed state to upS2(config-if-range)#

Page 6: Practica 10

S3(config)#interface range fa0/6, fa0/11, fa0/18S3(config-if-range)#switchport mode accessS3(config-if-range)#no shutdown

%LINK-5-CHANGED: Interface FastEthernet0/6, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state to up

%LINK-5-CHANGED: Interface FastEthernet0/11, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/11, changed state to up

%LINK-5-CHANGED: Interface FastEthernet0/18, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/18, changed state to upS3(config-if-range)#S3#%SYS-5-CONFIG_I: Configured from console by console

5. Configurar y activar las interfaces Ethernet

Se ingresa los datos necesarios para la IP del router. Para realizar esto nos basaremos con la tabla de re direccionamiento, que se harán primero a las 6 PC.

Page 7: Practica 10

PC1

PC2

Page 8: Practica 10

PC3

PC4

Page 9: Practica 10

PC5

PC6

Page 10: Practica 10

6. Configurar las VLAN en el switch1.En la pestaña de CLI, para introducir los comandos.

S1(config)#vlan 10S1(config-vlan)#name faculty/staffS1(config-vlan)#vlan 20S1(config-vlan)#name studentsS1(config-vlan)#vlan 30 S1(config-vlan)#name guestS1(config-vlan)#vlan 99S1(config-vlan)#name managementS1(config-vlan)#endS1#%SYS-5-CONFIG_I: Configured from console by console

7. Verifique que las VLAN estén creadas en S1Lo realizaremos usando el comando Show vian brief, para la verificación.

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

Page 11: Practica 10

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/210 faculty/staff active 20 students active 30 guest active 99 management active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active S1#

8. Asigne puertos al switch a las VLAN en S2 y S3

Configuración del switch2:

S2(config)#interface range fa0/6-10S2(config-if-range)#switchport access vlan 30S2(config-if-range)#interface range fa0/11-17S2(config-if-range)#switchport access vlan 10S2(config-if-range)#interface range fa0/18-24S2(config-if-range)#switchport access vlan 20S2(config-if-range)#endS2#%SYS-5-CONFIG_I: Configured from console by console

S2#copy running-config startup-configDestination filename [startup-config]? Building configuration...[OK]

Page 12: Practica 10

Configuración del Switch3:

S3(config)#interface range fa0/6-10S3(config-if-range)#switchport access vlan 30S3(config-if-range)#interface range fa0/11-17S3(config-if-range)#switchport access vlan 10S3(config-if-range)#interface range fa0/18-24S3(config-if-range)#switchport access vlan 20S3(config-if-range)#endS3#%SYS-5-CONFIG_I: Configured from console by consoleS3#copy running-config startup-configDestination filename [startup-config]? Building configuration...[OK]

9. Asignación de direcciones IP de administración a los switch

S1:

S1(config)#interface vlan 99S1(config-if)#%LINK-5-CHANGED: Interface Vlan99, changed state to up

S1(config-if)#ip address 172.17.99.11 255.255.255.0S1(config-if)#no shutdownS1(config-if)#

S2:

S2(config)#interface vlan 99S2(config-if)#%LINK-5-CHANGED: Interface Vlan99, changed state to up

Page 13: Practica 10

S2(config-if)#ip address 172.17.99.12 255.255.255.0S2(config-if)#no shutdownS2(config-if)

S3:

S3(config)#interface vlan 99S3(config-if)#%LINK-5-CHANGED: Interface Vlan99, changed state to up

S3(config-if)#ip address 172.17.99.13 255.255.255.0S3(config-if)#no shutdownS3(config-if)#

10. Configure los enlaces troncales y la VLAN nativa para los puertos de enlace troncales en todos los switches.

Dentro de cada switch en su configuraciones se insertaran estos comandos.

S1

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

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to down

%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to down

%LINK-5-CHANGED: Interface FastEthernet0/3, changed state to down

%LINK-5-CHANGED: Interface FastEthernet0/4, changed state to down

%LINK-5-CHANGED: Interface FastEthernet0/5, changed state to downS1(config-if-range)#endS1#%SYS-5-CONFIG_I: Configured from console by console

S2

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

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

Page 14: Practica 10

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan99, changed state to up

%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to down

%LINK-5-CHANGED: Interface FastEthernet0/3, changed state to down

%LINK-5-CHANGED: Interface FastEthernet0/4, changed state to down

%LINK-5-CHANGED: Interface FastEthernet0/5, changed state to downS2(config-if-range)#endS2#%SYS-5-CONFIG_I: Configured from console by console

S3

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

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to down

%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan99, changed state to up

%LINK-5-CHANGED: Interface FastEthernet0/3, changed state to down

%LINK-5-CHANGED: Interface FastEthernet0/4, changed state to down

%LINK-5-CHANGED: Interface FastEthernet0/5, changed state to downS3(config-if-range)#endS3#%SYS-5-CONFIG_I: Configured from console by console

11. Verifique que los enlaces troncales se hayan configurado mediante el comando Show interface trunk.

S1

S1#show interface trunkPort Mode Encapsulation Status Native vlan

Page 15: Practica 10

Fa0/1 on 802.1q trunking 99Fa0/2 on 802.1q trunking 99

Port Vlans allowed on trunkFa0/1 1-1005Fa0/2 1-1005

Port Vlans allowed and active in management domainFa0/1 1,10,20,30,99Fa0/2 1,10,20,30,99

Port Vlans in spanning tree forwarding state and not prunedFa0/1 1,10,20,30,99Fa0/2 1,10,20,30,99S1#

S2

S2>show interface trunkPort Mode Encapsulation Status Native vlanFa0/1 on 802.1q trunking 99

Port Vlans allowed on trunkFa0/1 1-1005

Port Vlans allowed and active in management domainFa0/1 1,10,20,30,99

Port Vlans in spanning tree forwarding state and not prunedFa0/1 1,10,20,30,99

Page 16: Practica 10

S3

S3>show interface trunkPort Mode Encapsulation Status Native vlanFa0/2 on 802.1q trunking 99

Port Vlans allowed on trunkFa0/2 1-1005

Port Vlans allowed and active in management domainFa0/2 1,10,20,30,99

Port Vlans in spanning tree forwarding state and not prunedFa0/2 1,10,20,30,99

Page 17: Practica 10

12. Verifique que los switches se puedan comunicar

Desde S1, haga ping a la direccion de administracion en S2 y S3

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 60 percent (3/5), round-trip min/avg/max = 2/8/19 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 60 percent (3/5), round-trip min/avg/max = 2/6/12 ms

S1>

13. Ubique la PC1 en la misma VLAN que la PC2

S2#configure terminalEnter configuration commands, one per line. End with CNTL/Z.S2(config)#interface fastethernet 0/11S2(config-if)#switchport access vlan 20S2(config-if)#endS2#%SYS-5-CONFIG_I: Configured from console by console

Page 18: Practica 10

Ya quedo la practica finalizada y este es el resultado obtenido:

CONCLUCION

Borre las configuraciones que ya estaban puestas, y los volví a habilitar, configure los switches al igual que las 6 PC que se ocuparon en esta práctica, también se hizo la configuración de las interfaces Ethernet. Esta práctica más que nada fue la realización de configuraciones de los dispositivos utilizados.