*Konfigurasi IP Address
Konfigurasi IP Address pada PC0 (klik PC0>Desktop>IP Configuration)
Konfigurasi IP Address pada PC1 (klik PC1>Desktop>IP Configuration)
Konfigurasi IP Address pada PC2(klik PC2>Desktop>IP Configuration)
Konfigurasi IP Address pada PC3 (klik PC3>Desktop>IP Configuration)
- Konfigurasi pada Switch. Klik switch, pilih tab CLI. Tuliskan perintah berikut : Switch>enable Switch#vlan database Switch(vlan)#vlan 10 name A Switch(vlan)#vlan 20 name B Switch(vlan)#exit Switch#configure terminal Switch(config)#interface fastethernet 0/2 Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 10 Switch(config-if)#interface fastethernet 0/3 Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 10 Switch(config-if)#interface fastethernet 0/4 Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 20 Switch(config-if)#interface fastethernet 0/5 Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 20 Switch(config-if)#end Switch#configure terminal Switch(config)#interface fastethernet 0/1 Switch(config-if)#switchport mode trunk Switch(config-if)#end
- Konfigurasi pada Router. Klik router, pilih tab CLI. Tuliskan perintah berikut : Router>enable Router#configure t Router(config)#interface fastethernet 0/0 Router(config-if)#no shutdown Router(config-if)#interface fastethernet 0/0.1 Router(config-subif)#encapsulation dot1Q 1 Router(config-subif)#ip address 192.168.10.1 255.255.255.0 Router(config-subif)#interface fastethernet 0/0.2 Router(config-subif)#encapsulation dot1Q 10 Router(config-subif)#ip address 192.168.1.1 255.255.255.0 Router(config-subif)#interface fastethernet 0/0.3 Router(config-subif)#encapsulation dot1Q 20 Router(config-subif)#ip address 192.168.2.1 255.255.255.0 Router(config-subif)#end
Ping dari PC0 ke PC1 (sesama VLAN)
Ping dari PC1 ke PC2 (berbeda VLAN)
0 Comments