2. Ketikan Konfigurasi Pada Router0 Lewat CLI
Router>en
Router#conf t
Router(config)#int fa0/1
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#exit
Router#vlan database
Router(vlan)#vlan 100 name Lab1
Router(vlan)#vlan 200 name Lab2
Router(vlan)#exit
Router#conf t
Router(config)#int fa0/1.100
Router(config-subif)#encapsulation dot1Q 100
Router(config-subif)#ip address 192.168.1.1 255.255.255.0
Router(config-subif)#exit
Router(config)#int fa0/1.200
Router(config-subif)#encapsulation dot1Q 200
Router(config-subif)#ip address 192.168.2.1 255.255.255.0
Router(config-subif)#exit
Router(config)#exit
Router#copy r s
Router#conf t
Router(config)#int fa0/1
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#exit
Router#vlan database
Router(vlan)#vlan 100 name Lab1
Router(vlan)#vlan 200 name Lab2
Router(vlan)#exit
Router#conf t
Router(config)#int fa0/1.100
Router(config-subif)#encapsulation dot1Q 100
Router(config-subif)#ip address 192.168.1.1 255.255.255.0
Router(config-subif)#exit
Router(config)#int fa0/1.200
Router(config-subif)#encapsulation dot1Q 200
Router(config-subif)#ip address 192.168.2.1 255.255.255.0
Router(config-subif)#exit
Router(config)#exit
Router#copy r s
3. Lakukan Konfigurasi pada Swithc0
Switch>en
Switch#vlan database
Switch(vlan)#vlan 100 name Lab1
Switch(vlan)#vlan 200 name Lab2
Switch(vlan)#exit
Switch#conf t
Switch(config)#int fa0/24
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Switch(config)#int fa0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 100
Switch(config-if)#exit
Switch(config)#int fa0/6
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 200
Switch(config-if)#exit
Switch(config)#exit
Switch#copy r s
Switch#vlan database
Switch(vlan)#vlan 100 name Lab1
Switch(vlan)#vlan 200 name Lab2
Switch(vlan)#exit
Switch#conf t
Switch(config)#int fa0/24
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Switch(config)#int fa0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 100
Switch(config-if)#exit
Switch(config)#int fa0/6
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 200
Switch(config-if)#exit
Switch(config)#exit
Switch#copy r s
4. Lakukan Setting IP Address Pada PC0
5. Lakukan Setting IP Address Pada PC1
6. Lakukan Pengujian Dengan Mengirim Paket dari PC0 ke PC1 atau Sebaliknya
0 Response to "Pembuatan VLAN (Virtual Local Area Network)"
Post a Comment