Nurwajianto Switching Vlan
Nurwajianto Switching Vlan
Noor Wajianto
[email protected]
Pendahuluan.
InterVLAN atau (Inter Virtual Local Area Network) dan merupakan suatu model jaringan yang tidak terbatas pada lokasi fisik, implementasi IVLAN biasanya di karenakan karena keterbatasan interface router yang sedikit biasanya hanya terdapat beberapa port Ethernet saja. Oleh sebab itu kita bisa menembahkan device yaitu switch seperti cisco switch 2950 yang akan kita konfigurasikan nanti. Sebuah switch biasanya mempunyai port antara 8 sampai 24 port. Dengan penggunaan VLAN maka pengaturan jaringan akan lebih fleksibel dan memiliki beberapa keuntungan dari segi security, mudah dalam pengaturan, dan trunk. Baik kita langsung saja to the point bagaimana mengkonfigurasi IVLAN switch cisco 2950 sebagai berikut :
Gambar InterVLAN
Komunitas eLearning IlmuKomputer.Com Copyright 2003-2008 IlmuKomputer.Com
RouterVLAN(config-subif)#encapsulation dot1q 1 RouterVLAN(config-subif)#ip add 192.168.1.1 255.255.255.0 RouterVLAN(config-subif)#int f0/0.2 RouterVLAN(config-subif)#encapsulation dot1q 2 RouterVLAN(config-subif)#ip add 192.168.2.1 255.255.255.0 RouterVLAN(config-subif)#int f0/0.3 RouterVLAN(config-subif)#encapsulation dot1q 3 RouterVLAN(config-subif)#ip add 192.168.3.1 255.255.255.0 RouterVLAN(config-subif)#int f0/0.4 RouterVLAN(config-subif)#encapsulation dot1q 4 RouterVLAN(config-subif)#ip add 192.168.4.1 255.255.255.0 RouterVLAN(config-subif)#end RouterVLAN#config t RouterVLAN(config)#int f0/0.5 RouterVLAN(config-subif)#encapsulation dot1q 5 RouterVLAN(config-subif)#ip add 192.168.5.1 255.255.255.0 RouterVLAN(config-subif)#int f0/0.6 RouterVLAN(config-subif)#encapsulation dot1q 6 RouterVLAN(config-subif)#ip add 192.168.6.1 255.255.255.0 RouterVLAN(config-subif)#int f0/0.7 RouterVLAN(config-subif)#encapsulation dot1q 7 RouterVLAN(config-subif)#ip add 192.168.7.1 255.255.255.0 RouterVLAN(config-subif)#end RouterVLAN#config t RouterVLAN(config)#enable password cantik------ password bebas RouterVLAN(config)#line vty 0 15
RouterVLAN#
VLAN#config t VLAN(config)#int f0/1 VLAN(config-if)#switchport mode trunk VLAN(config-if)#end VLAN#config t VLAN(config)#int f0/3 VLAN(config-if)#switchport mode access VLAN(config-if)#switchport access vlan 2 VLAN(config-if)#int f0/5 VLAN(config-if)#switchport mode access VLAN(config-if)#switchport access vlan 3 VLAN(config-if)#int f0/7 VLAN(config-if)#switchport mode access VLAN(config-if)#switchport access vlan 3 VLAN(config-if)#int f0/9 VLAN(config-if)#switchport mode access VLAN(config-if)#switchport access vlan 4 VLAN(config-if)#int f0/11 VLAN(config-if)#switchport mode access VLAN(config-if)#switchport access vlan 4 VLAN(config)#int f0/4 VLAN(config-if)#switchport mode access VLAN(config-if)#switchport access vlan 6 VLAN(config-if)#int f0/8 VLAN(config-if)#switchport mode access VLAN(config-if)#switchport access vlan 6 VLAN(config-if)#int f0/5 VLAN(config-if)#switchport mode access VLAN(config-if)#switchport access vlan 5 VLAN(config-if)#int f0/10 VLAN(config-if)#switchport mode access VLAN(config-if)#switchport access vlan 7 VLAN(config-if)#end VLAN#config t VLAN(config)#int vlan 1
VLAN(config-if)#ip add 192.168.1.2 255.255.255.0 VLAN(config-if)#no sh VLAN(config-if)#exit VLAN(config)#ip default-gateway 192.168.1.1 VLAN(config)#end VLAN#config t VLAN(config)#enable password cantik VLAN(config)#line vty 0 15 VLAN(config-line)#password cantik VLAN(config-line)#login VLAN(config-line)#exit VLAN(config-line)#^Z
Ketikan perintah VLAN#sh vlan. vlan. Jika berhasil hasilnya seperti di bawah ini
VLAN Name Status Ports
---- -------------------------------- --------- ------------------------------1 default active Fa0/6, Fa0/12, Fa0/13, Fa0/14 Fa0/15, Fa0/16, Fa0/17, Fa0/18 Fa0/19, Fa0/20, Fa0/21, Fa0/22 Fa0/23, Fa0/24 2 3 4 5 6 7 Server Fakultas-Ekonomi Fakultas-Kedokteran Fakultas-farmasi Fakultas-pertanian Fakultas-teknik active active active active active active active active active active Fa0/3 Fa0/7 Fa0/9, Fa0/11 Fa0/5 Fa0/4, Fa0/8 Fa0/10
VLAN Type
SAID
MTU
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ -----1 2 3 enet enet enet 100001 100002 100003 1500 1500 1500 0 0 0 0 0 0
4 5 6 7
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
SWITCH-VLAN2(config-if)#switchport access vlan 7 SWITCH-VLAN2(config-if)#end SWITCH-VLAN2#config t SWITCH-VLAN2(config-if)#ip default-gateway 192.168.1.1 SWITCH-VLAN2(config)#end SWITCH-VLAN2#config t SWITCH-VLAN2(config)#enable password cantik SWITCH-VLAN2(config)#line vty 0 15 SWITCH-VLAN2(config-line)#password cantik SWITCH-VLAN2(config-line)#login SWITCH-VLAN2(config-line)#exit SWITCH-VLAN2(config-line)#^Z
Ketikan perintah SWITCHSWITCH-VLAN2#sh vlan Jika berhasil hasilnya seperti di bawah ini
VLAN Name Status Ports
---- -------------------------------- --------- ------------------------------1 default active Fa0/1, Fa0/3, Fa0/6, Fa0/7 Fa0/9, Fa0/11, Fa0/12, Fa0/13 Fa0/14, Fa0/15, Fa0/16, Fa0/17 Fa0/18, Fa0/19, Fa0/20, Fa0/21 Fa0/22, Fa0/23, Fa0/24 5 6 7 Fakultas-farmasi Fakultas-pertanian Fakultas-teknik active active active active active active active Fa0/5 Fa0/4, Fa0/8 Fa0/10
VLAN Type
SAID
MTU
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ -----1 5 6 7 enet enet enet enet 100001 100005 100006 100007 101002 1500 1500 1500 1500 1500 0 0 0 0 0 0 0 0 0 0
1002 enet
0 0 0
0 0 0
Switch1/ witch1/VLAN
VLAN2 NETWORK 192.168.2.0/24 Gateway 192.168.2.1 VLAN3 NETWORK 192.168.3.0/24 Gateway 192.168.3.1 VLAN2 NETWORK 192.168.4.0/24 Gateway 192.168.4.1 VLAN 1 Default Network 192.168.1.0/24 Gateway 192.168.1.1
SWITCHSWITCH-VLAN2
VLAN5 NETWORK 192.168.5.0/24 Gateway 192.168.5.1 VLAN6 NETWORK 192.168.6.0/24 Gateway 192.168.6.1 VLAN7 NETWORK 192.168.7.0/24 Gateway 192.168.7.1
Semoga bermanfaat terutama bagi yang sedang mangambil ujian sertifikasi CCNA3. Experience is the best teacher. Kritik saran dan koreksi silahkan Email di [email protected]
Refrerensi
http://www.cisco.com Modul CCNA3 CCNA Exam Prep (Exam640-801) By David Minutella, Jeremy Cioara, Heather Stevenson Biography. Nur Wajianto menamatkan pendidikan Sekolah Teknologi Menengah Negeri 1 Sedayu, Bantul, Yogtakarta tahun 2006, mengambil jurusan Teknik Elektro dengan bidang keahlian Teknik Informatika konsentrasi Jaringan dan Web. Dan melanjutkan ke perguruan tinggi dengan mengambil jurusan yang sama ,memiliki Sertifikasi dari CISCO sebagai Cisco Certified Network Associated (CCNA), dan IT Essential (1,2) dari CISCO. For further information see at : http://www.nurwajianto.tk E-mail at : [email protected] E-mail at : [email protected] YM : waji4ntoe