Topologi |
√ Menghubungkan semua client (PC) dari DHCP Server dan Statik IP ke server internet
Materi Lab :
√ Spanning Tree Portfast
√ Routing Dynamic EIGRP
√ VLAN
√ Inter VLAN Routing
√ DHCP dengan router
√ DNS Server
√ Web Server
√ Trunk & Encapsulation Router
Konfigurasi Lab :
Untuk tahap konfigurasi kita akan memulai nya dari switch dulu. Kita mulai di IDN-SW1.
Pertama, kita membuat VLAN sesuai dengan yang di inginkan
Switch>enable
Switch#configure terminal
Switch(config)#hostname IDN-SW1
IDN-SW1(config)#vlan 10
IDN-SW1(config-vlan)#name IDN_Slipi
IDN-SW1(config-vlan)#exit
IDN-SW1(config)#vlan 20
IDN-SW1(config-vlan)#name IDN_Jonggol
IDN-SW1(config-vlan)#exit
Kemudian kita melakukan konfigurasi di interface yang mengarah ke end device dengan mode access
IDN-SW1(config)#interface f0/2
IDN-SW1(config-if)#switchport mode access
IDN-SW1(config-if)#switchport access vlan 10
IDN-SW1(config-if)#exit
IDN-SW1(config)#interface f0/3
IDN-SW1(config-if)#switchport mode access
IDN-SW1(config-if)#switchport access vlan 20
IDN-SW1(config-if)#exit
Dan kita lakukan konfigurasi switchport mode trung untk koneksi antar switch nya
IDN-SW1(config)#interface f0/1
IDN-SW1(config-if)#switchport mode trunk
IDN-SW1(config-if)#exit
Lalu kita lihat verifikasi VLAN dan interface trunk nya sudah berhasil di buat dan di assign ke port interface nya apa belumVerifikasi VLAN |
Verifikasi Interface Trunk |
Dari segi konfigurasi sama denga IDN-SW1,
Switch#enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname IDN-SW2
IDN-SW2(config)#vlan 10
IDN-SW2(config-vlan)#name IDN_Slipi
IDN-SW2(config-vlan)#exit
IDN-SW2(config)#vlan 20
IDN-SW2(config-vlan)#name vlan20
IDN-SW2(config-vlan)#name IDN_Jonggol
IDN-SW2(config-vlan)#exit
IDN-SW2(config)#interface f0/3
IDN-SW2(config-if)#switchport mode access
IDN-SW2(config-if)#switchport access vlan 10
IDN-SW2(config-if)#exit
IDN-SW2(config)#interface f0/4
IDN-SW2(config-if)#switchport mode access
IDN-SW2(config-if)#switchport access vlan 20
IDN-SW2(config-if)#exit
IDN-SW2(config)#interface f0/1
IDN-SW2(config-if)#switchport mode trunk
IDN-SW2(config-if)#exit
Verifikasi nya sebagai berikut:Verifikasi VLAN |
Verifikas Interface Trunk |
Switch>enable
Switch#configure terminal
Switch(config)#hostname IDN-SW5
IDN-SW5(config)#vlan 30
IDN-SW5(config-vlan)#name IDN_Cileungsi
IDN-SW5(config-vlan)#exit
IDN-SW5(config)#vlan 40
IDN-SW5(config-vlan)#name IDN_Semarang
IDN-SW5(config-vlan)#exit
IDN-SW5(config)#
IDN-SW5(config)#interface f0/1
IDN-SW5(config-if)#switchport mode access
IDN-SW5(config-if)#switchport access vlan 30
IDN-SW5(config-if)#exit
IDN-SW5(config)#
IDN-SW5(config)#interface f0/2
IDN-SW5(config-if)#switchport mode access
IDN-SW5(config-if)#switchport access vlan 40
IDN-SW5(config-if)#exit
IDN-SW5(config)#interface f0/4
IDN-SW5(config-if)#switchport mode trunk
IDN-SW5(config-if)#exit
Pada IDN-SW5 ini kita aktifkan mode spanning-tree portfast default di setiap interface end device yang berfungsi agar switch langsung melakukan step forwarding ke arah end device
IDN-SW5(config)#int ra f0/1-2
IDN-SW5(config-if-range)#spanning-tree portfast default
IDN-SW5(config-if-range)#exit
Verikikasi VLAN |
Verifikasi Interface Trunk |
Switch>enable
Switch#configure terminal
Switch(config)#hostname IDN-SW6
IDN-SW6(config)#vlan 30
IDN-SW6(config-vlan)#name IDN_Cileungsi
IDN-SW6(config-vlan)#exit
IDN-SW6(config)#
IDN-SW6(config)#vlan 40
IDN-SW6(config-vlan)#name IDN_Semarang
IDN-SW6(config-vlan)#exit
IDN-SW6(config)#interface f0/1
IDN-SW6(config-if)#switchport mode access
IDN-SW6(config-if)#switchport access vlan 30
IDN-SW6(config-if)#exit
IDN-SW6(config)#
IDN-SW6(config)#interface f0/2
IDN-SW6(config-if)#switchport mode access
IDN-SW6(config-if)#switchport access vlan 40
IDN-SW6(config-if)#exit
IDN-SW6(config)#int ra f0/1-2
IDN-SW6(config-if-range)#spanning-tree portfast default
IDN-SW6(config-if-range)#exit
IDN-SW6(config)#interface f0/3
IDN-SW6(config-if)#switchport mode trunk
IDN-SW6(config-if)#exit
Tahap selanjutnya kita lakukan konfigurasi pada IDN-R1
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname IDN-R1
IDN-R1(config)#interface f0/0
IDN-R1(config-if)#no shutdown
IDN-R1(config-if)#exit
IDN-R1(config)#interface f0/0.10
IDN-R1(config-subif)#encapsulation dot1q 10
IDN-R1(config-subif)#ip address 10.10.10.1 255.255.255.0
IDN-R1(config-subif)#exit
IDN-R1(config)#interface f0/0.20
IDN-R1(config-subif)#encapsulation dot1q 20
IDN-R1(config-subif)#ip address 20.20.20.1 255.255.255.0
IDN-R1(config-subif)#exit
IDN-R1(config)#int se0/0/0
IDN-R1(config-if)#ip address 12.12.12.1 255.255.255.0
IDN-R1(config-if)#no shutdown
IDN-R1(config-if)#exit
IDN-R2(config)#router eigrp 10
IDN-R2(config-router)#no auto-summary
IDN-R2(config-router)#network 142.142.142.0
IDN-R2(config-router)#network 12.12.12.0
IDN-R2(config-router)#network 132.132.132.0
IDN-R2(config-router)#network 23.23.23.0
IDN-R2(config-router)#exit
Ketika IDN-R1 Sudah selesai di konfigurasi dapat dilakukan telebih dahulu teest antar client yang VLAN nya 20 & 30Testing OK |
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname IDN-SW4
IDN-SW4(config)#vlan 50
IDN-SW4(config-vlan)#name IDN_Jogja
IDN-SW4(config-vlan)#exit
IDN-SW4(config)#
IDN-SW4(config)#vlan 60
IDN-SW4(config-vlan)#name IDN_Surabaya
IDN-SW4(config-vlan)#exit
IDN-SW4(config)#interface range f0/2-3
IDN-SW4(config-if-range)#switchport mode access
IDN-SW4(config-if-range)#switchport access vlan 50
IDN-SW4(config-if-range)#exit
IDN-SW4(config)#
IDN-SW4(config)#interface range f0/4-5
IDN-SW4(config-if-range)#switchport mode access
IDN-SW4(config-if-range)#switchport access vlan 60
IDN-SW4(config-if-range)#exit
IDN-SW4(config)#
IDN-SW4(config)#interface vlan 50
IDN-SW4(config-if)#ip address 50.50.50.1 255.255.255.0
IDN-SW4(config-if)#exit
IDN-SW4(config)#interface vlan 60
IDN-SW4(config-if)#ip address 60.60.60.1 255.255.255.0
IDN-SW4(config-if)#exit
IDN-SW4(config)#
IDN-SW4(config)#ip dhcp pool IDN-VLAN50
IDN-SW4(dhcp-config)#network 50.50.50.0 255.255.255.0
IDN-SW4(dhcp-config)#default-router 50.50.50.1
IDN-SW4(dhcp-config)#dns-server 132.132.132.2
IDN-SW4(dhcp-config)#exit
IDN-SW4(config)#
IDN-SW4(config)#ip dhcp pool IDN-VLAN60
IDN-SW4(dhcp-config)#network 60.60.60.0 255.255.255.0
IDN-SW4(dhcp-config)#default-router 60.60.60.1
IDN-SW4(dhcp-config)#dns-server 132.132.132.2
IDN-SW4(dhcp-config)#exit
IDN-SW4(config)#interface f0/1
IDN-SW4(config-if)#no switchport
IDN-SW4(config-if)#ip address 142.142.142.3 255.255.255.0
IDN-SW4(config-if)#exit
IDN-SW4(config)#ip routing
IDN-SW4(config)#router eigrp 10
IDN-SW4(config-router)#no auto-summary
IDN-SW4(config-router)#142.142.142.0
IDN-SW4(config-router)#network 60.60.60.0
IDN-SW4(config-router)#network 50.50.50.0
IDN-SW4(config-router)#exit
Begitu juga sama seperti di IDN-RI, disini juga bisa melakukan test koneksi dulu antar VLAN 50 dan 60 yang directly connected pada IDN-SW4Test Koneksi OK |
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname IDN-R3
IDN-R3(config)#interface f0/0
IDN-R3(config-if)#no shutdown
IDN-R3(config-if)#exit
IDN-R3(config)#interface f0/0.30
IDN-R3(config-subif)#encapsulation dot1q 30
IDN-R3(config-subif)#ip address 12.12.30.1 255.255.255.0
IDN-R3(config-subif)#exit
IDN-R3(config)#
IDN-R3(config)#interface f0/0.40
IDN-R3(config-subif)#encapsulation dot1q 40
IDN-R3(config-subif)#ip address 12.12.40.1 255.255.255.0
IDN-R3(config-subif)#exit
IDN-R3(config)#interface se0/0/1
IDN-R3(config-if)#ip address 23.23.23.2 255.255.255.0
IDN-R3(config-if)#no shutdown
IDN-R3(config-if)#exit
IDN-R3(config)#router eigrp 10
IDN-R3(config-router)#no auto-summary
IDN-R3(config-router)#network 23.23.23.0
IDN-R3(config-router)#network 30.30.30.0
IDN-R3(config-router)#network 40.40.40.0
IDN-R3(config-router)#exit
Dan tahap konfigurasi yang terkahir adalah melakukan konfigurasi pada IDN-R2
IDN-R2>enable
IDN-R2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
IDN-R2(config)#hostname IDN-R2
IDN-R2(config)#interface f0/0
IDN-R2(config-if)#ip address 132.132.132.2 255.255.255.0
IDN-R2(config-if)#no shutdown
IDN-R2(config-if)#exit
IDN-R2(config)#interface f0/1
IDN-R2(config-if)#ip address 142.142.142.2 255.255.255.0
IDN-R2(config-if)#no shutdown
IDN-R2(config-if)#exit
IDN-R2(config)#interface se0/0/0
IDN-R2(config-if)#ip address 12.12.12.2 255.255.255.0
IDN-R2(config-if)#no shutdown
IDN-R2(config-if)#exit
IDN-R2(config)#interface se0/0/1
IDN-R2(config-if)#ip address 23.23.23.2 255.255.255.0
IDN-R2(config-if)#no shutdown
IDN-R2(config-if)#exit
IDN-R1(config)#router eigrp 10
IDN-R1(config-router)#no auto-summary
IDN-R1(config-router)#network 10.10.10.0
IDN-R1(config-router)#network 20.20.20.0
IDN-R1(config-router)#network 12.12.12.0
IDN-R1(config-router)#exit
Oke, tahap konfigurasi telah kita selesaikan, sekatrang kita ambil sampel untuk test koneksi dan web browsing antar client nyaPing Status OK |
Semoga Bermanfaat !
gan kok ane udah ngikutin tutorial ini pas di ping "request time out mulu , mohon solusinya ..........????
BalasHapusping dari mana ke mana gan?
Hapuske sebrangnya gan kgk bisa ???
HapusPenipuan ini. Klo kasih tutor. itu dites dulu, baru disebarkan. Bagaimana ini
BalasHapus