Apnet 4 – Tugas Implemantasi VLAN sederhana

May 31, 2012 in Uncategorized

Buat blog (kalau bisa di widyatama) perorangan yang menerangkan langkah-langkah pengerjaan Tugas Implemantasi VLAN sederhana.http://panduchrystianto.blog.widyatama.ac.id/files/2012/05/Untitled1.jpg

Vlan Sederhana dalam satu gedung, dimana terdapat 2 Vlan, yaitu Vlan 2 dan Vlan 3.

Konfigurasi Pada Router

Router>en
Router#conf t
Router(config)#hostname router_test
router_testconfig)#exit

router_test#vlan database
router_test(vlan)#vlan 2 name Vlan_2
router_test(vlan)#vlan 3 name Vlan_3
router_test(vlan)#exit

router_test#show vlan brief
router_test#conf t

router_test(config)#int fa0/0
router_test(config-if)#switchport mode trunk
router_test(config-if)#switchport trunk allowed vlan 2
router_test(config-if)#switchport trunk allowed vlan add 3
router_test(config-if)#no sh
router_test(config-if)#exit

router_test(config)#int vlan 2
router_test(config-if)#ip address 192.168.1.254 255.255.255.0
router_test(config-if)#description IPADD_VLAN_2
router_test(config-if)#no sh
router_test(config-if)#exit

router_test(config)#inte vlan 3
router_test(config-if)#ip address 192.168.2.254 255.255.255.0
router_test(config-if)#description IPADD_VLAN_3
router_test(config-if)#no shut
router_test(config-if)#end

router_test#copy running-config startup-config

Konfigurasi Pada Switch

Switch>ena
Switch#conf t
Switch(config)#hostname vlan_sw
vlan_sw(config)#exit

vlan_sw#vlan database
vlan_sw(vlan)#vlan 2 name Vlan_2
vlan_sw(vlan)#vlan 3 name Vlan_3
vlan_sw(vlan)#exit

vlan_sw(vlan)#show vlan brief
vlan_sw#conf t

vlan_sw(config)#interface fa0/20
vlan_sw(config-if)#switchport mode trunk
vlan_sw(config-if)#description Router
vlan_sw(config-if)#no shut
vlan_sw(config-if)#exit

vlan_sw(config)#interface fa0/1
vlan_sw(config-if)#switchport access vlan 2
vlan_sw(config-if)#description PC_vlan_2
vlan_sw(config-if)#no shut
vlan_sw(config-if)#exit

vlan_sw(config)#interface fa0/2
vlan_sw(config-if)#switchport access vlan 3
vlan_sw(config-if)#description PC_vlan_3
vlan_sw(config-if)#no shut
vlan_sw(config-if)#end

vlan_sw#copy running-config startup-config

Pengalamatan PC

PC_vlan_2
Ip address        :   192.168.1.1
Subnet Mask    :   255.255.255.0
Gateway          :   192.168.1.254

 

PC_vlan_3
Ip address        :   192.168.2.1
Subnet Mask    :   255.255.255.0
Gateway          :   192.168.2.254
Print Friendly

Apnet 4 – Tugas Implemantasi VLAN di Lab. Networking

May 31, 2012 in Uncategorized

Buat blog (kalau bisa di widyatama) perorangan yang menerangkan langkah-langkah pengerjaan Tugas Implemantasi VLAN di Lab. Networking. Track, log, dan capture semua langkah yg dilakukan.

Topologi di atas memiliki dua PC dan Switch Cisco Catalyst, masing-masing device memiliki ip address seperti gambar di atas.

Untuk dapat membuat konfigurasi VLAN seperti diatas, berikut adalah langkah – langkahnya;

Masuk ke Global Configuration Mode;
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.

Buat 2 VLAN, VLAN 10 dan 20;
Switch(config)#vlan 10
Switch(config-vlan)#name staff
Switch(config-vlan)#exit
Switch(config)#vlan 20
Switch(config-vlan)#name manager
Switch(config-vlan)#exit

Assign VLAN 10 di port fa0/1 dan fa0/2
Switch(config)#interface fa0/1
Switch(config-if)#switchport access vlan 10
Switch(config-if)#exit
Switch(config)#interface fa0/2
Switch(config-if)#switchport access vlan 10
Switch(config-if)#exit

Assign VLAN 20 di port fa0/3 dan fa0/4
Switch(config)#interface fa0/3
Switch(config-if)#switchport access vlan 20
Switch(config-if)#exit
Switch(config)#interface fa0/4
Switch(config-if)#switchport access vlan 20
Switch(config-if)#exit

Untuk dapat melihat hasilnya, lakukan perintah seperti dibawah ini;
Switch#show vlan br

VLAN Name                             Status    Ports
—- ——————————– ——— ——————————-
1    default                                active    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
Gig1/1, Gig1/2
10   staff                                   active    Fa0/1, Fa0/2
20   manager                          active    Fa0/3, Fa0/4

 

 

 

 

 

 

 

 

 

 

 

 

Print Friendly

Hello world!

May 31, 2012 in Uncategorized

Welcome to Blog Universitas Widyatama Sites. This is your first post. Edit or delete it, then start blogging!

Print Friendly