0% found this document useful (0 votes)
88 views8 pages

Nurwajianto Switching Vlan

Switching Vlan

Uploaded by

Scottie Erickson
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
88 views8 pages

Nurwajianto Switching Vlan

Switching Vlan

Uploaded by

Scottie Erickson
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Konfigurasi InterVLAN Cisco Switch 2950

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

KONFIGURASI DI ROUTER VLAN


Router> Router>en Router#config t Router(config)#hostname RouterVLAN RouterVLAN(config)#int f0/0 RouterVLAN(config-if)#no sh RouterVLAN(config-if)#int f0/0.1-----Masuk ke subinterface mode

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

Komunitas eLearning IlmuKomputer.Com Copyright 2003-2008 IlmuKomputer.Com

RouterVLAN(config-line)#password cantik RouterVLAN(config-line)#login RouterVLAN(config-line)#exit RouterVLAN(config-line)#^Z -------- Tekan Ctrl+Z

Ketikan perintah RouterVLAN#sh ip route Dan hasilnya seperti berikut


Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set C C C C C C C 192.168.1.0/24 is directly connected, FastEthernet0/0.1 192.168.2.0/24 is directly connected, FastEthernet0/0.2 192.168.3.0/24 is directly connected, FastEthernet0/0.3 192.168.4.0/24 is directly connected, FastEthernet0/0.4 192.168.5.0/24 is directly connected, FastEthernet0/0.5 192.168.6.0/24 is directly connected, FastEthernet0/0.6 192.168.7.0/24 is directly connected, FastEthernet0/0.7

RouterVLAN#

KONFIGURASI SWITCH 1 /VLAN


Switch>en Switch#config t Switch(config)#hostname VLAN VLAN(config)#^Z VLAN#vlan database VLAN(vlan)#vlan 2 name Server VLAN(vlan)#vlan 3 name Fakultas-Ekonomi VLAN(vlan)#vlan 4 name Fakultas-Kedokteran VLAN(vlan)#vlan 5 name Fakultas-farmasi VLAN(vlan)#vlan 6 name Fakultas-pertanian VLAN(vlan)#vlan 7 name Fakultas-teknik VLAN(vlan)#exit

Komunitas eLearning IlmuKomputer.Com Copyright 2003-2008 IlmuKomputer.Com

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

Komunitas eLearning IlmuKomputer.Com Copyright 2003-2008 IlmuKomputer.Com

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

1002 fddi-default 1003 token-ring-default 1004 fddinet-default 1005 trnet-default

VLAN Type

SAID

MTU

Parent RingNo BridgeNo Stp

BrdgMode Trans1 Trans2

---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ -----1 2 3 enet enet enet 100001 100002 100003 1500 1500 1500 0 0 0 0 0 0

Komunitas eLearning IlmuKomputer.Com Copyright 2003-2008 IlmuKomputer.Com

4 5 6 7

enet enet enet enet

100004 100005 100006 100007 101002 101003 101004 101005

1500 1500 1500 1500 1500 1500 1500 1500

0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0

1002 enet 1003 enet 1004 enet 1005 enet VLAN#

KONFIGURASI SWITCH 2/SWITCH-VLAN2


Switch>en Switch#config t Switch(config)#hostname SWITCH-VLAN2 SWITCH-VLAN2(config)#^Z SWITCH-VLAN2#vlan database SWITCH-VLAN2(vlan)#vlan 5 name Fakultas-farmasi SWITCH-VLAN2(vlan)#vlan 6 name Fakultas-pertanian SWITCH-VLAN2(vlan)#vlan 7 name Fakultas-teknik SWITCH-VLAN2#config t SWITCH-VLAN2(config)#int f0/2 SWITCH-VLAN2(config-if)#switchport mode trunk SWITCH-VLAN2(config-if)#end %SYS-5-CONFIG_I: Configured from console by console SWITCH-VLAN2#config t SWITCH-VLAN2(config)#int f0/4 SWITCH-VLAN2(config-if)#switchport mode access SWITCH-VLAN2(config-if)#switchport access vlan 6 SWITCH-VLAN2(config-if)#int f0/8 SWITCH-VLAN2(config-if)#switchport mode access SWITCH-VLAN2(config-if)#switchport access vlan 6 SWITCH-VLAN2(config-if)#int f0/5 SWITCH-VLAN2(config-if)#switchport mode access SWITCH-VLAN2(config-if)#switchport access vlan 5 SWITCH-VLAN2(config-if)#int f0/10 SWITCH-VLAN2(config-if)#switchport mode access

Komunitas eLearning IlmuKomputer.Com Copyright 2003-2008 IlmuKomputer.Com

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

1002 fddi-default 1003 token-ring-default 1004 fddinet-default 1005 trnet-default

VLAN Type

SAID

MTU

Parent RingNo BridgeNo Stp

BrdgMode Trans1 Trans2

---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ -----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

Komunitas eLearning IlmuKomputer.Com Copyright 2003-2008 IlmuKomputer.Com

1003 enet 1004 enet 1005 enet

101003 101004 101005

1500 1500 1500

0 0 0

0 0 0

Catatan: VLAN1 adalah default, Standarisasi IP address pada InterVLAN

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

Komunitas eLearning IlmuKomputer.Com Copyright 2003-2008 IlmuKomputer.Com

You might also like