You are on page 1of 4

Enable

Configure terminal
Hostname sw-1
No ip domain-lookup
Do write
Show ip interface brief
Vlan 2 Show run
Name personal Gi 0/0/0 gi 0/0
Vlan 3
Name gerencia
Vlan 4
Name auditoria
Vlan 5
Do show vlan
Name gestion Do show run
Do write

Interface gi 0/1
Switchport mode trunk
Description enlace gi 0/1 hacia R1 Gi0/1
No shutdown
Do write

Interface fast 0/10


Description pc-01 de personal N1
Switchport mode access
Switchport access vlan 2

Interface fast 0/11


Description pc-02 de personal N1
Switchport mode access
Switchport access vlan 2

Do write

Interface fast 0/5


Description pc-01 de Gerecia financiera N1
Switchport mode access
Switchport access vlan 3

Interface fast 0/6


Description pc-02 de Gerencia general N1
Switchport mode access
Switchport access vlan 3

Do write

Interface fast 0/15


Description pc-01 de Auditoria general N1
Switchport mode access
Switchport access vlan 4

Interface fast 0/16


Description pc-02 de Auditoria financiera N1
Switchport mode access
Switchport access vlan 4

Do write
Interface vlan 5
Ip address 192.168.5.2 255.255.255.0
Description ip para conexion remota
No shutdown
Ip default-gateway 192.168.5.1

Me conecto por conosla al router

Enable
Configure terminaal
Hostname R1
No ip domain-lookup
Do write

Interface gi 0/1.2
Encapsulation dot1q 2
Ip address 192.168.2.1 255.255.255.0
Description Puerta de enlace de vlan 2 Personal

Interface gi 0/1.3
Encapsulation dot1q 3
Ip address 192.168.3.1 255.255.255.0
Description Puerta de enlace de vlan 3 gerencia

Interface gi 0/1.4
Encapsulation dot1q 4
Ip address 192.168.4.1 255.255.255.0
Description Puerta de enlace de vlan 4 auditoria

Interface gi 0/1.5
Encapsulation dot1q 5
Ip address 192.168.5.1 255.255.255.0
Description Puerta de enlace de vlan 5 gestion
Do write

Interface gi 0/1
No shutdown

Ddo write
PASARME A LA OTRA TOPOLOGIA
Al switch de CAPA 3

Enable
Configure terminal
Hostname SW-lab
No ip domain-lookup
Do write

Vlan 100
Name laboratorio
Vlan 101
Name supervisores
Vlan 102
Name gestion

Ip routing

Interface vlan 100


Description Puerta de enlace vlan 100 laboratorio
Ip address 192.168.100.1 255.255.255.0
No shutdown
Do write

Interface vlan 101


Description Puerta de enlace vlan 101 supervisores
Ip address 192.168.101.1 255.255.255.0
No shutdown
Do write

Interface vlan 102


Description Puerta de enlace vlan 102 gestion
Ip address 192.168.102.1 255.255.255.0
No shutdown
Do write

Interface fast 0/5


Switchport mode access
Switchport access vlan 100
Description PC de Juan de vlan 100

Interface fast 0/6


Switchport mode access
Switchport access vlan 100
Description PC de Pedro de vlan 100

Interface fast 0/10


Switchport mode access
Switchport access vlan 101
Description PC de ANA de vlan 101

Interface fast 0/11


Switchport mode access
Switchport access vlan 101
Description PC de JUANA de vlan 101
En el router de ISP

Enable
Configure terminal
Ip route 192.168.100.0 255.255.255.0 5.5.5.2
Ip route 192.168.101.0 255.255.255.0 5.5.5.2
Ip route 192.168.102.0 255.255.255.0 5.5.5.2

You might also like