Legacy Inter-Vlan Routing
Pertemuan Ke 3
Legacy Inter-VLAN Routing berfungsi untuk menghubungkan dua
buah VLAN yang berbeda dengan melalui enkapsulasi pada router.
Langkah-langkah konfigurasi pada cisco packet tracer:
- Buat Skema Jaringan
- Konfigurasi IP address pada pc 10 &
pc 3
- Konfigurasi switch
- Konfigurasi router
- Konfigurasi Switch Mode Trunk
- Tes Ping pada CMD
Berikut adalah Urutan Konfigurasinya:
1.Konfigurasi IP Address pada PC 1 & PC 3
IP address :
172.17.0.21
Subnetmask : 255.255.255.0
Gateway : 172.17.0.1
Subnetmask : 255.255.255.0
Gateway : 172.17.0.1
IP address :
172.17.30.23
Subnetmask : 255.255.255.0
Gateway : 172.17.30.1
Subnetmask : 255.255.255.0
Gateway : 172.17.30.1
2. Masuk Ke Switch Pilih CLI:
Switch>en
Switch#vlan
database
%
Warning: It is recommended to configure VLAN from config mode,
as
VLAN database mode is being deprecated. Please consult user
documentation
for configuring VTP/VLAN in config mode.
Switch(vlan)#vlan
10 name vlan10
VLAN
10 modified:
Name:
vlan10
Switch(vlan)#vlan
30 name vlan30
VLAN
30 modified:
Name:
vlan30
Switch(vlan)#exit
APPLY
completed.
Exiting....
Switch#conf
t
Enter
configuration commands, one per line. End with CNTL/Z.
Switch(config)#int
range fa0/1,fa0/11
Switch(config-if-range)#switchport
mode access
Switch(config-if-range)#switchport
access vlan 10
Switch(config-if-range)#int
range fa0/2,fa0/6
Switch(config-if-range)#switchport
mode access
Switch(config-if-range)#switchport
access vlan 30
Switch(config-if-range)#end
3. Konfigurasi Router
Router>en
Router#conf
t
Enter
configuration commands, one per line. End with CNTL/Z.
Router(config)#int
g0/0.10
Router(config-subif)#encapsulation
dot1Q 10
Router(config-subif)#ip
address 172.17.0.1 255.255.255.0
Router(config-subif)#int
g0/0
Router(config-if)#no
shut
Router>en
Router#conf
t
Enter
configuration commands, one per line. End with CNTL/Z.
Router(config)#int
g0/0.30
Router(config-subif)#encapsulation
dot1Q 30
Router(config-subif)#ip
address 172.17.30.1 255.255.255.0
Router(config-subif)#int
g0/1
Router(config-if)#no
shut
4.
Konfigurasi Switch Mode Trunk:
Switch#en
Switch#conf
t
Enter
configuration commands, one per line. End with CNTL/Z.
Switch(config)#int
range fa0/1-2
Switch(config-if-range)#switchport
mode trunk
Switch(config-if-range)#
%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
%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
Switch(config-if-range)#end
5. Ujicoba Jaringan
Ping 172.17.30.23
Ping 172.17.30.1
=====Terima
Kasih=====
Komentar
Posting Komentar