Lompat ke konten Lompat ke sidebar Lompat ke footer

KONFIGURASI 1 SWITCH 1 ROUTER dan 6 PC DI VIRTUALBOX



Konfigurasi Switch
Switch>enable
Switch#vlan database
Switch(vlan)#vlan 10 name REY1
VLAN 10 added:
    Name: REY1
Switch(vlan)#vlan 20 name REY2
VLAN 20 added:
    Name: REY2
Switch(vlan)#exit
Switch#configure terminal
Switch(config)#interface fastEthernet0/1
Switch(config-if)#switchport access vlan 10
Switch(config-if)#exit
Switch(config)#interface fastEthernet0/2
Switch(config-if)#switchport access vlan 10
Switch(config-if)#exit
Switch(config)#interface fastEthernet0/3
Switch(config-if)#switchport access vlan 10
Switch(config-if)#exit
Switch(config)#interface fastEthernet0/4
Switch(config-if)#switchport access vlan 20
Switch(config-if)#exit
Switch(config)#interface fastEthernet0/5
Switch(config-if)#switchport access vlan 20
Switch(config-if)#exit
Switch(config)#interface fastEthernet0/6
Switch(config-if)#switchport access vlan 20
Switch(config-if)#exit
Switch(config)#exit

Menghidupkan FastEthernet dari Switch Ke Router
Switch#configure terminal
Switch(config)#interface fastEthernet0/7
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Switch(config)#exit

Konfigurasi Router
Router>enable
Router#configure terminal
Router(config)#interface fastEthernet0/0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface fastEthernet0/0.10
Router(config-subif)#encapsulation dot1Q 10
Router(config-subif)#ip address 192.168.10.1 255.255.255.0
Router(config-subif)#exit
Router(config)#interface fastEthernet0/0.20
Router(config-subif)#encapsulation dot1Q 20
Router(config-subif)#ip address 192.168.20.1 255.255.255.0
Router(config-subif)#exit
Router(config)#exit


Posting Komentar untuk "KONFIGURASI 1 SWITCH 1 ROUTER dan 6 PC DI VIRTUALBOX"