Documente Academic
Documente Profesional
Documente Cultură
Diagrama de topología
Tabla de direccionamiento
Gateway
Dispositivo Interfaz Dirección IP Máscara de subred (puerta de enlace)
predeterminada
Fa0/1 No aplicable No aplicable No aplicable
F0/1.10 192.168.10.1 255.255.255.0 No aplicable
R1 F0/1.20 192.168.20.1 255.255.255.0 No aplicable
F0/1.30 192.168.30.1 255.255.255.0 No aplicable
F0/1.56 192.168.56.1 255.255.255.0 No aplicable
Gateway
Dispositivo Interfaz Dirección IP Máscara de subred (puerta de enlace)
predeterminada
S1 VLAN56 192.168.56.11 255.255.255.0 192.168.56.1
S2 VLAN56 192.168.56.12 255.255.255.0 192.168.56.1
S3 VLAN56 192.168.56.13 255.255.255.0 192.168.56.1
PC1 NIC 192.168.10.21 255.255.255.0 192.168.10.1
PC2 NIC 192.168.20.22 255.255.255.0 192.168.20.1
PC3 NIC 192.168.30.23 255.255.255.0 192.168.30.1
Objetivos de aprendizaje
Para completar esta práctica de laboratorio debe:
Cablear una red según el diagrama de topología
Borrar la configuración inicial y volver a cargar un router al estado predeterminado
Realizar las tareas básicas de configuración en un router
Configurar y activar interfaces
Configurar servidores y cliente VTP
Configurar las VLAN en los switches
Configurar STP
Configurar un enrutamiento inter VLAN
Escenario
Esta práctica de laboratorio evalúa sus habilidades y conocimientos aprendidos en Exploration 3.
Use cisco para todas las contraseñas en esta práctica de laboratorio, excepto para la contraseña
enable secret, que es class.
Asignaciones de puertos
Switch 2
Puertos Asignaciones Red
Fa0/1 – 0/4 Enlaces troncales 802.1q (VLAN nativa 56) 192.168.56.0 /24
Fa0/6 – 0/10 VLAN 30: Guest (predeterminada) 192.168.30.0 /24
Fa0/11 – 0/17 VLAN 10: Cuerpo docente/Personal 192.168.10.0 /24
Fa0/18 – 0/24 VLAN 20: Estudiantes 192.168.20.0 /24
Switch 1
Puertos Asignaciones Red
Fa0/1 – 0/4 Enlaces troncales 802.1q (VLAN nativa 56) 192.168.56.0 /24
Fa0/5 Enlaces troncales 802.1q 192.168.56.0 /24
Switch 3
Puertos Asignaciones Red
Fa0/1 – 0/4 Enlaces troncales 802.1q (VLAN nativa 56) 192.168.56.0 /24
S2(config)#interface fa0/6
S2(config-if)#switchport mode access
S2(config-if)#no shutdown
S2(config-if)#interface fa0/11
S2(config-if)#switchport mode access
S2(config-if)#no shutdown
S2(config-if)#interface fa0/18
S2(config-if)#switchport mode access
S2(config-if)#no shutdown
line con 0
exec-timeout 0 0
logging synchronous
password cisco
login
!
line vty 0 4
password cisco
login
end
copy running-config starting-config
S2:
interface Vlan56
ip address 192.168.56.12 255.255.255.0
no shutdown
!
S3:
interface Vlan56
ip address 192.168.56.13 255.255.255.0
no shutdown
!
S2:
interface FastEthernet0/1
switchport trunk native vlan 56
switchport trunk allowed vlan 10,20,30,56
switchport mode trunk
no shutdown
!
interface FastEthernet0/2
switchport trunk native vlan 56
switchport trunk allowed vlan 10,20,30,56
switchport mode trunk
no shutdown
!
interface FastEthernet0/3
switchport trunk native vlan 56
switchport trunk allowed vlan 10,20,30,56
switchport mode trunk
no shutdown
!
interface FastEthernet0/4
switchport trunk native vlan 56
switchport trunk allowed vlan 10,20,30,56
switchport mode trunk
no shutdown
!
S3:
interface FastEthernet0/1
switchport trunk native vlan 56
switchport trunk allowed vlan 10,20,30,56
switchport mode trunk
no shutdown
!
interface FastEthernet0/2
switchport trunk native vlan 56
switchport trunk allowed vlan 10,20,30,56
switchport mode trunk
no shutdown
!
interface FastEthernet0/3
switchport trunk native vlan 56
switchport trunk allowed vlan 10,20,30,56
switchport mode trunk
no shutdown
!
interface FastEthernet0/4
switchport trunk native vlan 56
switchport trunk allowed vlan 10,20,30,56
switchport mode trunk
no shutdown
!
Paso 2: Configure S1 como el servidor VTP, con nombre de dominio cisco y contraseña cisco.
vtp domain cisco
vtp password cisco
vtp mode server
S3:
vtp domain cisco
vtp password cisco
vtp mode client
S1:
vlan 10
name faculty-staff
!
vlan 20
name students
!
vlan 30
name guest
!
vlan 99
Name management
!
Paso 2: Verifique que los clientes VTP reciban las configuraciones VLAN desde el servidor.
S2:
S2#show vlan
S3:
S3#show vlan
S2:
spanning-tree mode rapid-pvst
S3:
spanning-tree mode rapid-pvst
S2:
S2#show spanning-tree summary
Switch is in rapid-pvst mode
Root bridge for: none
<output omitted>
Configured Pathcost method used is short
S3:
S3#show spanning-tree summary
Switch is in rapid-pvst mode
Root bridge for: none
<output omitted>
Configured Pathcost method used is short
PC2:
C:\ >ping 192.168.10.21
PC3:
C:\ >ping 192.168.10.21
!
vlan 56
Name management
!
interface FastEthernet0/1
switchport trunk native vlan 56
switchport trunk allowed vlan 10,20,30,56
switchport mode trunk
!
interface FastEthernet0/2
switchport trunk native vlan 56
switchport trunk allowed vlan 10,20,30,56
switchport mode trunk
!
interface FastEthernet0/3
switchport trunk native vlan 56
switchport trunk allowed vlan 10,20,30,56
switchport mode trunk
!
interface FastEthernet0/4
switchport trunk native vlan 56
switchport trunk allowed vlan 10,20,30,56
switchport mode trunk
!
interface FastEthernet0/5
switchport trunk allowed vlan 10,20,30,56
switchport mode trunk
!
interface range FastEthernet0/6-24
shutdown
!
interface GigabitEthernet0/1
shutdown
!
interface GigabitEthernet0/2
shutdown
!
interface Vlan1
no ip address
shutdown
!
interface Vlan56
ip address 192.168.56.11 255.255.255.0
no shutdown
!
ip default-gateway 192.168.56.1
!
line con 0
exec-timeout 5 0
privilege level
logging synchronous
password cisco
line vty 0 4
password cisco
no login
line vty 5 15
no login
!
end
S2:
hostname S2
!
enable secret class
!
no ip domain-lookup
!
vtp domain cisco
vtp password cisco
vtp mode client
!
spanning-tree mode rapid-pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface FastEthernet0/1
switchport trunk native vlan 56
switchport trunk allowed vlan 10,20,30,56
switchport mode trunk
!
interface FastEthernet0/2
switchport trunk native vlan 56
switchport trunk allowed vlan 10,20,30,56
switchport mode trunk
!
interface FastEthernet0/3
switchport trunk native vlan 56
switchport trunk allowed vlan 10,20,30,56
switchport mode trunk
!
interface FastEthernet0/4
switchport trunk native vlan 56
switchport trunk allowed vlan 10,20,30,56
switchport mode trunk
!
interface FastEthernet0/5
shutdown
!
interface FastEthernet0/6
switchport access vlan 30
switchport mode access
!
interface range FastEthernet0/7-10
shutdown
!
interface FastEthernet0/11
switchport access vlan 10
switchport mode access
!
S3:
hostname S3
!
enable secret class
!
no ip domain-lookup
!
vtp domain cisco
vtp password cisco
vtp mode client
!
spanning-tree mode rapid-pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface FastEthernet0/1
R1:
hostname R1
!
enable secret class
!
no ip domain lookup
!
interface FastEthernet0/0
no ip address
shutdown
!
interface FastEthernet0/1
no ip address
no shutdown
!
interface FastEthernet0/1.10
encapsulation dot1Q 10
ip address 192.168.10.1 255.255.255.0
!
interface FastEthernet0/1.20
encapsulation dot1Q 20
ip address 192.168.20.1 255.255.255.0
!
interface FastEthernet0/1.30
encapsulation dot1Q 30
ip address 192.168.30.1 255.255.255.0
!
interface FastEthernet0/1.56
encapsulation dot1Q 56
ip address 192.168.56.1 255.255.255.0
!
line con 0
exec-timeout 5 0
password cisco
logging synchronous
line aux 0
line vty 0 4
password cisco
no login
!
end
Tarea 9: Limpieza
Borre las configuraciones y vuelva a cargar los routers. Desconecte y guarde el cableado. Para los hosts
de PC que están normalmente conectados a otras redes, como la LAN de la escuela o de Internet,
vuelva a conectar al cable correspondiente y restaure la configuración TCP/IP.