Langkah-langkah:
1. Buat skema jaringan seperti
gambar diatas
2. Konfigurasikan:
- PC0
: 192.168.5.10 gateway : 192.168.5.1
- PC1
: 192.168.5.11 gateway : 192.168.5.1
- PC2
: 192.168.6.10 gateway : 192.168.6.1
- PC3
: 192.168.6.11 gateway : 192.168.6.1
3. Buka CLI pada switch dan
konfigurasikan sbb:
|
Switch>enable
Switch#vlan database
% Warning: It is recommended to configure VLAN from config mode,
as VLAN database mode is being deprecated. Please consult user
documentation for configuring VTP/VLAN in config mode.
Switch(vlan)#vlan 10 name a
VLAN 10 modified:
Name: a
Switch(vlan)#vlan 20 name b
VLAN 20 modified:
Name: b
Switch(vlan)#exit
APPLY completed.
Exiting....
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int fa0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#int fa1/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#int fa2/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 20
Switch(config-if)#int fa 3/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 20
Switch(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int fa4/1
Switch(config-if)#switchport mode trunk
Switch(config-if)#end
1. Kemudian konfigurasikan routernya:
Kesimpulan:
Untuk membuat VLAN
harus melihat jumlah gateway yang berbeda, karena jumlah VLAN yang dibuat harus
sama dengan jumlah gateway yang berbeda pada tiap pc didalam sebuah jaringan.
Karena pada percobaan diatas gateway yang berbeda ada 2, yaitu 192.168.5.1 dan 192.168.6.1,
maka jumlah VLAN yang dibuat juga harus 2. Pada simulasi diatas kedua VLAN
tersebut diberi nama “VLAN 10 name a dan VLAN 20 name b”.
|



Tidak ada komentar:
Posting Komentar