Tuesday, August 15, 2017

Virtual LAN


File Latihan : https://drive.google.com/file/d/0B5_BQSe6s8b8bVdvX2NYY01JaWM
1. Konfigurasi Core_SW
   
   Switch>enable
   Switch#config t
   Switch(config)#hostname CORE_SW
   CORE_SW(config)#vlan 10
   CORE_SW(config-vlan)#name GURU
   CORE_SW(config-vlan)#exit
   CORE_SW(config)#vlan 20
   CORE_SW(config-vlan)#name SISWA
   CORE_SW(config-vlan)#exit
   CORE_SW(config)#vlan 30
   CORE_SW(config-vlan)#name TU
   CORE_SW(config-vlan)#exit
   CORE_SW(config)#inteface range fa0/1-4
   CORE_SW(config-if-range)#switchport mode dynamic desirable
   CORE_SW(config-if-range)#exit
   CORE_SW(config)#inteface vlan 10
   CORE_SW(config-if)#ip address 192.168.10.254 255.255.255.0
   CORE_SW(config-if)#exit
   CORE_SW(config)#
   CORE_SW(config)#inteface vlan 20
   CORE_SW(config-if)#ip address 192.168.20.254 255.255.255.0
   CORE_SW(config-if)#exit
   CORE_SW(config)#inteface vlan 30
   CORE_SW(config-if)#ip address 192.168.30.254 255.255.255.0
   CORE_SW(config-if)#exit
   CORE_SW(config)#ip dhcp pool GURU
   CORE_SW(dhcp-config)#network 192.168.10.0 255.255.255.0
   CORE_SW(dhcp-config)#default-router 192.168.10.254
   CORE_SW(dhcp-config)#dns-server 192.168.125.2
   CORE_SW(dhcp-config)#exit
   CORE_SW(config)#ip dhcp pool SISWA
   CORE_SW(dhcp-config)#network 192.168.20.0 255.255.255.0
   CORE_SW(dhcp-config)#default-router 192.168.20.254
   CORE_SW(dhcp-config)#dns-server 192.168.125.2
   CORE_SW(dhcp-config)#exit
   CORE_SW(config)#ip dhcp pool TU
   CORE_SW(dhcp-config)#network 192.168.30.0 255.255.255.0
   CORE_SW(dhcp-config)#default-router 192.168.30.254
   CORE_SW(dhcp-config)#dns-server 192.168.125.2
   CORE_SW(dhcp-config)#exit
   CORE_SW(config)#inteface fastethernet 0/5
   CORE_SW(config-if)#no switchport
   CORE_SW(config-if)#ip address 192.168.25.2 255.255.255.252
   CORE_SW(config-if)#exit
   CORE_SW(config)#router ospf 1
   CORE_SW(config-router)#network 192.168.10.0 0.0.0.255 area 0
   CORE_SW(config-router)#network 192.168.20.0 0.0.0.255 area 0
   CORE_SW(config-router)#network 192.168.30.0 0.0.0.255 area 0
   CORE_SW(config-router)#network 192.168.25.0 0.0.0.3 area 0
   CORE_SW(config-router)#exit
   CORE_SW(config)#ip routing
   CORE_SW(config)#do write

2. Konfigurasi SW_lt01

   Switch>enable
   Switch#config t
   Switch(config)#hostname SW_lt01
   SW_lt01(config)#vlan 10
   SW_lt01(config-vlan)#name GURU
   SW_lt01(config-vlan)#exit
   SW_lt01(config)#vlan 20
   SW_lt01(config-vlan)#name SISWA
   SW_lt01(config-vlan)#exit
   SW_lt01(config)#interface fa0/1
   SW_lt01(config-if)#switchport mode access
   SW_lt01(config-if)#switchport access vlan 10
   SW_lt01(config-if)#exit
   SW_lt01(config)#interface range fa0/11-13
   SW_lt01(config-if-range)#switchport mode access
   SW_lt01(config-if-range)#switchport access vlan 20
   SW_lt01(config-if-range)#exit
   SW_lt01(config)#interface fa0/24
   SW_lt01(config-if)#switchport mode trunk
   SW_lt01(config-if)#exit
   SW_lt01(config)#do write

3. Konfigurasi SW_lt02

   Switch>enable
   Switch#config t
   Switch(config)#hostname SW_lt02
   SW_lt02(config)#vlan 10
   SW_lt02(config-vlan)#name GURU
   SW_lt02(config-vlan)#exit
   SW_lt02(config)#vlan 20
   SW_lt02(config-vlan)#name SISWA
   SW_lt02(config-vlan)#exit
   SW_lt02(config)#interface fa0/1
   SW_lt02(config-if)#switchport mode access
   SW_lt02(config-if)#switchport access vlan 10
   SW_lt02(config-if)#exit
   SW_lt02(config)#interface range fa0/11-13
   SW_lt02(config-if-range)#switchport mode access
   SW_lt02(config-if-range)#switchport access vlan 20
   SW_lt02(config-if-range)#exit
   SW_lt02(config)#interface fa0/24
   SW_lt02(config-if)#switchport mode trunk
   SW_lt02(config-if)#exit
   SW_lt02(config)#do write

