Upload
raul148
View
33
Download
1
Embed Size (px)
Citation preview
PRACTICA VTP
POR: ING. EDMUNDO RIVAS V. PÁGINA 1
DIAGRAMA DE TOPOLOGIA
OBJETIVO
Configurar SW2 como servidor VTP
Configurar SW1 y SW3 como clientes VTP
Configurar las VLAN en SW2
Configurar enlaces troncales en SW1, SW2 y SW3
Verificar el estado del VTP en SW1, SW2 y SW3
Asignar VLAN a puertos en SW2 y SW3
Verificar la implementación de VLAN y probar la conectividad
TABLA DE DIRECCIONAMIENTO
Dispositivo Interfaz Dirección IP Máscara de Subred Gateway
SW1 VLAN 80 172.16.80.21 255.255.255.0 172.16.80.1
SW2 VLAN 80 172.16.80.22 255.255.255.0 172.16.80.1
SW3 VLAN 80 172.16.80.23 255.255.255.0 172.16.80.1
R1 Fa 10.0.0.1 255.255.255.252 NA
Gi Vea Tabla de Configuración de Interfaces NA
PC1 NIC 192.168.1.5 255.255.255.0 192.168.1.1
PC2 NIC 192.168.2.15 255.255.255.0 192.168.2.1
PC3 NIC 192.168.3.25 255.255.255.0 192.168.3.1
PC4 NIC 192.168.1.10 255.255.255.0 192.168.1.1
PC5 NIC 192.168.2.20 255.255.255.0 192.168.2.1
PC6 NIC 192.168.3.30 255.255.255.0 192.168.3.1
PRACTICA VTP
POR: ING. EDMUNDO RIVAS V. PÁGINA 2
WEB NIC 10.0.0.2 255.255.255.252 10.0.0.1
ASIGNACIONES DE PUETOS PARA SW2
Puertos Asignaciones Red
Fa1 – Fa5 Enlaces Troncales 802.1q VLAN Nativa 80 172.16.80.0/24
ASIGNACIONES DE PUERTOS PARA SW1 y SW3
Puertos Asignaciones Red
Fa1 – Fa5 Enlaces Troncales 802.1q VLAN Nativa 80 172.16.80.0/24
Fa6 – Fa10 VLAN 10 - Gerencia 192.168.1.0/24
Fa11 - Fa15 VLAN 20 - Contabilidad 192.168.2.0/24
Fa16 -Fa 20 VLAN 30 - Ventas 192.168.3.0/24
TABLA DE CONFIGURACION DE SUBINTERFACES PARA RB:
Interfaz Asignaciones Dirección IP
Fa0/0.10 VLAN 10 192.168.1.1/24
Fa0/0.20 VLAN 20 192.168.2.1/24
Fa0/0.30 VLAN 30 192.168.3.1/24
Fa0/0.80 VLAN 80 172.16.80.1/24
PARTE 1. CONFIGURAR LAS VLAN.
1. Configuración Básica de SW1, SW2 y SW3
Switch>enable Switch#config te Switch(config)#hostname SW1 SW1(config)#enable secret redes2 SW1(config)#no ip domain-lookup SW1(config)#ip default-gateway 172.16.80.1 SW1(config)#line console 0 SW1(config)#logging synchronous SW1(config-line)#password practicovtp SW1(config-line)#login SW1(config-line)#line vty 0 15 SW1(config-line)#password nombreestudianteutepsa SW1(config-line)#login SW1(config-line)#exit
SW1(config)#no ip domain-lookup
SW1(config-line)#end
SW1#copy running-config startup-config
PRACTICA VTP
POR: ING. EDMUNDO RIVAS V. PÁGINA 3
2. Configuración de SW2 como SERVER VTP
SW2(config)#vtp mode server SW2(config)# SW2(config)#vtp domain PRACTICAVTP SW2(config)#vtp password REDES2 SW2(config)#exit SW2#copy running-conf startup-conf
3. Configuración de SW1 y SW3 como CLIENT VTP
SW1(config)#vtp mode CLIENT SW1(config)#vtp domain PRACTICAVTP SW1(config)#vtp password REDES2
4. Creación de VLAN en SW2
SW1(config)#vlan 80 SW1(config-vlan)#name administracion SW1(config)#vlan 10 SW1(config-vlan)#name gerencia SW1(config)#vlan 20 SW1(config-vlan)#name contabilidad SW1(config)#vlan 30 SW1(config-vlan)#name ventas SW1(config-vlan)#end
5. Asignación de Puertos en SW1 Y SW3 a las VLAN
SW1(config)#interface range fa0/6-fa0/10 SW1(config-if)#switchport mode access SW1(config-if)#switchport access vlan 10
SW1(config-if)#no shutdown
SW1(config)#interface range fa0/11-fa0/15 SW1(config-if)#switchport mode access SW1(config-if)#switchport access vlan 20
SW1(config-if)#no shutdown
SW1(config)#interface range fa0/16-fa0/20 SW1(config-if)#switchport mode access SW1(config-if)#switchport access vlan 30
SW1(config-if)#no shutdown
6. Configurar enlaces Troncales en SW1, SW2 y SW3
SW1(config)#interface range Fa0/1-5 SW1(config-if)#switchport mode trunk SW1(config-if)#switchport trunk native vlan 80 SW1(config-if)#no shutdown SW1(config)#end
7. Configurar el Router
Configurar la interface interfaz de enlaces troncales.
RB(config)#interface fastethernet 0/0
RB(config-if)#no shutdown
RB(config-subif)#interface fastethernet 0/0.10
PRACTICA VTP
POR: ING. EDMUNDO RIVAS V. PÁGINA 4
RB(config-subif)#encapsulation dot1q 10
RB(config-subif)#ip address 192.168.1.1 255.255.255.0
RB(config-subif)#interface fastethernet 0/0.20
RB(config-subif)#encapsulation dot1q 20
RB(config-subif)#ip address 192.168.2.1 255.255.255.0
RB(config-subif)#interface fastethernet 0/0.30
RB(config-subif)#encapsulation dot1q 30
RB(config-subif)#ip address 192.168.3.1 255.255.255.0
RB(config-subif)#interface fastethernet 0/0.80
RB(config-subif)#encapsulation dot1q 80 native
RB(config-subif)#ip address 172.16.80.1 255.255.255.0
Configurar la interfaz del servidor.