Pertama kita buat topologinya seperti ini
selanjutnya kita akan setting SWITCH 1 dan SWITCH 2 untuk membuat Vlan
Lanjut kita akan menghubungkan kedua Vlan dengan membuat konfigurasi Trunk di kedua switch seperti di bawah ini:
Dilarang keras Beriklan Dan menyisipkan link aktif di komentar Berkomentar dengan sopan Kalau tidak jelas bisa mengikuti di Google+ Kami
Jika sudah kita kasih ip di semua PC
pc 0 |
pc 1 |
pc 2 |
pc 3 |
pc 4 |
pc 5 |
pc 6 |
pc 7 |
pc server / pc 8 |
Switch>enSelanjutnya, kita akan membagi pc tersebut ke dalam dua vlan yaitu vlan 50 dan vlan 60. Buka SWITCH 1 dan tuliskan :
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 50
Switch(config-vlan)#name hanif
Switch(config-vlan)#ex
Switch(config)#vlan 60
Switch(config-vlan)#name firmansyah
Switch(config-vlan)#ex
Lalu Buka SWITCH 2 untuk membagi pc tersebut ke dalam vlan yang sama pada SWITCH 1
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 60
Switch(config-vlan)#name firmansyah
Switch(config-vlan)#ex
Switch(config)#int fa 0/2
Switch(config-if)#sw
Switch(config-if)#switchport mod
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 vlan 50
Switch(config-if)#ex
Switch(config)#int fa 0/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 vlan 50
Switch(config-if)#ex
Switch(config)#int fa 0/4
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 vlan 60
Switch(config-if)#ex
Switch(config)#int fa 0/5
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 vlan 60
Switch(config-if)#ex
Switch>enLangkah selanjutnya kita seting ROUTER 0 untuk memberi IP pada Gig0/0 dan Gig0/1
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int fa 0/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 50
Switch(config-if)#ex
Switch(config)#int fa 0/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 acc
Switch(config-if)#switchport access vlan 50
Switch(config-if)#ex
Switch(config)#int fa 0/4
Switch(config-if)#sw
Switch(config-if)#switchport acc
Switch(config-if)#switchport access vlan 60
Switch(config-if)#ex
Switch(config)#int fa 0/5
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)#sw
Switch(config-if)#switchport acc
Switch(config-if)#switchport access vlan
Switch(config-if)#switchport access vlan 60
Switch(config-if)#ex
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int gigabitEthernet 0/0
Router(config-if)#ip add 192.168.30.5 255.255.255.252
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
Router(config-if)#ex
Router(config)#
Router(config)#int gi
Router(config)#int gigabitEthernet 0/1
Router(config-if)#ip add 192.168.20.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up
Lanjut Kemudian dilanjutkan dengan konfigurasi router seperti di bawah ini :
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0.50
%Invalid interface type and number
Router(config)#int gi
Router(config)#int gigabitEthernet 0/0.50
Router(config-subif)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0.50, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0.50, changed state to up
Router(config-subif)#enc
Router(config-subif)#encapsulation do
Router(config-subif)#encapsulation dot1Q 50
Router(config-subif)#ip add 192.168.50.128 255.255.255.128
Bad mask /25 for address 192.168.50.128
Router(config-subif)#ip add 192.168.50.133 255.255.255.128
Router(config-subif)#no shut
Router(config-subif)#ex
Router(config)#int gi
Router(config)#int gigabitEthernet 0/0.60
Router(config-subif)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0.60, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0.60, changed state to up
Router(config-subif)#enc
Router(config-subif)#encapsulation do
Router(config-subif)#encapsulation dot1Q 60
Router(config-subif)#ip add 192.168.60.69 255.255.255.192
Router(config-subif)#no shut
Router(config-subif)#ex
Router(config)#
Switch(config)#int fa0/1( kabel yang menuju router)Kemudian Kita akan memberi ip di servernya seperti gambar di bawah ini:
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode tr
Switch(config-if)#switchport mode trunk
Switch(config-if)#
%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
Switch(config-if)#
Buat juga DNS Nya
Jika sudah cek DNS nya dengan membuka web browser di pc dengan mengetikan IP atau Domain Nya yang telah di buat
Selesai
Dilarang keras Beriklan Dan menyisipkan link aktif di komentar Berkomentar dengan sopan Kalau tidak jelas bisa mengikuti di Google+ Kami
EmoticonEmoticon