Sabtu, 14 September 2013

Konfigurasi VLAN di Cisco Packet Tracer ( 160 host ) Class A


Konfigurasi VLAN di Cisco Packet Tracer
160 host ( TKJ 60 Host , RPL 60 Host & ANI 40 Host )


Routing protocol dynamic : RIP version 2
Internet IP address :
64.64.64.1
Gateway :
64.64.64.2
DNS :
80.80.80.2(IP Server)
VLAN ID 1 Network : 1
0.10.10.0/24 Default VLAN 1
VLAN ID 2 Network : 1
1.11.11.0/26 VLAN Name TKJ
VLAN ID 3 Network : 12.1
2.12.0/26 VLAN Name RPL
VLAN ID 4 Network : 1
3.13.13.0/26 VLAN Name ANI

Masing – masing VLAN dikonfigurasi DHCP
Langkah pemberian IP address sub-interface untuk masing2 VLAN

Router(config)#int f0/0
Router(config-if)#no shutdown
à Perintah untuk mengaktifkan fast eth0/0
Router(config-if)#int f0/0.1
à Masuk ke mode sub-interface ditandai dgn config-subif
Router(config-subif)#encapsulation dot1q 1
Router(config-subif)#ip add 10.10.10.1 255.255.255.0
à Gateway untuk VLAN 1
Router(config-subif)#int f0/0.2
Router(config-subif)#encapsulation dot1q 2
Router(config-subif)#ip add 11.11.11.1 255.255.255.192
à Gateway untuk VLAN 2
Router(config-subif)#int f0/0.3
Router(config-subif)#encapsulation dot1q 3
Router(config-subif)#ip add 12.12.12.1 255.255.255.192
à Gateway untuk VLAN 3
Router(config-subif)#int f0/0.4
Router(config-subif)#encapsulation dot1q 4
Router(config-subif)#ip add 13.13.13.1 255.255.255.192
à Gateway untuk VLAN 4
Router(config-subif)#exit
Router(config)#int s0/0
Router(config-if)#ip add 64.64.64.1 255.255.255.252
Router(config-if)#clock rate 64000
Router(config-if)#bandwidth 2048
Router(config-if)#no sh
Router(config-if)#

Langkah mengaktifkan Konfigurasi Dynamic Routing RIP version 2
Router(config-if)#router rip
Router(config-router)#network 64.64.64.0
Router(config-router)#network 10.10.10.0
Router(config-router)#network 11.11.11.0
Router(config-router)#network 12.12.12.0
Router(config-router)#network 13.13.13.0
Router(config-router)#version 2
Router(config-router)#no auto-summary
Router(config-router)#exit
Router(config)#end

Langkah mengaktifkan konfigurasi DHCP untuk masing2 VLAN

Router#
Router#conf t
Router(config)#int f0/0.2
Router(config-subif)#ip dhcp pool TKJ
Router(dhcp-config)#network 11.11.11.0 255.255.255.192
Router(dhcp-config)#default-router 11.11.11.1
Router(dhcp-config)#dns-server 80.80.80.2
Router(dhcp-config)#exit
Router(config)#int f0/0.3
Router(config-subif)#ip dhcp pool RPL
Router(dhcp-config)#network 12.12.12.0 255.255.255.192
Router(dhcp-config)#default-router 12.12.12.1
Router(dhcp-config)#dns-server 80.80.80.2
Router(dhcp-config)#exit
Router(config)#int f0/0.4
Router(config-subif)#ip dhcp pool ANI
Router(dhcp-config)#network 13.13.13.0 255.255.255.192
Router(dhcp-config)#default-router 13.13.13.1
Router(dhcp-config)#dns-server 80.80.80.2
Router(dhcp-config)#exit
Router(config)#end
Router#

Konfigurasi Di Switch-VLAN

Membuat VLAN Database
Switch>en
Switch#config t
Switch(config)#hostname Switch-VLAN
Switch-VLAN(config)#^Z
à Ctrl+Z
Switch-VLAN#vlan database
Switch-VLAN(vlan)#vlan 2 name TKJ
Switch-VLAN(vlan)#vlan 3 name RPL
Switch-VLAN(vlan)#vlan 4 name ANI
Switch-VLAN(vlan)#exit

Mengaktifkan koneksi VLAN ke router /naik ke layer 3 inter-VLAN routing

Switch-VLAN#conf t
Switch-VLAN(config)#int f0/1
Switch-VLAN(config-if)#switchport mode trunk
Switch-VLAN(config-if)#end

Pemberian membership pada VLAN atau IP subnet address based

Switch-VLAN#config t
Switch-VLAN(config)#int f0/2
Switch-VLAN(config-if)#switchport mode access
Switch-VLAN(config-if)#switchport access vlan 2
Switch-VLAN(config-if)#int f0/3
Switch-VLAN(config-if)#switchport mode access
Switch-VLAN(config-if)#switchport access vlan 2
Switch-VLAN(config-if)#int f0/4
Switch-VLAN(config-if)#switchport mode access
Switch-VLAN(config-if)#switchport access vlan 2
Switch-VLAN(config-if)#int f0/5
Switch-VLAN(config-if)#switchport mode access
Switch-VLAN(config-if)#switchport access vlan 3
Switch-VLAN(config-if)#int f0/6
Switch-VLAN(config-if)#switchport mode access
Switch-VLAN(config-if)#switchport access vlan 3
Switch-VLAN(config-if)#int f0/7
Switch-VLAN(config-if)#switchport mode access
Switch-VLAN(config-if)#switchport access vlan 3
Switch-VLAN(config-if)#int f0/8
Switch-VLAN(config-if)#switchport mode access
Switch-VLAN(config-if)#switchport access vlan 4
Switch-VLAN(config-if)#int f0/9
Switch-VLAN(config-if)#switchport mode access
Switch-VLAN(config-if)#switchport access vlan 4
Switch-VLAN(config-if)#end

Setting Default-gateway pada VLAN 1

Switch-VLAN#config t
Switch-VLAN(config)#int vlan 1
Switch-VLAN(config-if)#ip add 10.10.10.2 255.255.255.0
à remote address pada switch
Switch-VLAN(config-if)#no sh
Switch-VLAN(config-if)#exit
Switch-VLAN(config)#ip default-gateway 10.10.10.1
à  fast eth router f0/0.1
Switch-VLAN(config)#end

Untuk Router1 hanya dikonfigurasi sebagai gateway untuk koneksi ke internet
Router>en
Router#conf t
Router(config)#hostname ISP-Router
Router(config)#int f0/0
Router(config-if)#ip add 80.80.80.1 255.255.255.252
Router(config-if)#no sh
Router(config-if)#int s1/0
Router(config-if)#ip add 64.64.64.2 255.255.255.252
Router(config-if)#no sh
Router(config-if)#
Router(config-if)#router rip
Router(config-router)#network 80.80.80.0
Router(config-router)#network 64.64.64.0
Router(config-router)#version 2
Router(config-router)#no auto-summary
Router(config-router)#exit
Router(config)#end
Untuk Server kita setting IP addressnya menjadi static




Silahkan Download File Document'nya Disini


Password : anggiapriyatna.blogspot.com ==> Tulis Secara manual

0 komentar:

Posting Komentar