Configurasi inter-Vlan di swicth layer 3 cisco paket tracer
Configurasi inter-Vlan di swicth layer 3 cisco paket tracer
hai ketemu lagie dengan saya kali ini saya akan bahas tentang Configurasi inter-Vlan di swicth layer 3 cisco paket tracer langsung saja di simak1.pertama setting router
Router>en
Router#config
t
Enter
configuration commands, one per line. End with CNTL/Z.
Router(config)#int
f0/0
Router(config-if)#ip
add 192.168.78.1 255.255.255.0
Router(config-if)#no
shut
Router(config-if)#do
wr
Building
configuration...
[OK]
Router(config-if)#
2.Buat vlan 10-20-30-40 dan aktifkan ip routing
SW-L3(config)#ip routing
SW-L3(config)#
SW-L3#
SW-L3(config-if)#vlan
20
SW-L3(config-vlan)#
%LINK-5-CHANGED:
Interface Vlan20, changed state to up
SW-L3(config-vlan)#ex
SW-L3(config)#vlan
30
SW-L3(config-vlan)#
%LINK-5-CHANGED:
Interface Vlan30, changed state to up
SW-L3(config-vlan)#ex
SW-L3(config)#vlan
40
SW-L3(config-vlan)#
%LINK-5-CHANGED:
Interface Vlan40, changed state to up
SW-L3(config-vlan)#ex
SW-L3(config)#
3.Setting interface gigabyte 0/1
SW-L3(config)#int
g0/1
SW-L3(config-if)#no
switchport
SW-L3(config-if)#ip
add 192.168.78.2 255.255.255.0
SW-L3(config-if)#no
shut
SW-L3(config-if)#do
wr
Building
configuration...
[OK]
4.setting vlan10-20-30-40
SW-L3(config)#int
vlan 10
SW-L3(config-if)#
SW-L3(config-if)#ip
add 192.168.1.254 255.255.255.0
SW-L3(config-if)#no
shut
SW-L3(config-if)#ex
SW-L3(config)#int
vlan 20
SW-L3(config-if)#ip
add 192.168.2.254 255.255.255.0
SW-L3(config-if)#no
shut
SW-L3(config-if)#int
vlan 30
SW-L3(config-if)#ip
add 192.168.3.254 255.255.255.0
SW-L3(config-if)#no
shut
SW-L3(config-if)#int
vlan 40
SW-L3(config-if)#ip
add 192.168.4.254 255.255.255.0
SW-L3(config-if)#no
shut
SW-L3(config-if)#
5.Memberi DHCP pada vlan
SW-L3(config)#vlan 10
SW-L3(config-vlan)#ip dhcp pool BLOK-A
SW-L3(dhcp-config)#network 192.168.1.0 255.255.255.0
SW-L3(dhcp-config)#default-router 192.168.1.254
SW-L3(dhcp-config)#dns-server 8.8.8.8
VLAN 20
SW-L3(config-vlan)#ex
SW-L3(config)#vlan 20
SW-L3(config-vlan)#ip dhcp pool BLOK-B
SW-L3(dhcp-config)#network 192.168.2.0 255.255.255.0
SW-L3(dhcp-config)#default-router 192.168.2.254
SW-L3(dhcp-config)#dns-server 8.8.8.8
SW-L3(config-vlan)#ex
SW-L3(config)#vlan 30
SW-L3(config-vlan)#ip dhcp pool BLOK-C
SW-L3(dhcp-config)#network 192.168.3.0 255.255.255.0
SW-L3(dhcp-config)#default-router 192.168.3.254
SW-L3(dhcp-config)#dns-server 8.8.8.8
SW-L3(config-vlan)#ex
SW-L3(config)#vlan 40
SW-L3(config-vlan)#ip dhcp pool BLOK-D
SW-L3(dhcp-config)#network 192.168.4.0 255.255.255.0
SW-L3(dhcp-config)#default-router 192.168.4.254
SW-L3(dhcp-config)#dns-server 8.8.8.8
6.konfigurasi trunking agar antar vlan bisa terkoneksi
SW-L3#config
t
SW-L3(config)#int f 0/2
SW-L3(config-if)#switchport trunk encapsulation dot1q
SW-L3(config-if)#switchport mode trunk
SW-L3#config
t
SW-L3(config)#int f 0/3
SW-L3(config-if)#switchport trunk encapsulation dot1q
SW-L3(config-if)#switchport mode trunk
7.konfigurasi kedua swicth layer 2
SW-2(config)#int
f0/1
SW-2(config-if)#switchport mode trunk
SW-2(config-if)#int f0/2
SW-2(config-if)#sw
SW-2(config-if)#switchport
mode access
SW-2(config-if)#switchport
access vlan 10
% Access VLAN
does not exist. Creating vlan 10
SW-2(config-if)#int f0/3
SW-2(config-if)#sw
SW-2(config-if)#switchport
mode access
SW-2(config-if)#switchport
access vlan 20
% Access VLAN
does not exist. Creating vlan 20
SW-2(config)#int
f0/1
SW-2(config-if)#switchport mode trunk
SW-2(config-if)#int
f0/2
SW-2(config-if)#sw
SW-2(config-if)#switchport
mode access
SW-2(config-if)#switchport
access vlan 30
% Access VLAN
does not exist. Creating vlan 30
configuration...
SW-2(config-if)#int
f0/3
SW-2(config-if)#sw
SW-2(config-if)#switchport
mode access
SW-2(config-if)#switchport
access vlan 40
% Access VLAN
does not exist. Creating vlan 40
configuration...
[OK]
8.dan yang terakhir routing di swicth da router
SW-L3(config)#ip route 0.0.0.0
0.0.0.0 192.168.78.1
Router(config)#ip route 0.0.0.0
0.0.0.0 192.168.78.2
Articel Terkait ( Menghubungkan 2 Router dengan Cisco Paket Tracer )
klik here to dwonload
Sekian posting saya tentang Configurasi inter-Vlan di swicth layer 3 cisco paket tracer
apabila ada kurang lebihnya mohon maaf
apabila ada kurang lebihnya mohon maaf
0 Response to "Configurasi inter-Vlan di swicth layer 3 cisco paket tracer"
Post a Comment