Langkah-langkahnya :
- Siapkan topologinya
- PC 0-3 diberi ip 192.168.1.3-192.168.1.254 dan dihubungkan di FastEthernet 0/11 - 0/13
- PC 4-6 diberi ip 192.168.2.3-192.168.2.254 dan dihubungkan di FastEthernet 0/14 - 0/16
- PC 7-9 diberi ip 192.168.3.3-192.168.3.254 dan dihubungkan di FastEthernet 0/17 - 0/19
- Setting Switchnya
- Menambahkan 3 VlanSwitch>enable
Switch#vlan databaseSwitch(vlan)#vlan 10 name dosenSwitch(vlan)#vlan 20 name studentSwitch(vlan)#vlan 30 name admin
Switch(vlan)#exit - Menambahkan ip address di Vlan 10Switch#configure terminalSwitch(config)#interface Vlan 10Switch(config-if)#ip address 192.168.1.2 255.255.255.0Switch(config-if)#no shutdownSwitch(config-if)#exitSwitch(config)#end
- Menambahkan ip address di Vlan 20Switch#configure terminalSwitch(config)#interface Vlan 20Switch(config-if)#ip address 192.168.2.2 255.255.255.0Switch(config-if)#no shutdownSwitch(config-if)#exitSwitch(config)#end
- Menambahkan ip address di Vlan 30Switch#configure terminalSwitch(config)#interface Vlan 30Switch(config-if)#ip address 192.168.3.2 255.255.255.0Switch(config-if)#no shutdownSwitch(config-if)#exitSwitch(config)#end
- Memasukkan PC yang terhubung ke VLan 10
Switch(config)#interface fastethernet 0/11Switch(config-if)#switchport mode accessSwitch(config-if)#switchport access vlan 10
Switch(config-if)#no shutdownSwitch(config-if)#exit
Switch(config)#interface fastethernet 0/12
Switch(config-if)#switchport mode accessSwitch(config-if)#switchport access vlan 10Switch(config-if)#no shutdownSwitch(config-if)#exit
Switch(config)#interface fastethernet 0/13
Switch(config-if)#switchport mode accessSwitch(config-if)#switchport access vlan 10Switch(config-if)#no shutdownSwitch(config-if)#exit - Memasukkan PC yang terhubung ke VLan 20
Switch(config)#interface fastethernet 0/14Switch(config-if)#switchport mode accessSwitch(config-if)#switchport access vlan 20Switch(config-if)#no shutdownSwitch(config-if)#exi
Switch(config)#interface fastethernet 0/15
Switch(config-if)#switchport mode accessSwitch(config-if)#switchport access vlan 20Switch(config-if)#no shutdownSwitch(config-if)#exi
Switch(config)#interface fastethernet 0/16
Switch(config-if)#switchport mode accessSwitch(config-if)#switchport access vlan 20Switch(config-if)#no shutdownSwitch(config-if)#exi - Memindahkan PC yang terhubung ke VLan 30Switch(config)#interface fastethernet 0/17Switch(config-if)#switchport mode accessSwitch(config-if)#switchport access vlan 30
Switch(config-if)#no shutdownSwitch(config-if)#exit
Switch(config)#interface fastethernet 0/18Switch(config-if)#switchport mode accessSwitch(config-if)#switchport access vlan 30Switch(config-if)#no shutdownSwitch(config-if)#exit
Switch(config)#interface fastethernet 0/19Switch(config-if)#switchport mode accessSwitch(config-if)#switchport access vlan 30Switch(config-if)#no shutdownSwitch(config-if)#exit - Hasilnya
- Test ping dari Switch ke semua PC yang ada di VLan
- Test ping dari PC di Vlan 1 ke PC di Vlan 2 (jika VLan jadi maka hasil ping akan Request Time Out)
- Test ping dari PC di Vlan 2 ke PC di Vlan 3 (jika VLan jadi maka hasil ping akan Request Time Out)
- Test ping dari PC di Vlan 3 ke PC di Vlan 1 (jika VLan jadi maka hasil ping akan Request Time Out)
*****
BalasHapussipp, apik materine
mantab postingannya, keren bangeeet...
BalasHapus