Konfigurasi InterVLAN Routing dengan 3 Switch yang bertindak sebagai VTP Server
Kategori: CCNA (Cisco Network Academy)
Diposting oleh zuyan pada Kamis, 16 Desember 2010
[962 Dibaca] [3 Komentar]
Sekilas mengenai VLAN
Sebelum kita memulai penjelasan mengenai topologi dan konfigurasi menggunakan Konfigurasi InterVLAN Routing, ada baiknya kita memahami ataupun mengulas tentang VLAN terlebih dahulu.
Pengertian VLAN
Virtual LAN atau disingkat VLAN merupakan sekelompok perangkat pada satu LAN atau lebih yang dikonfigurasikan (menggunakan perangkat lunak pengelolaan) sehingga dapat berkomunikasi seperti halnya bila perangkat tersebut terhubung ke jalur yang sama, padahal sebenarnya perangkat tersebut berada pada sejumlah segmen LAN yang berbeda.
Mengapa menggunakan InterVLAN Routing?
[+] Dengan mengunakan InterVLAN Routing, kita dapat membangun sebuah jaringan dengan menggunakan biaya yang cukup rendah karena kita hanya menggunakan satu buah router. Seperti yang kita ketahui bahwa router memiliki interface yang terbatas.
[+] Kita dapat meningkatkan keamanan sebuah jaringan.
[+] Memberikan performa yang baik.
[+] ++
Konfigurasi InterVLAN Routing
Berikut gambaran topologi yang akan kita konfigurasi :
Topologi di atas terdiri dari:
- 4 VLAN (dua, tiga, empat, dan lima)
- 3 Switch yang bertindak sebagai server (Switch0, Switch1, dan Switch2),
- 4 Switch yang bertindak sebagai client (Switch3, Switch4, Switch5 dan Switch6),
- 1 Router sebagai one stack router (R0), dan
- 8 PC (masing 2 PC untuk tiap VLAN).
Saya rasa, Anda sudah mulai tahu dan terbiasa dengan konfigurasi-konfigurasi yang telah saya buat pada postingan-postingan sebelumnya, jadi kita langsung saja masuk ke konfigurasi dari topologi di atas tanpa penjelasan yang mendetail seperti postingan sebelumnya. ^^.
Memulai konfigurasi :
Konfigurasi pada Switch0:
Switch>
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vtp mode server
Device mode already VTP SERVER.
Switch(config)#vtp domain zuyan
Changing VTP domain name from NULL to zuyan
Switch(config)#vtp pass aji
Setting device VLAN database password to aji
Switch(config)#vlan 2
Switch(config-vlan)#name dua
Switch(config-vlan)#ex
Switch(config)#vlan 3
Switch(config-vlan)#name tiga
Switch(config-vlan)#ex
Switch(config)#vlan 4
Switch(config-vlan)#name empat
Switch(config-vlan)#ex
Switch(config)#vlan 5
Switch(config-vlan)#name lima
Switch(config-vlan)#ex
Switch(config)#^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Switch#sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, 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
2 dua active
3 tiga active
4 empat active
5 lima active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
2 enet 100002 1500 - - - - - 0 0
3 enet 100003 1500 - - - - - 0 0
4 enet 100004 1500 - - - - - 0 0
5 enet 100005 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0
Remote SPAN VLANs
------------------------------------------------------------------------------
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
Switch#conf t
Switch(config)#int ra fa0/1-3
Switch(config-if-range)#switchport mode trunk
Switch(config-if-range)#switchport trunk native vlan 1
Konfigurasi pada Switch1:
Switch>en
Switch#conf t
Switch(config)#vtp mode server
Device mode already VTP SERVER.
Switch(config)#vtp domain zuyan
Domain name already set to zuyan.
Switch(config)#vtp password aji
Setting device VLAN database password to aji
Switch(config)#int ra fa0/1-3
Switch(config-if-range)#switchport mode trunk
Switch(config-if-range)#switchport trunk native vlan 1
Switch(config-if-range)#^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Switch#sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/4, Fa0/5, Fa0/6, Fa0/7
Fa0/8, Fa0/9, Fa0/10, 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
2 dua active
3 tiga active
4 empat active
5 lima active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
2 enet 100002 1500 - - - - - 0 0
3 enet 100003 1500 - - - - - 0 0
4 enet 100004 1500 - - - - - 0 0
5 enet 100005 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0
Remote SPAN VLANs
------------------------------------------------------------------------------
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
Switch#
Konfigurasi pada Switch2:
Switch>
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vtp mode server
Device mode already VTP SERVER.
Switch(config)#vtp domain zuyan
Domain name already set to zuyan.
Switch(config)#vtp password aji
Setting device VLAN database password to aji
Switch(config)#int ra fa0/1-3
Switch(config-if-range)#switchport mode trunk
Switch(config-if-range)#switchport trunk native vlan 1
Switch(config-if-range)#^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Switch#sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/4, Fa0/5, Fa0/6, Fa0/7
Fa0/8, Fa0/9, Fa0/10, 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
2 dua active
3 tiga active
4 empat active
5 lima active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
2 enet 100002 1500 - - - - - 0 0
3 enet 100003 1500 - - - - - 0 0
4 enet 100004 1500 - - - - - 0 0
5 enet 100005 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0
Remote SPAN VLANs
------------------------------------------------------------------------------
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
Switch#
Konfigurasi pada Switch3:
Switch>
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vtp mode server
Device mode already VTP SERVER.
Switch(config)#vtp domain zuyan
Domain name already set to zuyan.
Switch(config)#vtp password aji
Setting device VLAN database password to aji
Switch(config)#int ra fa0/1-3
Switch(config-if-range)#switchport mode trunk
Switch(config-if-range)#switchport trunk native vlan 1
Switch(config-if-range)#^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Switch#sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/4, Fa0/5, Fa0/6, Fa0/7
Fa0/8, Fa0/9, Fa0/10, 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
2 dua active
3 tiga active
4 empat active
5 lima active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
2 enet 100002 1500 - - - - - 0 0
3 enet 100003 1500 - - - - - 0 0
4 enet 100004 1500 - - - - - 0 0
5 enet 100005 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0
Remote SPAN VLANs
------------------------------------------------------------------------------
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
Switch#
Konfigurasi pada Switch4:
Switch>
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vtp mode client
Setting device to VTP CLIENT mode.
Switch(config)#vtp domain zuyan
Domain name already set to zuyan.
Switch(config)#vtp password aji
Setting device VLAN database password to aji
Switch(config)#in fa 0/1
Switch(config-if)#sw trunk native vlan 1
Switch(config-if)#ex
Switch(config)#int ra fa0/2-3
Switch(config-if-range)#switchport access vlan 3
Switch(config-if-range)#^Z
Switch#sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/4, Fa0/5, Fa0/6, Fa0/7
Fa0/8, Fa0/9, Fa0/10, 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
2 dua active
3 tiga active Fa0/2, Fa0/3
4 empat active
5 lima active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
2 enet 100002 1500 - - - - - 0 0
3 enet 100003 1500 - - - - - 0 0
4 enet 100004 1500 - - - - - 0 0
5 enet 100005 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0
Remote SPAN VLANs
------------------------------------------------------------------------------
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
Switch#
Konfigurasi pada Switch5:
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vtp mode client
Setting device to VTP CLIENT mode.
Switch(config)#vtp domain zuyan
Domain name already set to zuyan.
Switch(config)#vtp password aji
Setting device VLAN database password to aji
Switch(config)#int fa0/1
Switch(config-if)#switchport mode tr
Switch(config-if)#switchport tr na vlan 1
Switch(config-if)#ex
Switch(config)#int ra fa0/2-3
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 4
Switch(config-if-range)#^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console
sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/4, Fa0/5, Fa0/6, Fa0/7
Fa0/8, Fa0/9, Fa0/10, 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
2 dua active
3 tiga active
4 empat active Fa0/2, Fa0/3
5 lima active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
2 enet 100002 1500 - - - - - 0 0
3 enet 100003 1500 - - - - - 0 0
4 enet 100004 1500 - - - - - 0 0
5 enet 100005 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0
Remote SPAN VLANs
------------------------------------------------------------------------------
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
Switch#
Konfigurasi pada Switch6:
Switch>
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vtp mode client
Setting device to VTP CLIENT mode.
Switch(config)#vtp domain zuyan
Domain name already set to zuyan.
Switch(config)#vtp password aji
Setting device VLAN database password to aji
Switch(config)#int fa0/1
Switch(config-if)#switchport mode tr
Switch(config-if)#sw tr na vlan 1
Switch(config-if)#ex
Switch(config)#int ra fa0/2-3
Switch(config-if-range)#sw mode access
Switch(config-if-range)#switchport ac vlan 5
Switch#
%SYS-5-CONFIG_I: Configured from console by console
sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/4, Fa0/5, Fa0/6, Fa0/7
Fa0/8, Fa0/9, Fa0/10, 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
2 dua active
3 tiga active
4 empat active
5 lima active Fa0/2, Fa0/3
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
2 enet 100002 1500 - - - - - 0 0
3 enet 100003 1500 - - - - - 0 0
4 enet 100004 1500 - - - - - 0 0
5 enet 100005 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0
Remote SPAN VLANs
------------------------------------------------------------------------------
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
Switch#
Konfigurasi pada Router0:
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#no sh
Router(config-if)#ex
Router(config)#in fa0/0.2
Router(config-subif)#encapsulation dot1Q 2
Router(config-subif)#ip address 192.168.47.30 255.255.255.224
Router(config-subif)#ex
Router(config)#int fa0/0.3
Router(config-subif)#encapsulation dot1Q 3
Router(config-subif)#ip address 192.168.47.62 255.255.255.224
Router(config-subif)#ex
Router(config)#int fa0/0.4
Router(config-subif)#encapsulation dot1Q 4
Router(config-subif)#ip ad 192.168.47.94 255.255.255.224
Router(config-subif)#ex
Router(config)#in fa 0/0.5
Router(config-subif)#encapsulation dot1Q 5
Router(config-subif)#ip address 192.168.47.126 255.255.255.224
Router(config-subif)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console
Sekian. Semoga bermanfaat! Vv.
Download .docx
Download .pdf
Download topologi dan konfigurasi .rar
PDF | DOC | DOCX
Komentar:
29 Desember 2010 pukul 23:18 WIB
Zuyan Aji mengatakan...
Tapi yang di kofigurasi Packet Tracer-nya sudah benr kok. Hanya kesalah copy-paste aja ke notepad. Vv
Seklai lagi maksih.
Alangkah baiknya Anda dapat mengerjakan konfigurasi yang sebenarnya, soalnya sintaksnya tidak jauh berbeda dengan switch clien yang lainya. Vv.
29 Desember 2010 pukul 23:10 WIB
Zuyan Aji mengatakan...
Iya, maaf ada kesalah teknis sedikit pada saat copy-paste sintaks ke notepad. Vv.
Makasih atas kritiknya Mas. Vv.
28 Desember 2010 pukul 13:35 WIB
Emula mengatakan...
Bukannya di S3 seharusnya jadi 'vtp mode client' bukan 'vtp mode server' jika yang dimaksud S3 menjadi 'sw mo acc vlan 2'..?
Kirim Komentar Anda:

