Rabu, 02 Mei 2012

Konfigurasi VLAN menggunakan Cisco Packet Tracer

VLAN atau Virtual LAN merupakan sebuah model jaringan yang tidak terbatas pada logasi fisik seperti LAN, hal ini mengakibatkan suatu network dapat dikonfigurasi secara virtual tanpa harus menuruti lokasi fisik peralatan.
Fungsi VLAN:

1. Komtrol terhadap Broadcast
    Broadcast terjadi di semua protokol, tetapi seberapa sering terjadinya tergantung pada 3 hal berikut:
    - Jenis Protokol
    - Aplikasi yang bekerja di network
    - Bagaimana layanan-layanan network digunakan
2.  Keamanan
    Administrator memiliki kontrol terhadap setiap port dan user dengan cara membuat VLAN dan  menciptakan banyak kelompok broadcast, dengan demikian user tidak akan bisa lagi leluasa menghubungkan workstation mereka ke sembarang port pada switch dan memperoleh akses ke sumber daya network
3.  Fleksibilitas dan Skalabilitas
     Switch membagi coalision domain. Router membagi broadcast domain, menghilangkan batasan-batasan fisikal.

Konfigurasi Switchlan 5302410044_A
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#hostname 5302410044_A
5302410044_A(config)#end
5302410044_A#
%SYS-5-CONFIG_I: Configured from console by console
               
5302410044_A#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
5302410044_A#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.  End with CNTL/Z.
5302410044_A(config)#hostname 5302410044_A
5302410044_A(config)#end
5302410044_A#
%SYS-5-CONFIG_I: Configured from console by console

5302410044_A#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
5302410044_A#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
5302410044_A(config)#ip dhcp pool VLAN-block A
                                             ^
% Invalid input detected at '^' marker.
               
5302410044_A(config)#ip
% Incomplete command.
5302410044_A(config)#ip dhcp pool VLAN-block_A
5302410044_A(dhcp-config)#network 192.168.1.0 255.255.255.0
5302410044_A(dhcp-config)#default-router 192.168.1.1
5302410044_A(dhcp-config)#dns-server 8.8.8.8
5302410044_A(dhcp-config)#exit
5302410044_A(config)#interface fastEthernet0/1
5302410044_A(config-if)#no switchport

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
5302410044_A(config-if)#ip address 12.12.12.1 255.255.255.252
5302410044_A(config-if)#exit
5302410044_A(config)#interface f
% Incomplete command.
5302410044_A(config)#interface fastEthernet0/2
5302410044_A(config-if)#switchport trunk encapsulation dot1q
5302410044_A(config-if)#switchport mode trunk

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up

5302410044_A(config-if)#exit
5302410044_A(config)#interface vlan1
5302410044_A(config-if)#description VLAN-block_A
5302410044_A(config-if)#ip address 192.168.1.1 255.255.255.0
5302410044_A(config-if)#exit
5302410044_A(config)#ip route 0.0.0.0 0.0.0.0 12.12.12.2
5302410044_A(config)#exit
5302410044_A#
%SYS-5-CONFIG_I: Configured from console by console

5302410044_A#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
5302410044_A#sh run
Building configuration...

Current configuration : 1384 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname 5302410044_A
!
!
!
!
!
ip dhcp pool VLAN-block_A
 network 192.168.1.0 255.255.255.0
 default-router 192.168.1.1
 dns-server 8.8.8.8
!
!
!
--More--

Konfigurasi Switchlan 5302410044_B

Switch>enable
Switch#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#hostname 5302410044_B
5302410044_B(config)#end
5302410044_B#
%SYS-5-CONFIG_I: Configured from console by console

5302410044_B#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
5302410044_B#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
5302410044_B(config)#ip dhcp pool VLAN-block_B
5302410044_B(dhcp-config)#network 192.168.2.0 255.255.255.0
5302410044_B(dhcp-config)#default-router 192.168.2.1
5302410044_B(dhcp-config)#dns-server 8.8.8.8
5302410044_B(dhcp-config)#exit
5302410044_B(config)#interface fastEthernet0/1
5302410044_B(config-if)#no switchport

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
5302410044_B(config-if)#ip address 12.12.12.2 255.255.255.252
5302410044_B(config-if)#exit
5302410044_B(config)#interface fastEthernet0/2
5302410044_B(config-if)#switchport trunk encapsulation dot1q
5302410044_B(config-if)#switchport mode trunk
5302410044_B(config-if)#exit
5302410044_B(config)#interface vlan2
5302410044_B(config-if)#description VLAN-block_B
5302410044_B(config-if)#ip address 192.168.2.1 255.255.255.0
5302410044_B(config-if)#exit
5302410044_B(config)#exit
5302410044_B#
%SYS-5-CONFIG_I: Configured from console by console

5302410044_B#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
5302410044_B(config)#ip route 0.0.0.0 0.0.0.0 12.12.12.1
5302410044_B(config)#exit
5302410044_B#
%SYS-5-CONFIG_I: Configured from console by console

5302410044_B#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
5302410044_B#
5302410044_B#sh run
Building configuration...

Current configuration : 1417 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname 5302410044_B
!
!
!
!
!
ip dhcp pool VLAN-block_B
 network 192.168.2.0 255.255.255.0
 default-router 192.168.2.1
 dns-server 8.8.8.8
!
!
!
 --More--

Untuk selengkapnya dapat di unduh DISINI

1 komentar:

Unknown mengatakan...

saya akan coba

Posting Komentar

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | ewa network review