Documentos de Académico
Documentos de Profesional
Documentos de Cultura
PLANTEL IXTAPALUCA
MANEJO DE REDES
MRDE-02
NOMBRE DEL ESTUDIANTE: TREVIO DE JESUS JOSE ALFREDO
CARRERA: P.T.B. EN INFORMATICA
CICLO ESCOLAR: 2.14.15
GRUPO: 603
PLANTEL: IXTAPALUCA 236
Practica 10
Configuracin bsica de una VLAN VLAN siguiendo procedimiento.
Propsito:
Crear VLANs en un switch, de acuerdo a las caractersticas solicitadas VLAN, para su operacin.
.
Estaciones de trabajo
switchs.
cables directo.
cables cruzados.
Se abrir el packet tracer (en caso de que se encuentre en ingles se podr cambiar el idioma a espaol en la
parte de opciones)
Una vez abierto el packet tracer nos dirigimos a la parte inferior izquierda y ubicaremos los dispositivos a
utilizar en esta prctica
Formamos la topologa que nos pide la prctica en cual se utilizaran las herramientas antes mencionadas
Borramos las configuraciones existentes en los Switches e inicializar todos los puertos en estado
desactivado.
Es dar clic en el primer Switch inicializar todos los puertos en estado desactivado.
Damos doble clic en un switch para ver sus configuraciones, y entramos en la pestaa Config y despus en el
botn Erase, y despus yes
Habilitamos los puertos de usuario en s2 y s3. Se har las configuraciones del Switch2 y Swicth3, en orden.
Para eso utilizamos el siguiente comando:
S2(config)#interface range fa0/6, fa0/11, fa0/18
S2(config-if-range)#switchport mode access
S2(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 up
S2(config-if-range)#
Configuramos y activamos las interfaces Ethernet, ingresamos los datos necesarios para la IP del router. Para
realizar esto nos basaremos con la tabla de re direccionamiento, que se harn primero a las PC.
Pc1 y pc2
Despus Configuramos las VLAN en el switch1 para eso nos vamos a la pestaa de CLI, para introducir los
comandos.
S1(config)#vlan 10
S1(config-vlan)#name faculty/staf
S1(config-vlan)#vlan 20
S1(config-vlan)#name students
S1(config-vlan)#vlan 30
S1(config-vlan)#name guest
S1(config-vlan)#vlan 99
S1(config-vlan)#name management
S1(config-vlan)#end
S1#
%SYS-5-CONFIG_I: Configured from console by
console
console
S2:
S2(config)#interface vlan 99
S2(config-if)#
%LINK-5-CHANGED: Interface Vlan99, changed state to up
S2(config-if)#ip address 172.17.99.12 255.255.255.0
S2(config-if)#no shutdown
S2(config-if)
S3:
S3(config)#interface vlan 99
S3(config-if)#
%LINK-5-CHANGED: Interface Vlan99, changed state to up
Configuramos los enlaces troncales y la VLAN nativa para los puertos de enlace troncales en todos los
switches. Dentro de cada switch en sus configuraciones insertaremos los siguientes comandos.
S1
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
%LINK-5-CHANGED: Interface FastEthernet0/1, changed
%LINK-5-CHANGED: Interface FastEthernet0/2, changed
%LINK-5-CHANGED: Interface FastEthernet0/3, changed
%LINK-5-CHANGED: Interface FastEthernet0/4, changed
%LINK-5-CHANGED: Interface FastEthernet0/5, changed
S1(config-if-range)#end
S1#
%SYS-5-CONFIG_I: Configured from console by console
state
state
state
state
state
to
to
to
to
to
down
down
down
down
down
S2
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
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%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 down
S2(config-if-range)#end
S2#
%SYS-5-CONFIG_I: Configured from console by console
S3
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
%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 down
S3(config-if-range)#end
S3#
%SYS-5-CONFIG_I: Configured from console by console
Verificamos que los enlaces troncales se hayan configurado mediante el comando Show interface trunk.
S1
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
Vlans allowed on trunk
Fa0/1
1-1005
Fa0/2
1-1005
Port
Vlans allowed and active in management
domain
Fa0/1
1,10,20,30,99
Fa0/2
1,10,20,30,99
Port
Vlans in spanning tree forwarding state and not
pruned
Fa0/1
1,10,20,30,99
Fa0/2
1,10,20,30,99
S1#
S2
S2>show interface trunk
Port
Mode
Encapsulation Status
Native
vlan
Fa0/1
on
802.1q
trunking
99
Port
Vlans allowed on trunk
Fa0/1
1-1005
Port
Vlans allowed and active in management
domain
Fa0/1
1,10,20,30,99
Port
Vlans in spanning tree forwarding state and not
pruned
Fa0/1
1,10,20,30,99
S3
S3>show interface trunk
Port
vlan
Fa0/2
Port
Fa0/2
Port
domain
Fa0/2
Port
pruned
Fa0/2
Mode
Encapsulation Status
Native
on
802.1q
trunking
99
Vlans allowed on trunk
1-1005
Vlans allowed and active in management
1,10,20,30,99
Vlans in spanning tree forwarding state and not
1,10,20,30,99
Verificamos 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
CONCLUCION
En esta prctica se realiz lo que fue una configuracin de vlan por medio de procedimientos y
cdigos a un switch de acuerdo a las caractersticas para la operacin de la configuracin.
10