2 redes, 1 switch, 1 cable al router (sin edición)

CONFIGURACION ROUTER:

Router>ena
Router#config t
Router(config)#int f0/0
Router(config-if)#int f0/0.10
Router(config-subif)#encapsulation dot1Q 10
Router(config-subif)#ip address 192.168.1.1 255.255.255.128

Router(config-subif)#int f0/0.20
Router(config-subif)#encapsulation dot1Q 20
Router(config-subif)#ip address 192.168.1.129 255.255.255.128
Router(config-subif)#


CONFIGURACION SWITCH:

Switch>
Switch>ena
Switch#config t
Switch(config)#vlan 10
Switch(config-vlan)#name secretaria
Switch(config-vlan)#exit
Switch(config)# vlan 20
Switch(config-vlan)#name jefeDPTO
Switch(config-vlan)#exit
Switch(config)#exit
Switch#

Switch#config t
Switch(config)#int f0/1
Switch(config-if)#switchport access vlan 10
Switch(config-if)#int f0/2
Switch(config-if)#switchport access vlan 10
Switch(config-if)#int f0/13
Switch(config-if)#switchport access vlan 20
Switch(config-if)#int f0/14
Switch(config-if)#switchport access vlan 20

Switch(config-if)#exit
Switch(config)#exit
Switch#wr

Switch#
Switch#config t
Switch(config)#int f0/24
Switch(config-if)#exit
Switch(config)#int f0/24
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Switch(config)#exit
Switch#wr
Switch#

Comentarios

Entradas populares de este blog

Configurar un Dominio en FreeBSD

Sed: Extract a file's part with sed command

Unix shell scripting: Full Log