A topologia:
Configurações:
1. criando as Vlans
Switch>en
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#ho SW-layer
SW-layer(config)#vlan 10
SW-layer(config-vlan)#name funcionarios
SW-layer(config-vlan)#vlan 20
SW-layer(config-vlan)#name convidados
SW-layer(config-vlan)#exit
2. atribuindo as vlan no intervalo das interfaces
SW-layer(config)#int range fa0/1-10
SW-layer(config-if-range)#switchport mode access
SW-layer(config-if-range)#switchport access vlan 10
SW-layer(config-if-range)#exit
SW-layer(config)#int range fa0/11-24
SW-layer(config-if-range)#switchport mode access
SW-layer(config-if-range)#switchport access vlan 20
SW-layer(config-if-range)#exit
3.Rotear cada vlan
SW-layer(config)#interface vlan 10
SW-layer(config-if)#ip add 192.168.2.1 255.255.255.0
SW-layer(config-if)#no shut
SW-layer(config-if)#exit
SW-layer(config)#in vlan 20
SW-layer(config-if)#ip add 192.168.4.1 255.255.255.0
SW-layer(config-if)#no shut
SW-layer(config-if)#exit
4.Habilitando o Roteamento
SW-layer(config)#ip routing
5.Salvando as configurações
SW-layer(config)#do wr
Building configuration...
[OK]
SW-layer(config)#
SW-layer(config)#
A topologia funcionando...
Espero que vos seja útil, Obrigado
Caso de duvida não hesitem, escrevam
d-conecta@outlook.com