You are on page 1of 3

Puertos que asignaremos a cada vlan

VLAN ALUMNOS PUERTOS FA0/1 A FA0/5


VLAN DIRECTORES PUERTOS FA0/10 A FA0/15
VALN SECRETARIAS PUERTOS FA0/20 A FA0/24

show vlan brief

VLAN 99 INTERFACE G0/1

VLAN 100 DE ADMINISTRACION SVI (Interfaz Virtual de Switch)


Administración remota
-La vlan de administracion no tiene asignado puertos
-se debe crear una interface de esta vlan
-Utilizar la segunda IP valida o tambien la ultima
-Determinar una gateway para el switch comando:
ip default-gateway
-La vlan de administracion necesita una subinterface en el router

TODO EN EL SWITCH
interface vlan 100
ip address 172.16.4.2 255.255.255.0
description Esta interface es de uso administrativo
no shutdown
do write
exit
ip default-gateway 172.16.4.1

interface range fa0/5-10


switchport mode access
switchport access vlan 100
exit
interface range fa0/11-15
switchport mode access
switchport access vlan 200
exit
interface range fa0/16-20
switchport mode access
switchport access vlan 300
exit

interface fa0/24
switchport mode trunk
description ### Tk - Switch1 F0/24 ###
exit

ROUTER
interface fa0/24
no shutdown
exit

interface g0/0.100
encapsulation dot1q 100
description Esta subinterface conecta a VLAN-CLIENTES
ip address 172.16.1.1 255.255.255.192
exit
interface g0/0.200
encapsulation dot1q 200
description Esta subinterface conecta a VLAN-DIRECTORES
ip address 172.16.2.1 255.255.255.192
exit
LA VLAN DE ADMINISTRACION NECESITA SUBINTERFACE
interface g0/0.100
encapsulation dot1q 100
description Esta subinterface conecta a VLAN-ADMINISTRACION
ip address 172.16.4.1 255.255.255.0
exit

enable
configure terminal
hostname Pizzeria
enable password pizza
service password-encryption
no ip domain-lookup
ip domain-name pizzeria.com
banner motd #Bienvenidos a Pizzas Angelotti#
line console 0
logging synchronous
password pizza
login local
exit
line vty 0 4
password utcv
login local
exit
username Daniela password perez
username Aaron password torres
username Jose password cid
username America password hernandez
exit
write

vlan 2
name VENTAS
exit
vlan 3
name INGENIERIA
exit
vlan 4
name ADMINISTRACION
exit
vlan 100
name CONSULTORIA
exit
vlan 200
name SOPORTE
exit
vlan 300
name DIRECCION
exit

interface range fa0/1-3


switchport mode access
switchport access vlan 2
description ### PC0 VLAN 2 ###
exit
interface range fa0/4-6
switchport mode access
switchport access vlan 3
description ### PC1 VLAN 3 ###
exit
interface range fa0/7-9
switchport mode access
switchport access vlan 4
description ### PC2 VLAN 4 ###
exit
interface range fa0/10-12
switchport mode access
switchport access vlan 100
description ### PC3 VLAN 100 ###
exit
interface range fa0/13-15
switchport mode access
switchport access vlan 200
description ### PC4 VLAN 200 ###
exit
interface range fa0/16-18
switchport mode access
switchport access vlan 300
description ### PC5 VLAN 300 ###
exit

-erase startup-config
-reload

You might also like