- Pertama kita buka cisco
- 1 router 1841 lalu kita sambung kan dengan kabel straight
- Buatlah 2 buat switch 2950-24 lalu kita sambung kan dengan kabel Cross dan 15 pc lalu kita sambung kan dengan kabel Straight, liat lah gambar di bawah ini sebagai contoh :
klik gambar untuk memperbesar |
*Konfigurasi Switch0 mode trunk
Switch>enable
Switch#conf t
Switch(config)#int fa0/9
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Switch(config)#int fa0/10
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
*Konfigurasi Switch1 mode trunk
Switch>enable
Switch#conf t
Switch(config)#int fa0/9
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Switch>enable
Switch#conf t
Switch(config)#int fa0/9
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Switch(config)#int fa0/10
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
*Konfigurasi Switch1 mode trunk
Switch>enable
Switch#conf t
Switch(config)#int fa0/9
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Sekarang kita klik swicth0 dan swicth1 lalu pilih CLI untuk membuat vlan 10 dan 20 lalu kita ketikan perintahnya :
*Konfigurasi vlan pada Switch0 dan Switch1
Switch>enable
Switch#conf t
Switch(config)#vlan 10
Switch(config-vlan)#name tkj
Switch(config-vlan)#exit
Switch(config)#vlan 20
Switch(config-vlan)#name tkj1
Switch(config-vlan)#exit
Switch>enable
Switch#conf t
Switch(config)#vlan 10
Switch(config-vlan)#name tkj
Switch(config-vlan)#exit
Switch(config)#vlan 20
Switch(config-vlan)#name tkj1
Switch(config-vlan)#exit
Setelah kita buat vlan 10 dan vlan 20 kita akan menghubungkan vlan 10 dan 20 ke pc masing - masing sebagai berikut perintah nya :
*Konfigurasi pada Switch0 :
Switch>enable
Switch#conf t
Switch(config)#interface vlan 10
Switch(config-if)#
Switch(config-if-range)#int range fa0/1-fa0/4
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 10
Switch(config-if-range)#exit
Switch(config)#
Switch(config)#interface vlan 20
Switch(config-if)#
Switch(config-if-range)#int range fa0/5-fa0/8
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 20
Switch(config-if-range)#exit
*Konfigurasi pada Switch1 :
Switch>enable
Switch#conf t
Switch(config)#interface vlan 10
Switch(config-if)#
Switch(config-if-range)#int range fa0/1-fa0/4
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 10
Switch(config-if-range)#exit
Switch(config)#
Switch(config)#interface vlan 20
Switch(config-if)#
Switch(config-if-range)#int range fa0/5-fa0/8
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 20
Switch(config-if-range)#exit
Switch>enable
Switch#conf t
Switch(config)#interface vlan 10
Switch(config-if)#
Switch(config-if-range)#int range fa0/1-fa0/4
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 10
Switch(config-if-range)#exit
Switch(config)#
Switch(config)#interface vlan 20
Switch(config-if)#
Switch(config-if-range)#int range fa0/5-fa0/8
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 20
Switch(config-if-range)#exit
*Konfigurasi pada Switch1 :
Switch>enable
Switch#conf t
Switch(config)#interface vlan 10
Switch(config-if)#
Switch(config-if-range)#int range fa0/1-fa0/4
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 10
Switch(config-if-range)#exit
Switch(config)#
Switch(config)#interface vlan 20
Switch(config-if)#
Switch(config-if-range)#int range fa0/5-fa0/8
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 20
Switch(config-if-range)#exit
Setelah kita setting maka seperti gambar di bawah ini :
Switch0, klik gambar untuk memperbesar |
Switch1, klik gambar untuk memperbesar |
Sekarang kita setting router, pilih CLI masukan perintah nya :
*Konfigurasi pada Routers :
Router>enable
Router#conf t
Router(config)#interface fa0/0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface fa0/0.10
Router(config-subif)#encapsulation dot1Q 10
Router(config-subif)#ip address 192.168.1.1 255.255.255.0
Router(config-subif)#exit
Router(config)#interface fa0/0.20
Router(config-subif)#encapsulation dot1Q 20
Router(config-subif)#ip address 192.168.2.1 255.255.255.0
Router(config-subif)#exit
Router>enable
Router#conf t
Router(config)#interface fa0/0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface fa0/0.10
Router(config-subif)#encapsulation dot1Q 10
Router(config-subif)#ip address 192.168.1.1 255.255.255.0
Router(config-subif)#exit
Router(config)#interface fa0/0.20
Router(config-subif)#encapsulation dot1Q 20
Router(config-subif)#ip address 192.168.2.1 255.255.255.0
Router(config-subif)#exit
* PC0 Vlan 10 :
IP : 192.168.1.2
SM : 255.255.255.0
GW : 192.168.1.1
* PC4 Vlan 120 :
IP : 192.168.2.2
SM : 255.255.255.0
GW : 192.168.2.1
lalu kita ping mulai vlan 10 ke vlan 20, klo sukses ping nya berarti berhasil
klik gambar untuk memperbesar |
Wah mantep nih :D apalagi ane anak TKJ gan
ReplyDeleteBaru lagee nih, thanks mas tutorialnya..
ReplyDeleteMantap infonya nih buat anak TKJ hehe
ReplyDeleteSaya coba nanti
Mantep Gan :sup2
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteI blog qᥙite often and I seriously thɑnk you for yοur content.
ReplyDeleteTһis great article haѕ truⅼy peaked my intеrest.
I will take a notе of your site аnd қeep checking
fοr new details about once а weеk. I subscribed tߋ your RSS feed
tοo.
Wonderful post! We wiⅼl bbe linking t᧐ this greаt article onn ᧐ur website.
ReplyDeleteΚeep սp the g᧐od writing.
good
ReplyDeleteGood day! This is my first visit to your blog! We are a group of volunteers
ReplyDeleteand starting a new initiative in a community in the
same niche. Your blog provided us beneficial information to work on. You have done a outstanding job!
Hi there i am kavin, its my first time to commenting anywhere, when i read this article i thought i could also create comment due to this brilliant piece of writing.
ReplyDeleteI enjoy reading an article that will make people think. Also, many thanks for allowing
ReplyDeleteme to comment!
Simply wish to say your article is as surprising. The clearness in your
ReplyDeletepost is simply cool and i could assume you are an expert
on this subject. Fine with your permission allow me to grab
your feed to keep updated with forthcoming post.
Thanks a million and please carry on the rewarding work.
bang kenapa nggak bisa sukses koneknya
ReplyDeleteBang gk bisa connect di ping
ReplyDeleteSaya sdh ngikutin tutornya tapi tetep gk bisa konek
ReplyDeletesalah nya dimana kang
Delete