A. Pendahuluan
Multi layer switching adalah cara dimana menyusun perangkat network switch menjadi beberapa tingkatan dikarenakan end user yang terkoneksi ke dalam suatu jaringan memiliki jumlah yang banyak, sehingga kita perlu melakukan trunking (menyambungkan switch satu dengan switch lain) antar network switch secara bertingkat.
B. Latar Belakang
Ingin memahami tentang MLS yang terkolaborasi dengan vlan, dan trunk.
C. Maksud dan Tujuan
Untuk memahami konfigurasi MLS yang terkolaborasi dengan vlan, dan trunk.
D. Alat dan Bahan
1. PC / Laptop
2. Aplikasi Cisco Packet Tracer
E. Waktu Pengerjaan
± 60 Menit
Multi layer switching adalah cara dimana menyusun perangkat network switch menjadi beberapa tingkatan dikarenakan end user yang terkoneksi ke dalam suatu jaringan memiliki jumlah yang banyak, sehingga kita perlu melakukan trunking (menyambungkan switch satu dengan switch lain) antar network switch secara bertingkat.
B. Latar Belakang
Ingin memahami tentang MLS yang terkolaborasi dengan vlan, dan trunk.
C. Maksud dan Tujuan
Untuk memahami konfigurasi MLS yang terkolaborasi dengan vlan, dan trunk.
D. Alat dan Bahan
1. PC / Laptop
2. Aplikasi Cisco Packet Tracer
E. Waktu Pengerjaan
± 60 Menit
F. Pembahasan
Multi layer switching adalah cara dimana menyusun perangkat network switch menjadi beberapa tingkatan dikarenakan end user yang terkoneksi ke dalam suatu jaringan memiliki jumlah yang banyak, sehingga kita perlu melakukan trunking (menyambungkan switch satu dengan switch lain) antar network switch secara bertingkat.
Cara Konfigurasi Jaringan diatas
- isi ip pada server0, dan dns pada server1
- lakukan konfigurasi vlan dan trunk pada switch0
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int ra fa0/1-2
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 10
Switch(config-if-range)#ex
Switch(config)#int ra fa0/23-24
Switch(config-if-range)#switchport mode trunk
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int ra fa0/1-2
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 10
Switch(config-if-range)#ex
Switch(config)#int ra fa0/23-24
Switch(config-if-range)#switchport mode trunk
- konfigurasi vlan dan trunk pada switch1
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int ra fa0/1-3
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 20
Switch(config-if-range)#ex
Switch(config)#int ra fa0/21-24,g0/1
Switch(config-if-range)#switchport mode trunk
Switch(config-if-range)#ex
Switch(config)#vlan 10
Switch(config-vlan)#name v10
Switch(config-vlan)#ex
Switch(config)#vlan 30
Switch(config-vlan)#name v30
Switch(config-vlan)#ex
Switch(config)#
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int ra fa0/1-3
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 20
Switch(config-if-range)#ex
Switch(config)#int ra fa0/21-24,g0/1
Switch(config-if-range)#switchport mode trunk
Switch(config-if-range)#ex
Switch(config)#vlan 10
Switch(config-vlan)#name v10
Switch(config-vlan)#ex
Switch(config)#vlan 30
Switch(config-vlan)#name v30
Switch(config-vlan)#ex
Switch(config)#
- konfigurasi vlan dan trunk pada switch2
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int ra fa0/1-2
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 30
Switch(config-if-range)#ex
Switch(config)#int ra fa0/23-24
Switch(config-if-range)#switchport mode trunk
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int ra fa0/1-2
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 30
Switch(config-if-range)#ex
Switch(config)#int ra fa0/23-24
Switch(config-if-range)#switchport mode trunk
- Konfigurasi Dhcp server, Router on Stick pada router0
Konfigurasi Router on Stick terlebih dahulu, penjelasan tentang Router on Stick ada pada linkberikut.
Router>en
Router#conf t
Router(config)#int g0/1
Router(config-if)#no sh
Router(config-if)#
Router(config-if)#ex
Router(config)#int g0/1.10
Router(config-subif)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1.10, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1.10, changed state to up
Router(config-subif)#encapsulation dot1Q 10
Router(config-subif)#ip address 192.168.1.254 255.255.255.0
Router(config-subif)#ex
Router(config)#int g0/1.20
Router(config-subif)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1.20, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1.20, changed state to up
Router(config-subif)#encapsulation dot1Q 20
Router(config-subif)#ip address 192.168.2.254 255.255.255.0
Router(config-subif)#ex
Router(config)#int g0/1.30
Router(config-subif)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1.30, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1.30, changed state to up
Router(config-subif)#encapsulation dot1Q 30
Router(config-subif)#ip address 192.168.3.254 255.255.255.0
Router(config-subif)#ex
Router#conf t
Router(config)#int g0/1
Router(config-if)#no sh
Router(config-if)#
Router(config-if)#ex
Router(config)#int g0/1.10
Router(config-subif)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1.10, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1.10, changed state to up
Router(config-subif)#encapsulation dot1Q 10
Router(config-subif)#ip address 192.168.1.254 255.255.255.0
Router(config-subif)#ex
Router(config)#int g0/1.20
Router(config-subif)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1.20, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1.20, changed state to up
Router(config-subif)#encapsulation dot1Q 20
Router(config-subif)#ip address 192.168.2.254 255.255.255.0
Router(config-subif)#ex
Router(config)#int g0/1.30
Router(config-subif)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1.30, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1.30, changed state to up
Router(config-subif)#encapsulation dot1Q 30
Router(config-subif)#ip address 192.168.3.254 255.255.255.0
Router(config-subif)#ex
- konfigurasi Dhcp pada router0
Router(config)#ip dhcp pool vlan10
Router(dhcp-config)#network 192.168.1.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.1.254
Router(dhcp-config)#dns-server 192.168.1.2
Router(dhcp-config)#ex
Router(config)#ip dhcp pool vlan20
Router(dhcp-config)#network 192.168.2.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.2.254
Router(dhcp-config)#ex
Router(config)#ip dhcp pool vlan30
Router(dhcp-config)#network 192.168.3.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.3.254
Router(dhcp-config)#ex
Router(dhcp-config)#network 192.168.1.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.1.254
Router(dhcp-config)#dns-server 192.168.1.2
Router(dhcp-config)#ex
Router(config)#ip dhcp pool vlan20
Router(dhcp-config)#network 192.168.2.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.2.254
Router(dhcp-config)#ex
Router(config)#ip dhcp pool vlan30
Router(dhcp-config)#network 192.168.3.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.3.254
Router(dhcp-config)#ex
- konfigurasi excluded address (ip yang tidak dibagikan oleh server)
Router(config)#ip dhcp excluded-address 192.168.1.1 192.168.1.5
Router(config)#ip dhcp excluded-address 192.168.2.1 192.168.2.5
Router(config)#ip dhcp excluded-address 192.168.3.1 192.168.3.5
Router(config)#ip dhcp excluded-address 192.168.3.254
Router(config)#ip dhcp excluded-address 192.168.2.254
Router(config)#ip dhcp excluded-address 192.168.1.254
Router(config)#
Router(config)#ip dhcp excluded-address 192.168.2.1 192.168.2.5
Router(config)#ip dhcp excluded-address 192.168.3.1 192.168.3.5
Router(config)#ip dhcp excluded-address 192.168.3.254
Router(config)#ip dhcp excluded-address 192.168.2.254
Router(config)#ip dhcp excluded-address 192.168.1.254
Router(config)#
- konfigurasi penambahan ip dan nexthoop (untuk mengenal jaringan pada mls)
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int g0/0
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
Router(config-if)#ip address 192.168.100.1 255.255.255.0
Router(config-if)#
Router#
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 192.168.4.0 255.255.255.0 192.168.100.2
Router(config)#ip route 192.168.5.0 255.255.255.0 192.168.100.2
Router(config)#ip route 192.168.6.0 255.255.255.0 192.168.100.2
Router(config)#
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int g0/0
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
Router(config-if)#ip address 192.168.100.1 255.255.255.0
Router(config-if)#
Router#
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 192.168.4.0 255.255.255.0 192.168.100.2
Router(config)#ip route 192.168.5.0 255.255.255.0 192.168.100.2
Router(config)#ip route 192.168.6.0 255.255.255.0 192.168.100.2
Router(config)#
- konfigurasi vlan pada copy switch2 atau switch dibawah msl
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int ra fa0/1-2,g0/1
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 60
Switch(config-if-range)#
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int ra fa0/1-2,g0/1
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 60
Switch(config-if-range)#
- konfigurasi vlan dan trunk pada copy switch2(1)
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int ra fa0/1-2
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 40
Switch(config-if-range)#ex
Switch(config)#int ra g0/1-2,fa0/24
Switch(config-if-range)#switchport mode trunk
Switch(config-if-range)#ex
Switch(config)#vlan 50
Switch(config-vlan)#name v50
Switch(config-vlan)#ex
Switch(config)#vlan 60
Switch(config-vlan)#name v60
Switch(config-vlan)#ex
Switch(config)#
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int ra fa0/1-2
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 40
Switch(config-if-range)#ex
Switch(config)#int ra g0/1-2,fa0/24
Switch(config-if-range)#switchport mode trunk
Switch(config-if-range)#ex
Switch(config)#vlan 50
Switch(config-vlan)#name v50
Switch(config-vlan)#ex
Switch(config)#vlan 60
Switch(config-vlan)#name v60
Switch(config-vlan)#ex
Switch(config)#
- konfigurasi vlan dan trunk pada copy switch2(2)
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int ra fa0/1-2
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 50
Switch(config-if-range)#ex
Switch(config)#int ra g0/1-2
Switch(config-if-range)#switchport mode trunk
Switch(config-if-range)#ex
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int ra fa0/1-2
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 50
Switch(config-if-range)#ex
Switch(config)#int ra g0/1-2
Switch(config-if-range)#switchport mode trunk
Switch(config-if-range)#ex
- konfigurasi vlan,trunk dan port base pada mls
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#ip routing
Switch(config)#int fa0/24
Switch(config-if)#switchport
Switch(config-if)#switchport trunk encapsulation dot1q
Switch(config-if)#switchport mode trunk
Switch(config-if)#int g0/1
Switch(config-if)#no switchport
Switch(config-if)#ip address 192.168.6.254 255.255.255.0
Switch(config)#int fa0/1
Switch(config-if)#no switchport
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
Switch(config-if)#ip address 192.168.100.2 255.255.255.0
Switch(config-if)#ex
- tambahkan vlan yang satu daerah
Switch(config-vlan)#name v40
Switch(config-vlan)#ex
Switch(config)#vlan 50
Switch(config-vlan)#name v50
Switch(config-vlan)#ex
Switch(config)#int vlan 40
Switch(config-if)#ip address 192.168.4.254 255.255.255.0
Switch(config-if)#ex
Switch(config)#int vlan 50
Switch(config-if)#ip address 192.168.5.254 255.255.255.0
Switch(config-if)#ex
- tambahkan helper address untuk menunjukan servernya
Switch(config-if)#ip help
Switch(config-if)#ip helper-address 192.168.1.1
Switch(config-if)#ex
Switch(config)#int vlan 40
Switch(config-if)#ip helper-address 192.168.1.1
Switch(config-if)#ex
Switch(config)#int vlan 50
Switch(config-if)#ip helper-address 192.168.1.1
Switch(config-if)#ex
- tambahkan ip route untuk memberitahukan rute
Switch(config)#ip route 192.168.2.0 255.255.255.0 192.168.100.1
Switch(config)#ip route 192.168.3.0 255.255.255.0 192.168.100.1
Switch(config)#
G. Kesimpulan
Mengkonfigurasi suatu jaringan memang membutuhkan ketelitian dan kesabaran, belajarlah dari trouble trouble yang ada. Berusahalah untuk troubleshooting daripada membuat jaringan ulang, karna apabila muncul masalah yang sama, nantinya akan bisa melakukan troubleshooting.
H. Referensi
https://krisnarengga.wordpress.com/2009/10/31/multi-layer-switch-dengan-inter-vlan-communication/
Sekian dari saya apbilaada kekurangan saya minta maaf...
Wassalamu'alaikum Wr.Wb
EmoticonEmoticon