4. Konfigurasi SW_lt03

   Switch>enable
   Switch#config t
   Switch(config)#hostname SW_lt03
   SW_lt03(config)#vlan 10
   SW_lt03(config-vlan)#name GURU
   SW_lt03(config-vlan)#exit
   SW_lt03(config)#vlan 20
   SW_lt03(config-vlan)#name SISWA
   SW_lt03(config-vlan)#exit
   SW_lt03(config)#interface fa0/1
   SW_lt03(config-if)#switchport mode access
   SW_lt03(config-if)#switchport access vlan 10
   SW_lt03(config-if)#exit
   SW_lt03(config)#interface range fa0/11-13
   SW_lt03(config-if-range)#switchport mode access
   SW_lt03(config-if-range)#switchport access vlan 20
   SW_lt03(config-if-range)#exit
   SW_lt03(config)#interface fa0/24
   SW_lt03(config-if)#switchport mode trunk
   SW_lt03(config-if)#exit
   SW_lt03(config)#do write

5. Konfigurasi SW_RG
   
   Switch>enable
   Switch#config t
   Switch(config)#hostname SW_RG
   SW_RG(config)#vlan 10
   SW_RG(config-vlan)#name GURU
   SW_RG(config-vlan)#exit
   SW_RG(config)#vlan 20
   SW_RG(config-vlan)#name SISWA
   SW_RG(config-vlan)#exit
   SW_RG(config)#vlan 30
   SW_RG(config-vlan)#name TU
   SW_RG(config-vlan)#exit
   SW_RG(config)#inteface range fa0/1-10
   SW_RG(config-if-range)#switchport mode access
   SW_RG(config-if-range)#switchport access vlan 10
   SW_RG(config-if-range)#exit
   SW_RG(config)#interface range fa0/11-20
   SW_RG(config-if-range)#switchport access vlan 30
   SW_RG(config-if-range)#exit
   SW_RG(config)#interface fa0/23
   SW_RG(config-if)#switchport access vlan 20
   SW_RG(config-if)#exit
   SW_RG(config)#interface fa0/24
   SW_RG(config-if)#switchport mode trunk
   SW_RG(config-if)#exit

6. Konfigurasi Router1

   Router>
   Router>enable
   Router#configure terminal
   Router(config)#hostname R1
   R1(config)#interface fa0/0
   R1(config-if)#ip address 192.168.25.1 255.255.255.252
   R1(config-if)#no shutdown
   R1(config-if)#exit
   R1(config)#inteface fa0/1
   R1(config-if)#ip address 192.168.125.1 255.255.255.252
   R1(config-if)#no shutdown
   R1(config-if)#exit
   R1(config)#interface serial 0/0/0
   R1(config-if)#ip address 10.10.10.1 255.255.255.252
   R1(config-if)#clock rate 64000
   R1(config-if)#no shutdown
   R1(config-if)#exit
   R1(config)#router ospf 1
   R1(config-router)#network 192.168.25.0 0.0.0.3 area 0
   R1(config-router)#network 192.168.125.0 0.0.0.3 area 0
   R1(config-router)#network 10.10.10.0 0.0.0.3 area 0
   R1(config-router)#exit
   R1(config)#do write

7. Konfigurasi Router2

   Router>
   Router>enable
   Router#configure terminal
   Router(config)#hostname R2
   R2(config)#interface fa0/0
   R2(config-if)#ip address 192.168.150.1 255.255.255.252
   R2(config-if)#no shutdown
   R2(config-if)#exit
   R2(config)#interface serial 0/0/1
   R2(config-if)#ip address 10.10.10.2 255.255.255.252
   R2(config-if)#no shutdown
   R2(config-if)#exit
   R2(config)#router ospf 1
   R2(config-router)#network 192.168.150.0 0.0.0.3 area 0
   R2(config-router)#network 10.10.10.0 0.0.0.3 area 0
   R2(config-router)#exit
   R2(config)#do write

Friday, August 11, 2017

KONFIGURASI KONEKSI WAN dengan ENCAPSULASI PPP AUTHENTICATION PAP

TOPOLOGI


Konfigurasi interface
Konfigurasi interface R0
Router>
      >enable
Router#conf terminal
Router(config)#hostname R0
R0(config)#interface fa0/0
R0(config-if)#ip address 192.168.10.254 255.255.255.0
             #no shutdown
             #exit
R0(config)#interface serial 0/0/0
R0(config-if)#ip address 10.10.10.1 255.255.255.252
             #clock rate 64000
             #no shutdown
             #exit
R0(config)#exit
R0#write

Konfigurasi interface R1
Router>
Router>enable
Router#config terminal
Router(config)#hostname R1
R1(config)#intefacefa0/0
R1(config-if)#ip address 192.168.20.254 255.255.255.0
             #no shutdown
             #exit
R1(config)#interface serial 0/0/1
R1(config-if)#ip address 10.10.10.2 255.255.255.252
             #no shutdown
             #exit
R1(config)#exit
R1#write

Konfigurasi Routing Dynamic --> EIGRP

R0#configure terminal
R0(config)#router eigrp 10
R0(config-router)#network 192.168.10.0 255.255.255.0
                 #network 10.10.10.0 255.255.255.252
                 #no auto-summary
                 #end
R0#write

R1#configure terminal
R1(config)#router eigrp 10
R1(config-router)#network 192.168.20.0 255.255.255.0
                 #network 10.10.10.0 255.255.255.252
                 #no auto-summary
                 #end
R1#write



Konfigurasi PPP

R0#username router0 password router0
R0#configure terminal
R0(config)#username router0 password router0
R0(config)#interface serial 0/0/0
R0(config-if)#encapsulation ppp
             #ppp authentication pap
             #ppp pap sent-username router1 password router1
R0(config-if)#end
R0#write


R1#username router1 password router1
R1#configure terminal
R1(config)#username router1 password router1
R1(config)#interface serial 0/0/1
R1(config-if)#encapsulation ppp
             #ppp authentication pap
             #ppp pap sent-username router0 password router0
             #end
R1#write