Você está na página 1de 3

Em cada computador em configuração de ip

------VLAN 10
255.255.255.192 (Máscara)
10.11.12.1 (def. gat)
10.11.12.62 (DNS)

10.11.12.2-> PC1
10.11.12.3-> PC4
10.11.12.4-> PC7

------VLAN 20
255.255.255.192 (Máscara)
10.11.12.65 (Def. gat)
10.11.12.126 (DNS)

10.11.12.66-> PC2
10.11.12.67-> PC5
10.11.12.68-> PC8

------VLAN 30
255.255.255.240 (Máscara)
10.11.12.129 (Def. gat)
10.11.12.142 (DNS)

10.11.12.130-> PC3
10.11.12.131-> PC6
10.11.12.132-> PC9

Nos computadores com cabo:


#### SWITCH 1 ####

enable
configure terminal
vlan 10
exit
name juridico
vlan 20
exit
name financeiro
vlan 30
name ti
exit
interface range fastEthernet 0/1-10
switchport mode access
switchport access vlan 10
interface range fastEthernet 0/11-21
switchport mode access
switchport access vlan 20
interface range fastEthernet 0/22-23
switchport mode access
switchport access vlan 30
interface gigabitEthernet 0/1
switchport mode trunk
switchport trunk allowed vlan 1,10,20,30
interface fastEthernet 0/24
switchport mode access
switchport access vlan 10
#### SWITCH 2 ####

enable
configure terminal
vlan 10
name juridico
vlan 20
name financeiro
vlan 30
name ti
interface range fastEthernet 0/1-11
switchport mode access
switchport access vlan 10
interface range fastEthernet 0/12-21
switchport mode access
switchport access vlan 20
interface range fastEthernet 0/22-23
switchport mode access
switchport access vlan 30
interface range gigabitEthernet 0/1-2
switchport mode trunk
switchport trunk allowed vlan 1,10,20,30
interface fastEthernet 0/24
switchport mode access
switchport access vlan 20

#### SWITCH 3 ####

enable
configure terminal
vlan 10
name juridico
vlan 20
name financeiro
vlan 30
name ti
interface range fastEthernet 0/1-10
switchport mode access
switchport access vlan 10
interface range fastEthernet 0/11-21
switchport mode access
switchport access vlan 20
interface range fastEthernet 0/22-23
switchport mode access
switchport access vlan 30
interface gigabitEthernet 0/2
switchport mode trunk
switchport trunk allowed vlan 1,10,20,30
interface fastEthernet 0/24
switchport mode access
switchport access vlan 30

#### PRATICA 2 #### no pc que liga ao roteador


enable
configure terminal
interface fastEthernet 0/0
no shutdown
ip address 10.11.12.1 255.255.255.192
interface fastEthernet 0/1
no shutdown
ip address 10.11.12.65 255.255.255.192
interface fastEthernet 1/0
no shutdown
ip address 10.11.12.129 255.255.255.240

Você também pode gostar