setting VLAN dan ROUTER

Pertama buat topologi seperti ini dulu. lalu setting dengan cara menyetting switch dan routernya tpi pastika semua pc sudah diisikan ip seperti yang tertera pada gambar.


lalu setting switch dulu 

Menyetting switch0

Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 30
Switch(config-vlan)#name pakeko
Switch(config-vlan)#exit
Switch(config)#vlan 40
Switch(config-vlan)#name masheru
Switch(config-vlan)#exit
Switch(config)#int fa0/1
Switch(config-if)#aw
Switch(config-if)#awmo
Switch(config-if)#aw
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode ac
Switch(config-if)#switchport mode access
Switch(config-if)#sw
Switch(config-if)#switchport ac
Switch(config-if)#switchport access vlan 30
Switch(config-if)#exit
Switch(config)#int fa0/2
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode acc
Switch(config-if)#switchport mode access
Switch(config-if)#sw
Switch(config-if)#switchport acc
Switch(config-if)#switchport access vl
Switch(config-if)#switchport access vlan 30
Switch(config-if)#exit
Switch(config)#int fa0/3
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode acc
Switch(config-if)#switchport mode access
Switch(config-if)#sw
Switch(config-if)#switchport ac
Switch(config-if)#switchport access vl
Switch(config-if)#switchport access vlan 40
Switch(config-if)#exit
Switch(config)#int fa0/4
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode ac
Switch(config-if)#switchport mode access
Switch(config-if)#sw
Switch(config-if)#switchport ac
Switch(config-if)#switchport access vl
Switch(config-if)#switchport access vlan 40
Switch(config-if)#exit
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int fa0/5
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode tr
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Switch(config)#

Menyetting switch1

Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 10
Switch(config-vlan)#name Ekajulia
Switch(config-vlan)#exit
Switch(config)#vlan 20
Switch(config-vlan)#name Vina
Switch(config-vlan)#exit
Switch(config)#int fa0/1
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode ac
Switch(config-if)#switchport mode access
Switch(config-if)#sw
Switch(config-if)#switchport acc
Switch(config-if)#switchport access v
Switch(config-if)#switchport access vlan 10
Switch(config-if)#exit
Switch(config)#int fa0/2
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode ac
Switch(config-if)#switchport mode access
Switch(config-if)#sw
Switch(config-if)#switchport ac
Switch(config-if)#switchport access vlan 10
Switch(config-if)#exit
Switch(config)#int fa0/3
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode ac
Switch(config-if)#switchport mode access
Switch(config-if)#sw
Switch(config-if)#switchport ac
Switch(config-if)#switchport access vlan 20
Switch(config-if)#exit
Switch(config)#int fa0/4
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode ac
Switch(config-if)#switchport mode access
Switch(config-if)#sw
Switch(config-if)#switchport ac
Switch(config-if)#switchport access vlan 20
Switch(config-if)#exit
Switch(config)#do sh vlan
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int fa0/5
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode tr
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Switch(config)#

Menyetting switch3
  
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 10
Switch(config-vlan)#name Ekajulia
Switch(config-vlan)#exit
Switch(config)#vlan 20
Switch(config-vlan)#name Vina
Switch(config-vlan)#exit
Switch(config)#int fa0/1
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode ac
Switch(config-if)#switchport mode access
Switch(config-if)#sw
Switch(config-if)#switchport acc
Switch(config-if)#switchport access v
Switch(config-if)#switchport access vlan 10
Switch(config-if)#exit
Switch(config)#int fa0/2
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode ac
Switch(config-if)#switchport mode access
Switch(config-if)#sw
Switch(config-if)#switchport ac
Switch(config-if)#switchport access vlan 10
Switch(config-if)#exit
Switch(config)#int fa0/3
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode ac
Switch(config-if)#switchport mode access
Switch(config-if)#sw
Switch(config-if)#switchport ac
Switch(config-if)#switchport access vlan 20
Switch(config-if)#exit
Switch(config)#int fa0/4
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode ac
Switch(config-if)#switchport mode access
Switch(config-if)#sw
Switch(config-if)#switchport ac
Switch(config-if)#switchport access vlan 20
Switch(config-if)#exit
Switch(config)#do sh vlan
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int fa0/5
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode tr
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Switch(config)#

Lalu setting router 

Menyetting router2

Router(config-if)#ip add 192.168.20.129 255.255.255.192
Router(config-if)#no shut
Router(config-if)#ex
Router(config)#int fa0/1
Router(config-if)#ip add 192.168.5.6 255.255.255.128
Router(config-if)#no shut
Router(config-if)#ex
Router(config)#
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/1.10
Router(config-subif)#
Router(config-subif)#en
Router(config-subif)#encapsulation do
Router(config-subif)#encapsulation dot1Q 10
Router(config-subif)#ip add 192.168.10.33 255.255.255.224
Router(config-subif)#no shut
Router(config-subif)#exit
Router(config)#int fa0/1.20
Router(config-subif)#
Router(config-subif)#en
Router(config-subif)#encapsulation do
Router(config-subif)#encapsulation dot1Q 20
Router(config-subif)#ip add 192.168.20.65 255.255.255.224
Router(config-subif)#no shut
Router(config-subif)#exit
Router(config)#ip route 192.168.10.0 255.255.255.0 192.168.5.5
Router(config)#ip route 192.168.40.48 255.255.255.240 192.168.5.5
Router(config)#ip route 192.168.30.32 255.255.255.240 192.168.5.5
Router(config)#no ip route 192.168.10.0 255.255.255.0 192.168.5.5
Router(config)#no ip route 192.168.40.48 255.255.255.240 192.168.5.5
Router(config)#no ip route 192.168.30.32 255.255.255.240 192.168.5.5
Router(config)#ip route 192.168.10.0 255.255.255.0 192.168.5.5
Router(config)#ip route 192.168.40.48 255.255.255.240 192.168.5.5
Router(config)#ip route 192.168.30.32 255.255.255.240 192.168.5.5
Router(config)#

kalau sudah coba ping semua antar pc sampai succesfull 




kemudian setting servernya.


sampai hasilnya seperti ini,untuk mengedit,buka services kemudian klik http kemudian akan muncul seperti ini.

pilih index.html lalu klik edit.

sampai hasilnya seperti ini,cara membukanya kita menggunakan ip dns yang tadi


kita coba menggunakan alamatnya tadi yaitu eka.com


jika keluar tulisan seperti itu berarti kamu sudah menyetting semua dan kamu sudah berhasil.
sekian dulu blog kali ini. harap maklum kalau ada yang kurang atau salah. soalnya saya juga lagi belajar. Kira - kira seperti itu setting VLAN dan ROUTER.

NB : Maaf karna Router0 nya nggak ada skripnya. tapi skripnya kurang lebih hambir sama dengan router2. mohon maaf yang sebesar besarnya jika ada yang kurang dan salah :) dan terima kasih :) 

Comments

Popular posts from this blog

Konfigurasi Manajemen Bandwidth

Pengertian NAT Static dan Dynamic

Macam-macam Protokol Pada Model OSI