Referencia · laboratorio integrado
Una topología.
Todos los comandos.
Configura la red del plano por etapas y por dispositivo: VLANs, EtherChannel, STP, routing, HSRP, DHCP y comprobaciones.
TOPOLOGÍA DEL LABORATORIO
Dos sectores, una configuración integrada
Triángulo de capa 2 · MELIPILLA y ELMONTE · ISP · cuadrado multilayer
Elige una zona para leer sus puertos. MLS1–MLS4 identifican los multilayer de la captura. Los colores distinguen tipos de enlace, no su estado de funcionamiento.
Sigue el orden de los apartados. Cada bloque indica el equipo al que pertenece. Los comandos parten de modo privilegiado, salvo la base inicial.
Los prompts en rosa son visuales: «Copiar» los omite. Las líneas ! sí se copian. La referencia usa los puertos y direcciones de las tablas siguientes.
Ir a un grupo de comandos 16 apartados
01 · Plan de direcciones y puertos
Este laboratorio conserva los enlaces y roles de la imagen. Usamos 172.16.0.0/20 como bloque de origen y dimensionamos cada VLAN para que quepan los clientes indicados después de excluir las diez primeras direcciones utilizables.
| VLAN / nombre | Red | Máscara | Gateway | Clientes previstos / disponibles |
|---|---|---|---|---|
| 10 · PROFESORES | 172.16.0.0/24 | 255.255.255.0 | 172.16.0.1 | 120 / 244 |
| 20 · ALUMNOS | 172.16.1.0/25 | 255.255.255.128 | 172.16.1.1 | 60 / 116 |
| 30 · DIRECCION | 172.16.1.128/26 | 255.255.255.192 | 172.16.1.129 | 30 / 52 |
| 40 · SERV_DIGITALES | 172.16.1.192/27 | 255.255.255.224 | 172.16.1.193 | 10 / 20 |
| Uso | Red | Gateway | Asignaciones |
|---|---|---|---|
| VLAN 100 · izquierda | 172.16.1.224/28 | 172.16.1.225 | MEL .226 · ELM .227 · SW2 .228 · SW3 .229 · SW1 .230 · SW4 .231 |
| VLAN 100 · derecha | 172.16.1.240/28 | 172.16.1.241 | MLS1 .242 · MLS2 .243 · MLS3 .244 · MLS4 .245 |
| SERVER-ISP | 192.168.80.0/24 | 192.168.80.1 | Servidor 192.168.80.10 · DNS duoc.cl |
Decisiones del laboratorio y equipos
Interpretamos 120, 60, 30 y 10 como clientes que deben poder recibir DHCP. Por eso el cálculo deja margen para las diez IP excluidas. La VLAN 100 se configura como nativa y de administración, tal como en la imagen; usa dos subredes porque sus sectores están separados por routers. Sus direcciones son estáticas, sin pool DHCP.
Los nombres Switch1–Switch4 se escriben SW1–SW4 en la CLI. Los cuatro multilayer se identifican MLS1–MLS4 según su posición en el plano. Usa switches 2960 para SW1–SW4 y 3560 con interfaces FastEthernet para los multilayer; los routers necesitan las interfaces indicadas. El ISP requiere tres interfaces Gigabit y dos seriales: un 2911 con un módulo serial compatible es una opción. En Packet Tracer se apaga el router para insertar el módulo.
Algunos nombres de puertos estaban tapados en la captura. La tabla siguiente fija la asignación que usan el dibujo y todos los comandos. Para los seriales, coloca el extremo DCE en MELIPILLA y ELMONTE.
| Enlace | Extremo A | Extremo B | Tipo |
|---|---|---|---|
| Grupo 1 | SW2 Fa0/1–2 | SW3 Fa0/1–2 | PAgP · trunk |
| Grupo 2 | SW2 Fa0/3–4 | SW1 Fa0/3–4 | PAgP · trunk |
| Grupo 3 | SW3 Fa0/5–6 | SW1 Fa0/5–6 | LACP · trunk |
| Grupo 4 | MLS1 Fa0/3–4 | MLS2 Fa0/3–4 | LACP · trunk |
| Grupo 5 | MLS2 Fa0/1–2 | MLS4 Fa0/1–2 | PAgP · trunk |
| Grupo 6 | MLS3 Fa0/3–4 | MLS4 Fa0/3–4 | LACP · trunk |
| Grupo 7 | MLS1 Fa0/1–2 | MLS3 Fa0/1–2 | PAgP · trunk |
| Trunk de distribución | SW2 Fa0/24 | SW4 Fa0/24 | VLAN 10,20,100 |
| Trunk a MELIPILLA | SW4 Gi0/1 | MELIPILLA Gi0/1 | VLAN 10,20,100 |
| Trunk a ELMONTE | SW4 Gi0/2 | ELMONTE Gi0/1 | VLAN 10,20,100 |
| Serial 40 | MELIPILLA S0/0/0 | ISP S0/0/0 | 192.168.40.0/24 |
| Serial 50 | ELMONTE S0/0/1 | ISP S0/0/1 | 192.168.50.0/24 |
| Tránsito 60 | ISP Gi0/1 | MLS1 Gi0/1 | 192.168.60.0/24 |
| Tránsito 70 | ISP Gi0/2 | MLS2 Gi0/2 | 192.168.70.0/24 |
| Servidor | ISP Gi0/0 | SERVER-ISP Fa0 | 192.168.80.0/24 |
| PC10 / PC20 | SW3 Fa0/10 / SW1 Fa0/10 | PC Fa0 | Access VLAN 10 / 20 |
| PC30 / PC40 | MLS3 Fa0/10 / MLS4 Fa0/10 | PC Fa0 | Access VLAN 30 / 40 |
02 · Configuración básica y SSH
Aplica esta base en cada router y switch. Cambia únicamente el hostname por MELIPILLA, ELMONTE, ISP, SW1–SW4 o MLS1–MLS4. El ejemplo comienza en Router>; los demás bloques parten del modo privilegiado.
Base común · routers y switches
! BASE COMÚN · ROUTERS Y SWITCHES - MELIPILLA
enable
configure terminal
! IDENTIDAD
hostname MELIPILLA
banner motd #Acceso autorizado - Laboratorio DGNV#
ip domain-name dgnvstudios.cl
! CREDENCIALES DE PRACTICA
username soporte secret LabRedes26
enable secret AdminRedes26
service password-encryption
! CLAVES RSA
crypto key generate rsa
1024
! ACCESO SSH
ip ssh version 2
ip ssh authentication-retries 3
ip ssh time-out 120
line vty 0 4
login local
transport input ssh
exit
! CONSOLA
line console 0
password ConsolaRedes26
login
exit
end
Notas de este bloque
1024 bits es el tamaño de clave usado en esta práctica y la respuesta al valor solicitado por IOS. Si ya existen claves, IOS puede pedir confirmar su sustitución: revisa ese paso antes de continuar. En equipos con VTY 5–15, aplica también login local y transport input ssh a ese rango. Las credenciales son ejemplos para esta práctica. SSH necesitará las IP y rutas de los bloques posteriores.
03 · Crear las VLANs de cada sector
Repite el bloque correspondiente en todos los switches del sector. Las VLANs de usuarios se quedan en su lado; el ISP comunica sus redes mediante routing.
En SW1, SW2, SW3 y SW4
! EN SW1, SW2, SW3 Y SW4 - SW2
configure terminal
! CREAR VLANS
vlan 10
name PROFESORES
exit
vlan 20
name ALUMNOS
exit
vlan 100
name NATIVA_ADMIN
exit
end
En MLS1, MLS2, MLS3 y MLS4
! EN MLS1, MLS2, MLS3 Y MLS4 - MLS1
configure terminal
! CREAR VLANS
vlan 30
name DIRECCION
exit
vlan 40
name SERV_DIGITALES
exit
vlan 100
name NATIVA_ADMIN
exit
end
04 · Los siete EtherChannel
Cada grupo tiene dos enlaces físicos y dos bloques, uno por extremo. Se conserva PAgP en los grupos 1, 2, 5 y 7; LACP en 3, 4 y 6. En los multilayer usamos encapsulación dot1q explícita. La VLAN nativa y la lista de VLANs coinciden en ambos extremos.
Grupo 1 · SW2 → SW3
! GRUPO 1 · SW2 → SW3 - SW2
configure terminal
! GRUPO 1 - PAGP - PUERTOS FISICOS
interface range fastEthernet 0/1 - 2
shutdown
switchport mode trunk
switchport trunk allowed vlan 10,20,100
switchport trunk native vlan 100
switchport nonegotiate
channel-protocol pagp
channel-group 1 mode desirable
exit
! TRUNK DEL PORT-CHANNEL
interface port-channel 1
switchport mode trunk
switchport trunk allowed vlan 10,20,100
switchport trunk native vlan 100
switchport nonegotiate
no shutdown
exit
interface range fastEthernet 0/1 - 2
no shutdown
end
Grupo 1 · SW3 → SW2
! GRUPO 1 · SW3 → SW2 - SW3
configure terminal
! GRUPO 1 - PAGP - PUERTOS FISICOS
interface range fastEthernet 0/1 - 2
shutdown
switchport mode trunk
switchport trunk allowed vlan 10,20,100
switchport trunk native vlan 100
switchport nonegotiate
channel-protocol pagp
channel-group 1 mode auto
exit
! TRUNK DEL PORT-CHANNEL
interface port-channel 1
switchport mode trunk
switchport trunk allowed vlan 10,20,100
switchport trunk native vlan 100
switchport nonegotiate
no shutdown
exit
interface range fastEthernet 0/1 - 2
no shutdown
end
Grupo 2 · SW2 → SW1
! GRUPO 2 · SW2 → SW1 - SW2
configure terminal
! GRUPO 2 - PAGP - PUERTOS FISICOS
interface range fastEthernet 0/3 - 4
shutdown
switchport mode trunk
switchport trunk allowed vlan 10,20,100
switchport trunk native vlan 100
switchport nonegotiate
channel-protocol pagp
channel-group 2 mode desirable
exit
! TRUNK DEL PORT-CHANNEL
interface port-channel 2
switchport mode trunk
switchport trunk allowed vlan 10,20,100
switchport trunk native vlan 100
switchport nonegotiate
no shutdown
exit
interface range fastEthernet 0/3 - 4
no shutdown
end
Grupo 2 · SW1 → SW2
! GRUPO 2 · SW1 → SW2 - SW1
configure terminal
! GRUPO 2 - PAGP - PUERTOS FISICOS
interface range fastEthernet 0/3 - 4
shutdown
switchport mode trunk
switchport trunk allowed vlan 10,20,100
switchport trunk native vlan 100
switchport nonegotiate
channel-protocol pagp
channel-group 2 mode auto
exit
! TRUNK DEL PORT-CHANNEL
interface port-channel 2
switchport mode trunk
switchport trunk allowed vlan 10,20,100
switchport trunk native vlan 100
switchport nonegotiate
no shutdown
exit
interface range fastEthernet 0/3 - 4
no shutdown
end
Grupo 3 · SW3 → SW1
! GRUPO 3 · SW3 → SW1 - SW3
configure terminal
! GRUPO 3 - LACP - PUERTOS FISICOS
interface range fastEthernet 0/5 - 6
shutdown
switchport mode trunk
switchport trunk allowed vlan 10,20,100
switchport trunk native vlan 100
switchport nonegotiate
channel-protocol lacp
channel-group 3 mode active
exit
! TRUNK DEL PORT-CHANNEL
interface port-channel 3
switchport mode trunk
switchport trunk allowed vlan 10,20,100
switchport trunk native vlan 100
switchport nonegotiate
no shutdown
exit
interface range fastEthernet 0/5 - 6
no shutdown
end
Grupo 3 · SW1 → SW3
! GRUPO 3 · SW1 → SW3 - SW1
configure terminal
! GRUPO 3 - LACP - PUERTOS FISICOS
interface range fastEthernet 0/5 - 6
shutdown
switchport mode trunk
switchport trunk allowed vlan 10,20,100
switchport trunk native vlan 100
switchport nonegotiate
channel-protocol lacp
channel-group 3 mode passive
exit
! TRUNK DEL PORT-CHANNEL
interface port-channel 3
switchport mode trunk
switchport trunk allowed vlan 10,20,100
switchport trunk native vlan 100
switchport nonegotiate
no shutdown
exit
interface range fastEthernet 0/5 - 6
no shutdown
end
Grupo 4 · MLS1 → MLS2
! GRUPO 4 · MLS1 → MLS2 - MLS1
configure terminal
! GRUPO 4 - LACP - PUERTOS FISICOS
interface range fastEthernet 0/3 - 4
shutdown
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 30,40,100
switchport trunk native vlan 100
switchport nonegotiate
channel-protocol lacp
channel-group 4 mode active
exit
! TRUNK DEL PORT-CHANNEL
interface port-channel 4
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 30,40,100
switchport trunk native vlan 100
switchport nonegotiate
no shutdown
exit
interface range fastEthernet 0/3 - 4
no shutdown
end
Grupo 4 · MLS2 → MLS1
! GRUPO 4 · MLS2 → MLS1 - MLS2
configure terminal
! GRUPO 4 - LACP - PUERTOS FISICOS
interface range fastEthernet 0/3 - 4
shutdown
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 30,40,100
switchport trunk native vlan 100
switchport nonegotiate
channel-protocol lacp
channel-group 4 mode passive
exit
! TRUNK DEL PORT-CHANNEL
interface port-channel 4
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 30,40,100
switchport trunk native vlan 100
switchport nonegotiate
no shutdown
exit
interface range fastEthernet 0/3 - 4
no shutdown
end
Grupo 5 · MLS2 → MLS4
! GRUPO 5 · MLS2 → MLS4 - MLS2
configure terminal
! GRUPO 5 - PAGP - PUERTOS FISICOS
interface range fastEthernet 0/1 - 2
shutdown
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 30,40,100
switchport trunk native vlan 100
switchport nonegotiate
channel-protocol pagp
channel-group 5 mode desirable
exit
! TRUNK DEL PORT-CHANNEL
interface port-channel 5
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 30,40,100
switchport trunk native vlan 100
switchport nonegotiate
no shutdown
exit
interface range fastEthernet 0/1 - 2
no shutdown
end
Grupo 5 · MLS4 → MLS2
! GRUPO 5 · MLS4 → MLS2 - MLS4
configure terminal
! GRUPO 5 - PAGP - PUERTOS FISICOS
interface range fastEthernet 0/1 - 2
shutdown
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 30,40,100
switchport trunk native vlan 100
switchport nonegotiate
channel-protocol pagp
channel-group 5 mode auto
exit
! TRUNK DEL PORT-CHANNEL
interface port-channel 5
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 30,40,100
switchport trunk native vlan 100
switchport nonegotiate
no shutdown
exit
interface range fastEthernet 0/1 - 2
no shutdown
end
Grupo 6 · MLS3 → MLS4
! GRUPO 6 · MLS3 → MLS4 - MLS3
configure terminal
! GRUPO 6 - LACP - PUERTOS FISICOS
interface range fastEthernet 0/3 - 4
shutdown
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 30,40,100
switchport trunk native vlan 100
switchport nonegotiate
channel-protocol lacp
channel-group 6 mode active
exit
! TRUNK DEL PORT-CHANNEL
interface port-channel 6
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 30,40,100
switchport trunk native vlan 100
switchport nonegotiate
no shutdown
exit
interface range fastEthernet 0/3 - 4
no shutdown
end
Grupo 6 · MLS4 → MLS3
! GRUPO 6 · MLS4 → MLS3 - MLS4
configure terminal
! GRUPO 6 - LACP - PUERTOS FISICOS
interface range fastEthernet 0/3 - 4
shutdown
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 30,40,100
switchport trunk native vlan 100
switchport nonegotiate
channel-protocol lacp
channel-group 6 mode passive
exit
! TRUNK DEL PORT-CHANNEL
interface port-channel 6
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 30,40,100
switchport trunk native vlan 100
switchport nonegotiate
no shutdown
exit
interface range fastEthernet 0/3 - 4
no shutdown
end
Grupo 7 · MLS1 → MLS3
! GRUPO 7 · MLS1 → MLS3 - MLS1
configure terminal
! GRUPO 7 - PAGP - PUERTOS FISICOS
interface range fastEthernet 0/1 - 2
shutdown
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 30,40,100
switchport trunk native vlan 100
switchport nonegotiate
channel-protocol pagp
channel-group 7 mode desirable
exit
! TRUNK DEL PORT-CHANNEL
interface port-channel 7
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 30,40,100
switchport trunk native vlan 100
switchport nonegotiate
no shutdown
exit
interface range fastEthernet 0/1 - 2
no shutdown
end
Grupo 7 · MLS3 → MLS1
! GRUPO 7 · MLS3 → MLS1 - MLS3
configure terminal
! GRUPO 7 - PAGP - PUERTOS FISICOS
interface range fastEthernet 0/1 - 2
shutdown
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 30,40,100
switchport trunk native vlan 100
switchport nonegotiate
channel-protocol pagp
channel-group 7 mode auto
exit
! TRUNK DEL PORT-CHANNEL
interface port-channel 7
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 30,40,100
switchport trunk native vlan 100
switchport nonegotiate
no shutdown
exit
interface range fastEthernet 0/1 - 2
no shutdown
end
Detalles de esta etapa
El número de channel-group identifica un port-channel local, no una VLAN. Los números siguen la imagen. Si tu modelo limita los identificadores disponibles, elige un número local admitido y actualiza también interface port-channel; los números no necesitan coincidir entre extremos. No apliques dos grupos distintos a los mismos puertos.
05 · Trunks individuales y puertos access
Los enlaces SW2–SW4 y SW4–routers son trunks individuales. Los cuatro PC se conectan a puertos access. PortFast y BPDU Guard se aplican solo a esos puertos de equipos finales.
Trunk hacia SW4
! TRUNK HACIA SW4 - SW2
configure terminal
interface fastEthernet 0/24
switchport mode trunk
switchport trunk allowed vlan 10,20,100
switchport trunk native vlan 100
switchport nonegotiate
no shutdown
end
Trunk hacia SW2 y hacia los dos routers
! TRUNK HACIA SW2 Y HACIA LOS DOS ROUTERS - SW4
configure terminal
! ENLACE A SW2
interface fastEthernet 0/24
switchport mode trunk
switchport trunk allowed vlan 10,20,100
switchport trunk native vlan 100
switchport nonegotiate
no shutdown
exit
! ENLACES A MELIPILLA Y ELMONTE
interface range gigabitEthernet 0/1 - 2
switchport mode trunk
switchport trunk allowed vlan 10,20,100
switchport trunk native vlan 100
switchport nonegotiate
no shutdown
end
PC de VLAN 10 · Fa0/10
! PC DE VLAN 10 · FA0/10 - SW3
configure terminal
interface fastEthernet 0/10
switchport mode access
switchport access vlan 10
spanning-tree portfast
spanning-tree bpduguard enable
no shutdown
end
PC de VLAN 20 · Fa0/10
! PC DE VLAN 20 · FA0/10 - SW1
configure terminal
interface fastEthernet 0/10
switchport mode access
switchport access vlan 20
spanning-tree portfast
spanning-tree bpduguard enable
no shutdown
end
PC de VLAN 30 · Fa0/10
! PC DE VLAN 30 · FA0/10 - MLS3
configure terminal
interface fastEthernet 0/10
switchport mode access
switchport access vlan 30
spanning-tree portfast
spanning-tree bpduguard enable
no shutdown
end
PC de VLAN 40 · Fa0/10
! PC DE VLAN 40 · FA0/10 - MLS4
configure terminal
interface fastEthernet 0/10
switchport mode access
switchport access vlan 40
spanning-tree portfast
spanning-tree bpduguard enable
no shutdown
end
06 · Spanning Tree
STP ve cada EtherChannel operativo como un enlace lógico. SW2 será root para VLAN 10 y 20, con prioridad 4096. A la derecha alineamos el root STP con el activo HSRP: MLS1 para VLAN 30 y MLS2 para VLAN 40.
Root del sector izquierdo
! ROOT DEL SECTOR IZQUIERDO - SW2
configure terminal
spanning-tree mode pvst
spanning-tree vlan 10,20,100 priority 4096
end
Root de respaldo del sector izquierdo
! ROOT DE RESPALDO DEL SECTOR IZQUIERDO - SW3
configure terminal
spanning-tree mode pvst
spanning-tree vlan 10,20,100 priority 8192
end
En SW1 y SW4 · prioridad predeterminada
! EN SW1 Y SW4 · PRIORIDAD PREDETERMINADA - SW1
configure terminal
spanning-tree mode pvst
end
Root VLAN 30 y 100 · respaldo VLAN 40
! ROOT VLAN 30 Y 100 · RESPALDO VLAN 40 - MLS1
configure terminal
spanning-tree mode pvst
spanning-tree vlan 30,100 priority 4096
spanning-tree vlan 40 priority 8192
end
Root VLAN 40 · respaldo VLAN 30 y 100
! ROOT VLAN 40 · RESPALDO VLAN 30 Y 100 - MLS2
configure terminal
spanning-tree mode pvst
spanning-tree vlan 40 priority 4096
spanning-tree vlan 30,100 priority 8192
end
En MLS3 y MLS4 · prioridad predeterminada
! EN MLS3 Y MLS4 · PRIORIDAD PREDETERMINADA - MLS3
configure terminal
spanning-tree mode pvst
end
Detalles de esta etapa
Usamos prioridades explícitas para que el resultado sea predecible. root primary y root secondary son otra forma de elegir roles; no es necesario añadirlas después de estos valores. Un port-channel bloqueado por STP puede ser el camino de respaldo esperado.
07 · Router-on-a-stick · MELIPILLA y ELMONTE
Ambos routers transportan VLAN 10, 20 y 100 por Gi0/1. Cada uno tiene su IP física; la IP virtual que usarán los PC se configura en HSRP. No asignes la IP virtual como dirección física de una subinterfaz.
Subinterfaces de MELIPILLA
! SUBINTERFACES DE MELIPILLA - MELIPILLA
configure terminal
! INTERFAZ AL SWITCH4
interface gigabitEthernet 0/1
no ip address
no shutdown
exit
! VLAN 10, VLAN 20 Y NATIVA 100
interface gigabitEthernet 0/1.10
encapsulation dot1Q 10
ip address 172.16.0.2 255.255.255.0
exit
interface gigabitEthernet 0/1.20
encapsulation dot1Q 20
ip address 172.16.1.2 255.255.255.128
exit
interface gigabitEthernet 0/1.100
encapsulation dot1Q 100 native
ip address 172.16.1.226 255.255.255.240
exit
end
Subinterfaces de ELMONTE
! SUBINTERFACES DE ELMONTE - ELMONTE
configure terminal
! INTERFAZ AL SWITCH4
interface gigabitEthernet 0/1
no ip address
no shutdown
exit
! VLAN 10, VLAN 20 Y NATIVA 100
interface gigabitEthernet 0/1.10
encapsulation dot1Q 10
ip address 172.16.0.3 255.255.255.0
exit
interface gigabitEthernet 0/1.20
encapsulation dot1Q 20
ip address 172.16.1.3 255.255.255.128
exit
interface gigabitEthernet 0/1.100
encapsulation dot1Q 100 native
ip address 172.16.1.227 255.255.255.240
exit
end
08 · SVI · MLS1 y MLS2
Los multilayer de la izquierda del cuadrado realizan routing. Las SVI de VLAN 30, 40 y 100 tienen una IP física en cada equipo. MLS3 y MLS4 actúan como switches de acceso aunque su hardware sea de capa 3.
Routing inter-VLAN en MLS1
! ROUTING INTER-VLAN EN MLS1 - MLS1
configure terminal
ip routing
! INTERFACES VLAN
interface vlan 30
ip address 172.16.1.130 255.255.255.192
no shutdown
exit
interface vlan 40
ip address 172.16.1.194 255.255.255.224
no shutdown
exit
interface vlan 100
ip address 172.16.1.242 255.255.255.240
no shutdown
exit
end
Notas de este bloque
El módulo de Routing inter-VLAN explica la base; la configuración detallada mediante SVI todavía no tiene un módulo propio. Una SVI requiere una VLAN existente y al menos un puerto activo que la transporte en forwarding.
Routing inter-VLAN en MLS2
! ROUTING INTER-VLAN EN MLS2 - MLS2
configure terminal
ip routing
! INTERFACES VLAN
interface vlan 30
ip address 172.16.1.131 255.255.255.192
no shutdown
exit
interface vlan 40
ip address 172.16.1.195 255.255.255.224
no shutdown
exit
interface vlan 100
ip address 172.16.1.243 255.255.255.240
no shutdown
exit
end
Notas de este bloque
El módulo de Routing inter-VLAN explica la base; la configuración detallada mediante SVI todavía no tiene un módulo propio. Una SVI requiere una VLAN existente y al menos un puerto activo que la transporte en forwarding.
09 · Enlaces al ISP
Conservamos las redes /24 de la captura. El ISP usa .1 en cada enlace y el extremo vecino usa .2. Las interfaces de MLS1 y MLS2 hacia el ISP son puertos enrutados: no llevan trunk ni EtherChannel.
Serial DCE hacia ISP
! SERIAL DCE HACIA ISP - MELIPILLA
configure terminal
interface serial 0/0/0
ip address 192.168.40.2 255.255.255.0
clock rate 64000
no shutdown
end
Notas de este bloque
Este bloque supone que MELIPILLA tiene el extremo DCE, como indica el plano. Si show controllers serial 0/0/0 muestra DTE, el clock rate se configura en el otro extremo.
Serial DCE hacia ISP
! SERIAL DCE HACIA ISP - ELMONTE
configure terminal
interface serial 0/0/1
ip address 192.168.50.2 255.255.255.0
clock rate 64000
no shutdown
end
Notas de este bloque
Este bloque supone que ELMONTE tiene el extremo DCE. Verifícalo con show controllers serial 0/0/1.
Gi0/1 · puerto enrutado
! GI0/1 · PUERTO ENRUTADO - MLS1
configure terminal
interface gigabitEthernet 0/1
no switchport
ip address 192.168.60.2 255.255.255.0
no shutdown
end
Gi0/2 · puerto enrutado
! GI0/2 · PUERTO ENRUTADO - MLS2
configure terminal
interface gigabitEthernet 0/2
no switchport
ip address 192.168.70.2 255.255.255.0
no shutdown
end
Cuatro enlaces de tránsito y red del servidor
! CUATRO ENLACES DE TRÁNSITO Y RED DEL SERVIDOR - ISP
configure terminal
! ENLACES SERIALES
interface serial 0/0/0
ip address 192.168.40.1 255.255.255.0
no shutdown
exit
interface serial 0/0/1
ip address 192.168.50.1 255.255.255.0
no shutdown
exit
! ENLACES A LOS MULTILAYER
interface gigabitEthernet 0/1
ip address 192.168.60.1 255.255.255.0
no shutdown
exit
interface gigabitEthernet 0/2
ip address 192.168.70.1 255.255.255.0
no shutdown
exit
! RED DEL SERVIDOR DNS
interface gigabitEthernet 0/0
ip address 192.168.80.1 255.255.255.0
no shutdown
end
10 · HSRP · gateways de respaldo
MELIPILLA es activo de VLAN 10 y ELMONTE de VLAN 20. MLS1 es activo de VLAN 30 y MLS2 de VLAN 40. En cada pareja, el otro equipo queda en espera. Para gestión elegimos MELIPILLA y MLS1 como activos de sus respectivas VLAN 100.
Activo VLAN 10 y 100 · espera VLAN 20
! ACTIVO VLAN 10 Y 100 · ESPERA VLAN 20 - MELIPILLA
configure terminal
! GATEWAY VIRTUAL POR VLAN
interface gigabitEthernet 0/1.10
standby 10 ip 172.16.0.1
standby 10 priority 110
standby 10 preempt
standby 10 track serial 0/0/0
exit
interface gigabitEthernet 0/1.20
standby 20 ip 172.16.1.1
standby 20 priority 105
standby 20 preempt
standby 20 track serial 0/0/0
exit
interface gigabitEthernet 0/1.100
standby 100 ip 172.16.1.225
standby 100 priority 110
standby 100 preempt
standby 100 track serial 0/0/0
exit
end
Activo VLAN 20 · espera VLAN 10 y 100
! ACTIVO VLAN 20 · ESPERA VLAN 10 Y 100 - ELMONTE
configure terminal
! GATEWAY VIRTUAL POR VLAN
interface gigabitEthernet 0/1.10
standby 10 ip 172.16.0.1
standby 10 priority 105
standby 10 preempt
standby 10 track serial 0/0/1
exit
interface gigabitEthernet 0/1.20
standby 20 ip 172.16.1.1
standby 20 priority 110
standby 20 preempt
standby 20 track serial 0/0/1
exit
interface gigabitEthernet 0/1.100
standby 100 ip 172.16.1.225
standby 100 priority 105
standby 100 preempt
standby 100 track serial 0/0/1
exit
end
Activo VLAN 30 y 100 · espera VLAN 40
! ACTIVO VLAN 30 Y 100 · ESPERA VLAN 40 - MLS1
configure terminal
! GATEWAY VIRTUAL POR VLAN
interface vlan 30
standby 30 ip 172.16.1.129
standby 30 priority 110
standby 30 preempt
standby 30 track gigabitEthernet 0/1
exit
interface vlan 40
standby 40 ip 172.16.1.193
standby 40 priority 105
standby 40 preempt
standby 40 track gigabitEthernet 0/1
exit
interface vlan 100
standby 100 ip 172.16.1.241
standby 100 priority 110
standby 100 preempt
standby 100 track gigabitEthernet 0/1
exit
end
Activo VLAN 40 · espera VLAN 30 y 100
! ACTIVO VLAN 40 · ESPERA VLAN 30 Y 100 - MLS2
configure terminal
! GATEWAY VIRTUAL POR VLAN
interface vlan 30
standby 30 ip 172.16.1.129
standby 30 priority 105
standby 30 preempt
standby 30 track gigabitEthernet 0/2
exit
interface vlan 40
standby 40 ip 172.16.1.193
standby 40 priority 110
standby 40 preempt
standby 40 track gigabitEthernet 0/2
exit
interface vlan 100
standby 100 ip 172.16.1.241
standby 100 priority 105
standby 100 preempt
standby 100 track gigabitEthernet 0/2
exit
end
Detalles de esta etapa
El activo previsto tiene prioridad 110 y el respaldo 105. El seguimiento de interfaz resta 10 por defecto al caer su enlace al ISP; preempt permite que el otro asuma el rol. Esto comprueba el estado del enlace local, no toda la conectividad más allá del ISP. La categoría de redundancia explica el procedimiento con una topología más pequeña; estos bloques corresponden al plano integrado.
11 · Rutas estáticas · camino de ida y regreso
Los routers de los extremos y los dos multilayer de distribución salen por el ISP. El ISP conoce las redes de ambos sectores y tiene un siguiente salto de respaldo para cada una.
Ruta por defecto hacia ISP
! RUTA POR DEFECTO HACIA ISP - MELIPILLA
configure terminal
ip route 0.0.0.0 0.0.0.0 192.168.40.1
end
Ruta por defecto hacia ISP
! RUTA POR DEFECTO HACIA ISP - ELMONTE
configure terminal
ip route 0.0.0.0 0.0.0.0 192.168.50.1
end
Ruta por defecto hacia ISP
! RUTA POR DEFECTO HACIA ISP - MLS1
configure terminal
ip route 0.0.0.0 0.0.0.0 192.168.60.1
end
Ruta por defecto hacia ISP
! RUTA POR DEFECTO HACIA ISP - MLS2
configure terminal
ip route 0.0.0.0 0.0.0.0 192.168.70.1
end
Redes de ambos sectores y rutas flotantes
! REDES DE AMBOS SECTORES Y RUTAS FLOTANTES - ISP
configure terminal
! RUTA PRINCIPAL Y RESPALDO CON DISTANCIA 10
ip route 172.16.0.0 255.255.255.0 192.168.40.2
ip route 172.16.0.0 255.255.255.0 192.168.50.2 10
ip route 172.16.1.0 255.255.255.128 192.168.50.2
ip route 172.16.1.0 255.255.255.128 192.168.40.2 10
ip route 172.16.1.128 255.255.255.192 192.168.60.2
ip route 172.16.1.128 255.255.255.192 192.168.70.2 10
ip route 172.16.1.192 255.255.255.224 192.168.70.2
ip route 172.16.1.192 255.255.255.224 192.168.60.2 10
ip route 172.16.1.224 255.255.255.240 192.168.40.2
ip route 172.16.1.224 255.255.255.240 192.168.50.2 10
ip route 172.16.1.240 255.255.255.240 192.168.60.2
ip route 172.16.1.240 255.255.255.240 192.168.70.2 10
end
Detalles de esta etapa
El 10 final es distancia administrativa: la ruta flotante se utiliza cuando deja de estar disponible la principal. No prueba por sí sola que un destino responda. Las rutas de gestión son distintas a cada lado porque VLAN 100 no cruza el ISP como capa 2.
12 · DHCP · reparto según la topología
Cada VLAN tiene un único servidor DHCP: MELIPILLA para VLAN 10, ELMONTE para VLAN 20, MLS1 para VLAN 30 y MLS2 para VLAN 40. El gateway entregado es siempre la IP virtual HSRP y el DNS es SERVER-ISP.
Pool de VLAN 10 · PROFESORES
! POOL DE VLAN 10 · PROFESORES - MELIPILLA
configure terminal
! RESERVAR LAS DIEZ PRIMERAS IP UTILIZABLES
ip dhcp excluded-address 172.16.0.1 172.16.0.10
! POOL VLAN 10
ip dhcp pool VLAN10_PROFESORES
network 172.16.0.0 255.255.255.0
default-router 172.16.0.1
dns-server 192.168.80.10
exit
end
Pool de VLAN 20 · ALUMNOS
! POOL DE VLAN 20 · ALUMNOS - ELMONTE
configure terminal
! RESERVAR LAS DIEZ PRIMERAS IP UTILIZABLES
ip dhcp excluded-address 172.16.1.1 172.16.1.10
! POOL VLAN 20
ip dhcp pool VLAN20_ALUMNOS
network 172.16.1.0 255.255.255.128
default-router 172.16.1.1
dns-server 192.168.80.10
exit
end
Pool de VLAN 30 · DIRECCION
! POOL DE VLAN 30 · DIRECCION - MLS1
configure terminal
! RESERVAR LAS DIEZ PRIMERAS IP UTILIZABLES
ip dhcp excluded-address 172.16.1.129 172.16.1.138
! POOL VLAN 30
ip dhcp pool VLAN30_DIRECCION
network 172.16.1.128 255.255.255.192
default-router 172.16.1.129
dns-server 192.168.80.10
exit
end
Pool de VLAN 40 · SERV_DIGITALES
! POOL DE VLAN 40 · SERV_DIGITALES - MLS2
configure terminal
! RESERVAR LAS DIEZ PRIMERAS IP UTILIZABLES
ip dhcp excluded-address 172.16.1.193 172.16.1.202
! POOL VLAN 40
ip dhcp pool VLAN40_SERV_DIGITALES
network 172.16.1.192 255.255.255.224
default-router 172.16.1.193
dns-server 192.168.80.10
exit
end
Detalles de esta etapa
No hace falta ip helper-address: los servidores DHCP están conectados directamente a sus VLANs mediante subinterfaces o SVI. HSRP respalda el gateway, pero no replica las concesiones DHCP: si cae el único servidor de una VLAN, no habrá nuevas asignaciones hasta que vuelva. Las direcciones ya concedidas pueden seguir funcionando mientras sean válidas.
13 · Administración de los switches
Las IP de MELIPILLA, ELMONTE, MLS1 y MLS2 ya están en sus subinterfaces o SVI. Aquí se asignan las de SW1–SW4 y de los multilayer de acceso. Cada sector usa su propio gateway virtual de gestión.
SVI de administración · VLAN 100
! SVI DE ADMINISTRACIÓN · VLAN 100 - SW2
configure terminal
interface vlan 100
ip address 172.16.1.228 255.255.255.240
no shutdown
exit
ip default-gateway 172.16.1.225
end
Notas de este bloque
La configuración de una SVI de administración todavía no tiene un módulo propio; los enlaces repasan direccionamiento y SSH.
SVI de administración · VLAN 100
! SVI DE ADMINISTRACIÓN · VLAN 100 - SW3
configure terminal
interface vlan 100
ip address 172.16.1.229 255.255.255.240
no shutdown
exit
ip default-gateway 172.16.1.225
end
Notas de este bloque
La configuración de una SVI de administración todavía no tiene un módulo propio; los enlaces repasan direccionamiento y SSH.
SVI de administración · VLAN 100
! SVI DE ADMINISTRACIÓN · VLAN 100 - SW1
configure terminal
interface vlan 100
ip address 172.16.1.230 255.255.255.240
no shutdown
exit
ip default-gateway 172.16.1.225
end
Notas de este bloque
La configuración de una SVI de administración todavía no tiene un módulo propio; los enlaces repasan direccionamiento y SSH.
SVI de administración · VLAN 100
! SVI DE ADMINISTRACIÓN · VLAN 100 - SW4
configure terminal
interface vlan 100
ip address 172.16.1.231 255.255.255.240
no shutdown
exit
ip default-gateway 172.16.1.225
end
Notas de este bloque
La configuración de una SVI de administración todavía no tiene un módulo propio; los enlaces repasan direccionamiento y SSH.
SVI de administración · VLAN 100
! SVI DE ADMINISTRACIÓN · VLAN 100 - MLS3
configure terminal
! ESTE MULTILAYER CUMPLE FUNCION DE ACCESO L2
no ip routing
interface vlan 100
ip address 172.16.1.244 255.255.255.240
no shutdown
exit
ip default-gateway 172.16.1.241
end
Notas de este bloque
La configuración de una SVI de administración todavía no tiene un módulo propio; los enlaces repasan direccionamiento y SSH.
SVI de administración · VLAN 100
! SVI DE ADMINISTRACIÓN · VLAN 100 - MLS4
configure terminal
! ESTE MULTILAYER CUMPLE FUNCION DE ACCESO L2
no ip routing
interface vlan 100
ip address 172.16.1.245 255.255.255.240
no shutdown
exit
ip default-gateway 172.16.1.241
end
Notas de este bloque
La configuración de una SVI de administración todavía no tiene un módulo propio; los enlaces repasan direccionamiento y SSH.
14 · SERVER-ISP y los PC
En Server-PT y PC-PT estos ajustes se hacen en sus ventanas de configuración. No son comandos de Cisco IOS.
| Campo | Valor |
|---|---|
| IP | 192.168.80.10 |
| Máscara | 255.255.255.0 |
| Gateway | 192.168.80.1 |
| DNS | 192.168.80.10 |
En Services → DNS, activa On y añade un registro A con nombre duoc.cl y dirección 192.168.80.10. El servidor no entrega DHCP en esta topología.
| PC / conexión | VLAN | Rango DHCP previsto | Gateway |
|---|---|---|---|
| PC10 · SW3 Fa0/10 | 10 | 172.16.0.11–172.16.0.254 | 172.16.0.1 |
| PC20 · SW1 Fa0/10 | 20 | 172.16.1.11–172.16.1.126 | 172.16.1.1 |
| PC30 · MLS3 Fa0/10 | 30 | 172.16.1.139–172.16.1.190 | 172.16.1.129 |
| PC40 · MLS4 Fa0/10 | 40 | 172.16.1.203–172.16.1.222 | 172.16.1.193 |
El DNS recibido por los cuatro PC debe ser 192.168.80.10. Que resuelva el nombre no implica que haya una web: para probar navegación HTTP necesitarías activar también ese servicio.
15 · Opcional · sustituir las rutas estáticas
La configuración principal usa rutas estáticas. Si tu laboratorio pide routing dinámico, elige RIPv2 u OSPF en los cinco equipos que enrutan. Estos bloques retiran las rutas estáticas de esta referencia; no son un paso adicional del recorrido principal.
Ver las alternativas RIPv2 y OSPF para esta topología
RIPv2 · MELIPILLA
! RIPV2 · MELIPILLA - MELIPILLA
configure terminal
! RETIRAR LAS RUTAS ESTATICAS DE ESTE LABORATORIO
no ip route 0.0.0.0 0.0.0.0 192.168.40.1
! RIPV2
router rip
version 2
no auto-summary
network 172.16.0.0
network 192.168.40.0
passive-interface default
no passive-interface serial 0/0/0
end
RIPv2 · ELMONTE
! RIPV2 · ELMONTE - ELMONTE
configure terminal
! RETIRAR LAS RUTAS ESTATICAS DE ESTE LABORATORIO
no ip route 0.0.0.0 0.0.0.0 192.168.50.1
! RIPV2
router rip
version 2
no auto-summary
network 172.16.0.0
network 192.168.50.0
passive-interface default
no passive-interface serial 0/0/1
end
RIPv2 · ISP
! RIPV2 · ISP - ISP
configure terminal
! RETIRAR LAS RUTAS ESTATICAS DE ESTE LABORATORIO
no ip route 172.16.0.0 255.255.255.0 192.168.40.2
no ip route 172.16.0.0 255.255.255.0 192.168.50.2 10
no ip route 172.16.1.0 255.255.255.128 192.168.50.2
no ip route 172.16.1.0 255.255.255.128 192.168.40.2 10
no ip route 172.16.1.128 255.255.255.192 192.168.60.2
no ip route 172.16.1.128 255.255.255.192 192.168.70.2 10
no ip route 172.16.1.192 255.255.255.224 192.168.70.2
no ip route 172.16.1.192 255.255.255.224 192.168.60.2 10
no ip route 172.16.1.224 255.255.255.240 192.168.40.2
no ip route 172.16.1.224 255.255.255.240 192.168.50.2 10
no ip route 172.16.1.240 255.255.255.240 192.168.60.2
no ip route 172.16.1.240 255.255.255.240 192.168.70.2 10
! RIPV2
router rip
version 2
no auto-summary
network 192.168.40.0
network 192.168.50.0
network 192.168.60.0
network 192.168.70.0
network 192.168.80.0
passive-interface default
no passive-interface serial 0/0/0
no passive-interface serial 0/0/1
no passive-interface gigabitEthernet 0/1
no passive-interface gigabitEthernet 0/2
end
RIPv2 · MLS1
! RIPV2 · MLS1 - MLS1
configure terminal
! RETIRAR LAS RUTAS ESTATICAS DE ESTE LABORATORIO
no ip route 0.0.0.0 0.0.0.0 192.168.60.1
! RIPV2
router rip
version 2
no auto-summary
network 172.16.0.0
network 192.168.60.0
passive-interface default
no passive-interface gigabitEthernet 0/1
end
RIPv2 · MLS2
! RIPV2 · MLS2 - MLS2
configure terminal
! RETIRAR LAS RUTAS ESTATICAS DE ESTE LABORATORIO
no ip route 0.0.0.0 0.0.0.0 192.168.70.1
! RIPV2
router rip
version 2
no auto-summary
network 172.16.0.0
network 192.168.70.0
passive-interface default
no passive-interface gigabitEthernet 0/2
end
OSPF · MELIPILLA
! OSPF · MELIPILLA - MELIPILLA
configure terminal
! RETIRAR LAS RUTAS ESTATICAS DE ESTE LABORATORIO
no ip route 0.0.0.0 0.0.0.0 192.168.40.1
! OSPF AREA 0
router ospf 1
router-id 1.1.1.1
network 172.16.0.0 0.0.15.255 area 0
network 192.168.40.0 0.0.0.255 area 0
passive-interface default
no passive-interface serial 0/0/0
end
OSPF · ELMONTE
! OSPF · ELMONTE - ELMONTE
configure terminal
! RETIRAR LAS RUTAS ESTATICAS DE ESTE LABORATORIO
no ip route 0.0.0.0 0.0.0.0 192.168.50.1
! OSPF AREA 0
router ospf 1
router-id 2.2.2.2
network 172.16.0.0 0.0.15.255 area 0
network 192.168.50.0 0.0.0.255 area 0
passive-interface default
no passive-interface serial 0/0/1
end
OSPF · ISP
! OSPF · ISP - ISP
configure terminal
! RETIRAR LAS RUTAS ESTATICAS DE ESTE LABORATORIO
no ip route 172.16.0.0 255.255.255.0 192.168.40.2
no ip route 172.16.0.0 255.255.255.0 192.168.50.2 10
no ip route 172.16.1.0 255.255.255.128 192.168.50.2
no ip route 172.16.1.0 255.255.255.128 192.168.40.2 10
no ip route 172.16.1.128 255.255.255.192 192.168.60.2
no ip route 172.16.1.128 255.255.255.192 192.168.70.2 10
no ip route 172.16.1.192 255.255.255.224 192.168.70.2
no ip route 172.16.1.192 255.255.255.224 192.168.60.2 10
no ip route 172.16.1.224 255.255.255.240 192.168.40.2
no ip route 172.16.1.224 255.255.255.240 192.168.50.2 10
no ip route 172.16.1.240 255.255.255.240 192.168.60.2
no ip route 172.16.1.240 255.255.255.240 192.168.70.2 10
! OSPF AREA 0
router ospf 1
router-id 3.3.3.3
network 192.168.40.0 0.0.0.255 area 0
network 192.168.50.0 0.0.0.255 area 0
network 192.168.60.0 0.0.0.255 area 0
network 192.168.70.0 0.0.0.255 area 0
network 192.168.80.0 0.0.0.255 area 0
passive-interface default
no passive-interface serial 0/0/0
no passive-interface serial 0/0/1
no passive-interface gigabitEthernet 0/1
no passive-interface gigabitEthernet 0/2
end
OSPF · MLS1
! OSPF · MLS1 - MLS1
configure terminal
! RETIRAR LAS RUTAS ESTATICAS DE ESTE LABORATORIO
no ip route 0.0.0.0 0.0.0.0 192.168.60.1
! OSPF AREA 0
router ospf 1
router-id 4.4.4.4
network 172.16.0.0 0.0.15.255 area 0
network 192.168.60.0 0.0.0.255 area 0
passive-interface default
no passive-interface gigabitEthernet 0/1
end
OSPF · MLS2
! OSPF · MLS2 - MLS2
configure terminal
! RETIRAR LAS RUTAS ESTATICAS DE ESTE LABORATORIO
no ip route 0.0.0.0 0.0.0.0 192.168.70.1
! OSPF AREA 0
router ospf 1
router-id 5.5.5.5
network 172.16.0.0 0.0.15.255 area 0
network 192.168.70.0 0.0.0.255 area 0
passive-interface default
no passive-interface gigabitEthernet 0/2
end
Detalles de esta etapa
Elige una única alternativa desde la base estática. Si ya activaste RIP y quieres cambiar a OSPF, retira primero router rip; a la inversa, retira router ospf 1. Solo los enlaces hacia el ISP intercambian anuncios. El network 172.16.0.0 con wildcard /20 selecciona las interfaces de ese bloque en OSPF; no resume automáticamente sus rutas.
16 · Verificar y guardar
Comprueba primero enlaces y VLANs; luego los gateways HSRP, las rutas, DHCP y DNS. Los primeros ping pueden necesitar un intento adicional mientras se resuelven ARP y la convergencia.
Switches del triángulo · VLAN, trunk, EtherChannel y STP
! SWITCHES DEL TRIÁNGULO · VLAN, TRUNK, ETHERCHANNEL Y STP - SW2
! VLANS Y ENLACES
show vlan brief
show interfaces trunk
show etherchannel summary
! SPANNING TREE
show spanning-tree vlan 10
show spanning-tree vlan 20
show spanning-tree vlan 100
Multilayer del cuadrado · enlaces y STP
! MULTILAYER DEL CUADRADO · ENLACES Y STP - MLS1
show vlan brief
show interfaces trunk
show etherchannel summary
show spanning-tree vlan 30
show spanning-tree vlan 40
show spanning-tree vlan 100
En MELIPILLA, ELMONTE, MLS1 y MLS2 · HSRP
! EN MELIPILLA, ELMONTE, MLS1 Y MLS2 · HSRP - MELIPILLA
show standby brief
show ip interface brief
show ip route
En los cuatro servidores DHCP
! EN LOS CUATRO SERVIDORES DHCP - MELIPILLA
show ip dhcp pool
show ip dhcp binding
ISP · interfaces, seriales y rutas
! ISP · INTERFACES, SERIALES Y RUTAS - ISP
show ip interface brief
show controllers serial 0/0/0
show controllers serial 0/0/1
show ip route
En cada equipo administrable · SSH
! EN CADA EQUIPO ADMINISTRABLE · SSH - SW2
show ip ssh
show running-config
PC10 · gateway, otro sector y DNS
! PC10 · GATEWAY, OTRO SECTOR Y DNS - PC10
ipconfig /all
ping 172.16.0.1
ping 172.16.1.129
ping 192.168.80.10
ping duoc.cl
ssh -l soporte 172.16.1.228
Notas de este bloque
En los demás PC sustituye el primer ping por su propio gateway. El resto comprueba conectividad con VLAN 30, el servidor DNS y la administración de SW2.
Solo si elegiste routing dinámico
! SOLO SI ELEGISTE ROUTING DINÁMICO - ISP
show ip protocols
show ip route
! SOLO SI USASTE OSPF
show ip ospf neighbor
Guardar en cada router y switch
! GUARDAR EN CADA ROUTER Y SWITCH - MELIPILLA
copy running-config startup-config
Notas de este bloque
Confirma el nombre de destino con Enter. En los PC y el servidor conserva los ajustes y guarda también el archivo .pkt del laboratorio.
Detalles de esta etapa
Po(SU) indica un EtherChannel de capa 2 en uso y (P) un miembro integrado. show standby brief debe mostrar un Active y un Standby por VLAN y sector. Para probar respaldo, desconecta un enlace físico del canal o un uplink de un activo y repite los ping después de converger; restáuralo al terminar. HSRP no elimina los puntos únicos Switch4, ISP y el servidor DNS. No se ha ejecutado esta configuración en un archivo .pkt: los resultados deben comprobarse en tu simulación.
Referencias técnicas: HSRP y seguimiento de interfaces · Servidor DHCP · EtherChannel.