Vlan Standard: Konfigurasi PC

Download as pdf or txt
Download as pdf or txt
You are on page 1of 38

Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

VLAN STANDARD

Konfigurasi PC

PC0 :
IP Address : 192.168.10.1
Subnetmask : 255.255.255.0

PC1 :
IP Address : 192.168.10.2
Subnetmask : 255.255.255.0

Tes koneksi LAN dari PC0 ke PC1

C:\>ipconfig

FastEthernet0 Connection:(default port)

Connection-specific DNS Suffix..:


Link-local IPv6 Address.........: FE80::2D0:BCFF:FEB2:5896
IPv6 Address....................: ::
IPv4 Address....................: 192.168.10.1
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: ::
0.0.0.0

SMK Qamarul Huda Bagu 1


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

Bluetooth Connection:

Connection-specific DNS Suffix..:


Link-local IPv6 Address.........: ::
IPv6 Address....................: ::
IPv4 Address....................: 0.0.0.0
Subnet Mask.....................: 0.0.0.0
Default Gateway.................: ::
0.0.0.0

C:\>ping 192.168.10.2

Pinging 192.168.10.2 with 32 bytes of data:

Reply from 192.168.10.2: bytes=32 time<1ms TTL=128


Reply from 192.168.10.2: bytes=32 time<1ms TTL=128
Reply from 192.168.10.2: bytes=32 time<1ms TTL=128
Reply from 192.168.10.2: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.10.2:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\>

Konfigurasi VLAN pada SW1

Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname SW1
SW1(config)#vlan 10
SW1(config-vlan)#name GURU
SW1(config-vlan)#exit
SW1(config)#vlan 20
SW1(config-vlan)#name KEPSEK
SW1(config-vlan)#exit
SW1(config)#interface fa0/1
SW1(config-if)#switchport mode access
SW1(config-if)#switchport access vlan 10
SW1(config-if)#exit
SW1(config)#interface fa0/2
SW1(config-if)#switchport mode access
SW1(config-if)#switchport access vlan 20
SW1(config-if)#exit
SW1(config)#exit

SMK Qamarul Huda Bagu 2


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

SW1#
%SYS-5-CONFIG_I: Configured from console by console

SW1#show vlan brief

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24, Gig0/1, Gig0/2
10 GURU active Fa0/1
20 KEPSEK active Fa0/2
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
SW1#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
SW1#

Menguji hasil Konfigurasi VLAN

C:\>ipconfig

FastEthernet0 Connection:(default port)

Connection-specific DNS Suffix..:


Link-local IPv6 Address.........: FE80::2D0:BCFF:FEB2:5896
IPv6 Address....................: ::
IPv4 Address....................: 192.168.10.1
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: ::
0.0.0.0

Bluetooth Connection:

Connection-specific DNS Suffix..:


Link-local IPv6 Address.........: ::
IPv6 Address....................: ::
IPv4 Address....................: 0.0.0.0
Subnet Mask.....................: 0.0.0.0
Default Gateway.................: ::
0.0.0.0

SMK Qamarul Huda Bagu 3


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

C:\>ping 192.168.10.2

Pinging 192.168.10.2 with 32 bytes of data:

Request timed out.


Request timed out.
Request timed out.
Request timed out.

Ping statistics for 192.168.10.2:


Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

C:\>

SMK Qamarul Huda Bagu 4


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

VLAN MODE TRUNK

Konfigurasi PC

PC2 :
IP Address : 192.168.10.3
Subnetmask : 255.255.255.0

PC3 :
IP Address : 192.168.10.4
Subnetmask : 255.255.255.0

Lakukan pengujian Ping dari PC2 ke PC0, PC1dan PC3, begitu juga dari PC3 ke PC0, PC1 dan PC2. Amati
apa kira-kira yang terjadi.

Konfigurasi VLAN pada SW2

Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname SW2

SMK Qamarul Huda Bagu 5


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

SW2(config)#vlan 10
SW2(config-vlan)#name GURU
SW2(config-vlan)#exit
SW2(config)#vlan 20
SW2(config-vlan)#name KEPSES
SW2(config-vlan)#exit
SW2(config)#interface fa0/1
SW2(config-if)#switchport mode access
SW2(config-if)#switchport access vlan 10
SW2(config-if)#exit
SW2(config)#interface fa0/2
SW2(config-if)#switchport mode access
SW2(config-if)#switchport access vlan 20
SW2(config-if)#exit
SW2(config)#exit
SW2#
%SYS-5-CONFIG_I: Configured from console by console

SW2#show vlan brief

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24, Gig0/1, Gig0/2
10 GURU active Fa0/1
20 KEPSEK active Fa0/2
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
SW2#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
SW2#

Konfigurasi VLAN pada SW3

Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname SW3
SW3(config)#vlan 10
SW3(config-vlan)#name GURU

SMK Qamarul Huda Bagu 6


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

SW3(config-vlan)#exit
SW3(config)#vlan 20
SW3(config-vlan)#name KEPSEK
SW3(config-vlan)#exit
SW3(config)#interface fa0/1
SW3(config-if)#switchport mode access
SW3(config-if)#switchport access vlan 10
SW3(config-if)#exit
SW3(config)#interface fa0/2
SW3(config-if)#switchport mode access
SW3(config-if)#switchport access vlan 20
SW3(config-if)#exit
SW3(config)#exit
SW3#
%SYS-5-CONFIG_I: Configured from console by console

SW3#show vlan brief

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24, Gig0/1, Gig0/2
10 GURU active Fa0/1
20 KEPSEK active Fa0/2
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
SW3#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
SW3#

Pengujian Hasil Konfigurasi

Lakukan tes Ping dari PC2 ke PC0, PC1 dan PC3. Selanjutnya lakukan tes ping dari PC3 ke PC0, PC1
dan PC2. Perhatikan hasil dari masing-masing tes tersebut, lalu simpulkan apa perubahan yang
terjadi setelah dilakukan konfigurasi VLAN pada SW2 dan SW3

Konfigurasi Port Mode Trunk pada SW1

SW1>enable

SMK Qamarul Huda Bagu 7


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

SW1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#interface range fa0/23 - 24
SW1(config-if-range)#switchport mode trunk
SW1(config-if-range)#exit
SW1(config)#exit
SW1#show interface trunk
Port Mode Encapsulation Status Native vlan
Fa0/23 on 802.1q trunking 1
Fa0/24 on 802.1q trunking 1

Port Vlans allowed on trunk


Fa0/23 1-1005
Fa0/24 1-1005

Port Vlans allowed and active in management domain


Fa0/23 1,10,20
Fa0/24 1,10,20

Port Vlans in spanning tree forwarding state and not pruned


Fa0/23 1,10,20
Fa0/24 1,10,20

SW1#copy run startup


Destination filename [startup-config]?
Building configuration...
[OK]
SW1#

Konfigurasi Port Mode Trunk pada SW2

SW2>enable
SW2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SW2(config)#interface fa0/23
SW2(config-if)#switchport mode trunk
SW2(config-if)#exit
SW2(config)#exit
SW2#
%SYS-5-CONFIG_I: Configured from console by console

SW2#show interface trunk


Port Mode Encapsulation Status Native vlan
Fa0/23 on 802.1q trunking 1

Port Vlans allowed on trunk


Fa0/23 1-1005

SMK Qamarul Huda Bagu 8


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

Port Vlans allowed and active in management domain


Fa0/23 1,10,20

Port Vlans in spanning tree forwarding state and not pruned


Fa0/23 1,10,20

SW2#copy run startup


Destination filename [startup-config]?
Building configuration...
[OK]
SW2#

Konfigurasi Port Mode Trunk pada SW3

SW3>enable
SW3#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SW3(config)#interface fa0/24
SW3(config-if)#switchport mode trunk
SW3(config-if)#exit
SW3(config)#exit
SW3#

SW3#show interface trunk


Port Mode Encapsulation Status Native vlan
Fa0/24 on 802.1q trunking 1

Port Vlans allowed on trunk


Fa0/24 1-1005

Port Vlans allowed and active in management domain


Fa0/24 1,10,20

Port Vlans in spanning tree forwarding state and not pruned


Fa0/24 1,10,20

SW3#copy run startup


Destination filename [startup-config]?
Building configuration...
[OK]
SW3#

SMK Qamarul Huda Bagu 9


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

Pengujian Hasil Konfigurasi

Lakukan tes ping dari PC2 ke PC0, PC1 dan PC3

C:\>ipconfig

FastEthernet0 Connection:(default port)

Connection-specific DNS Suffix..:


Link-local IPv6 Address.........: FE80::260:70FF:FE3E:8CDB
IPv6 Address....................: ::
IPv4 Address....................: 192.168.10.3
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: ::
0.0.0.0

Bluetooth Connection:

Connection-specific DNS Suffix..:


Link-local IPv6 Address.........: ::
IPv6 Address....................: ::
IPv4 Address....................: 0.0.0.0
Subnet Mask.....................: 0.0.0.0
Default Gateway.................: ::
0.0.0.0

C:\>ping 192.168.10.1

Pinging 192.168.10.1 with 32 bytes of data:

Request timed out.


Request timed out.
Request timed out.
Request timed out.

Ping statistics for 192.168.10.1:


Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

C:\>ping 192.168.10.2

Pinging 192.168.10.2 with 32 bytes of data:

Reply from 192.168.10.2: bytes=32 time<1ms TTL=128


Reply from 192.168.10.2: bytes=32 time<1ms TTL=128
Reply from 192.168.10.2: bytes=32 time<1ms TTL=128
Reply from 192.168.10.2: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.10.2:

SMK Qamarul Huda Bagu 10


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),


Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\>ping 192.168.10.4

Pinging 192.168.10.4 with 32 bytes of data:

Request timed out.


Request timed out.
Request timed out.
Request timed out.

Ping statistics for 192.168.10.4:


Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

C:\>

SMK Qamarul Huda Bagu 11


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

VTP (Virtual Trunking Protocol)

Masih dengan konsep topologi yang sama dengan topologi mode Trunk, lakukan perubahan
konfigurasi pada setiap switch yang sebelumnya sudah dikonfigurasi table VLAN secara manual.

Menghapus konfigurasi VLAN statik pada SW1

SW1>enable
SW1#show vlan brief

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Gig0/1, Gig0/2
10 GURU active Fa0/1
20 KEPSEK active Fa0/2
1002 fddi-default active

SMK Qamarul Huda Bagu 12


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

1003 token-ring-default active


1004 fddinet-default active
1005 trnet-default active
SW1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#no vlan 10
SW1(config)#no vlan 20
SW1(config)#exit
SW1#
%SYS-5-CONFIG_I: Configured from console by console

SW1#show vlan brief

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Gig0/1, Gig0/2
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
SW1#

Menghapus konfigurasi VLAN pada SW2

SW2>enable
SW2#show vlan brief

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/24, Gig0/1, Gig0/2
10 GURU active Fa0/1
20 KEPSEK active Fa0/2
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
SW2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.

SMK Qamarul Huda Bagu 13


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

SW2(config)#no vlan 10
SW2(config)#no vlan 20
SW2(config)#exit
SW2#
%SYS-5-CONFIG_I: Configured from console by console

SW2#show vlan brief

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/24, Gig0/1, Gig0/2
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
SW2#

Menghapus konfigurasi VLAN pada SW3

SW3>enable
SW3#show vlan brief

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Gig0/1, Gig0/2
10 GURU active Fa0/1
20 KEPSEK active Fa0/2
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
SW3#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SW3(config)#no vlan 10
SW3(config)#no vlan 20
SW3(config)#exit
SW3#
%SYS-5-CONFIG_I: Configured from console by console

SMK Qamarul Huda Bagu 14


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

SW3#show vlan brief

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Gig0/1, Gig0/2
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
SW3#

Mengkonfigurasi VTP Server pada SW1

SW1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.

SW1(config)#vtp mode server


Device mode already VTP SERVER.
SW1(config)#vtp domain SMK
Changing VTP domain name from NULL to SMK
SW1(config)#vtp password smk
Setting device VLAN database password to smk

SW1(config)#vlan 10
SW1(config-vlan)#name GURU
SW1(config-vlan)#exit
SW1(config)#vlan 20
SW1(config-vlan)#name KEPSEK
SW1(config-vlan)#exit
SW1(config)#exit

SW1#
%SYS-5-CONFIG_I: Configured from console by console

SW1#copy run start


Destination filename [startup-config]?
Building configuration...
[OK]
SW1#

SMK Qamarul Huda Bagu 15


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

Mengkonfigurasi VTP Client pada SW2

SW2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SW2(config)#vtp mode client
Setting device to VTP CLIENT mode.
SW2(config)#vtp domain SMK
Domain name already set to SMK.
SW2(config)#vtp password smk
Setting device VLAN database password to smk
SW2(config)#exit
SW2#

SW2#show vlan brief

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/24, Gig0/1, Gig0/2
10 GURU active Fa0/1
20 KEPSEK active Fa0/2
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
SW2#

SW2#copy run start


Destination filename [startup-config]?
Building configuration...
[OK]
SW2#

Mengkonfigurasi VTP Client pada SW3

SW3>enable
SW3#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SW3(config)#vtp mode client
Setting device to VTP CLIENT mode.
SW3(config)#vtp domain SMK
Domain name already set to SMK.
SW3(config)#vtp password smk
Setting device VLAN database password to smk

SMK Qamarul Huda Bagu 16


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

SW3(config)#exit
SW3#
%SYS-5-CONFIG_I: Configured from console by console

SW3#show vlan brief

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Gig0/1, Gig0/2
10 GURU active Fa0/1
20 KEPSEK active Fa0/2
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
SW3#

Menambahkan VLAN 30 TU pada SW1 sebagai VTP Server

SW1>enable
SW1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#vlan 30
SW1(config-vlan)#name TU
SW1(config-vlan)#exit
SW1(config)#exit
SW1#
%SYS-5-CONFIG_I: Configured from console by console

SW1#copy run start


Destination filename [startup-config]?
Building configuration...
[OK]
SW1#show vlan brief

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Gig0/1, Gig0/2

SMK Qamarul Huda Bagu 17


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

10 GURU active Fa0/1


20 KEPSEK active Fa0/2
30 TU active
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
SW1#

Mengecek perubahan table VLAN pada SW2

SW2#show vlan brief

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/24, Gig0/1, Gig0/2
10 GURU active Fa0/1
20 KEPSEK active Fa0/2
30 TU active
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
SW2#

Mengecek perubahan table VLAN pada SW3

SW3#show vlan brief

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Gig0/1, Gig0/2
10 GURU active Fa0/1
20 KEPSEK active Fa0/2
30 TU active
1002 fddi-default active
1003 token-ring-default active

SMK Qamarul Huda Bagu 18


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

1004 fddinet-default active


1005 trnet-default active
SW3#

Amati setiap perubahan pada SW2 dan SW3 ketika ada perubahan pada table VLAN di dalam SW1

SMK Qamarul Huda Bagu 19


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

INTER-VLAN ROUTING

Sebelum melakukan konfigurasi inte-vlan routing rubah terlebih dahulu IP Address pada masing-
masing PC sesuai segment VLAN nya.

PC0 :
IP Address : 192.168.10.2
Subnetmask : 255.255.255.0
Gateway : 192.168.10.1

PC1:
IP Address : 192.168.20.2
Subnetmask : 255.255.255.0
Gateway : 192.168.20.1

PC2:
IP Address : 192.168.20.3
Subnetmask : 255.255.255.0
Gateway : 192.168.20.1

SMK Qamarul Huda Bagu 20


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

PC3:
IP Address : 192.168.10.3
Subnetmask : 255.255.255.0
Gateway : 192.168.10.1

Tes ping masing-masing PC dan amati hasil pengujian

Konfigurasi R1

Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#interface fa0/0
R1(config-if)#no shutdown

R1(config-if)#exit
R1(config)#interface fa0/0.10
R1(config-subif)#encapsulation dot1q 10
R1(config-subif)#ip address 192.168.10.1 255.255.255.0
R1(config-subif)#exit
R1(config)#interface fa0/0.20
R1(config-subif)#encapsulation dot1q 20
R1(config-subif)#ip address 192.168.20.1 255.255.255.0
R1(config-subif)#exit
R1(config)#exit
R1#
%SYS-5-CONFIG_I: Configured from console by console

R1#show ip interface brief


Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset up up
FastEthernet0/0.10 192.168.10.1 YES manual up up
FastEthernet0/0.20 192.168.20.1 YES manual up up
FastEthernet0/1 unassigned YES unset administratively down down
Vlan1 unassigned YES unset administratively down down

R1#copy run start


Destination filename [startup-config]?
Building configuration...
[OK]
R1#

SMK Qamarul Huda Bagu 21


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

Konfigurasi Port Trunk pada SW1 yang mengarah ke R1

SW1>enable
SW1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#interface fa0/22
SW1(config-if)#switchport mode trunk
SW1(config-if)#exit
SW1(config)#exit
SW1#
%SYS-5-CONFIG_I: Configured from console by console

SW1#copy run startup


Destination filename [startup-config]?
Building configuration...
[OK]
SW1#

Pengujian hasil konfigurasi Inter-VLAN Routing

C:\>ipconfig

FastEthernet0 Connection:(default port)

Connection-specific DNS Suffix..:


Link-local IPv6 Address.........: FE80::2D0:BCFF:FEB2:5896
IPv6 Address....................: ::
IPv4 Address....................: 192.168.10.2
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: ::
192.168.10.1

Bluetooth Connection:

Connection-specific DNS Suffix..:


Link-local IPv6 Address.........: ::
IPv6 Address....................: ::
IPv4 Address....................: 0.0.0.0
Subnet Mask.....................: 0.0.0.0
Default Gateway.................: ::
0.0.0.0

C:\>ping 192.168.10.3

Pinging 192.168.10.3 with 32 bytes of data:

Reply from 192.168.10.3: bytes=32 time<1ms TTL=128


Reply from 192.168.10.3: bytes=32 time<1ms TTL=128

SMK Qamarul Huda Bagu 22


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

Reply from 192.168.10.3: bytes=32 time<1ms TTL=128


Reply from 192.168.10.3: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.10.3:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\>ping 192.168.20.2

Pinging 192.168.20.2 with 32 bytes of data:

Request timed out.


Reply from 192.168.20.2: bytes=32 time=7ms TTL=127
Reply from 192.168.20.2: bytes=32 time<1ms TTL=127
Reply from 192.168.20.2: bytes=32 time<1ms TTL=127

Ping statistics for 192.168.20.2:


Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 7ms, Average = 2ms

C:\>ping 192.168.20.3

Pinging 192.168.20.3 with 32 bytes of data:

Request timed out.


Reply from 192.168.20.3: bytes=32 time<1ms TTL=127
Reply from 192.168.20.3: bytes=32 time=1ms TTL=127
Reply from 192.168.20.3: bytes=32 time<1ms TTL=127

Ping statistics for 192.168.20.3:


Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms

C:\>

SMK Qamarul Huda Bagu 23


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

ROUTING STATIK ANTAR Inter-VLAN

Konfigurasi VTP Server Pada SW4

Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname SW4
SW4(config)#vlan 100
SW4(config-vlan)#name TKJ
SW4(config-vlan)#exit
SW4(config)#vlan 200
SW4(config-vlan)#name FARMASI
SW4(config-vlan)#exit
SW4(config)#vlan 300
SW4(config-vlan)#name PERHOTELAN
SW4(config-vlan)#exit
SW4(config)#interface fa0/1
SW4(config-if)#switchport mode access
SW4(config-if)#switchport access vlan 100
SW4(config-if)#exit
SW4(config)#interface range fa0/22 - 24
SW4(config-if-range)#switchport mode trunk

SW4(config-if-range)#exit
SW4(config)#vtp mode server
Device mode already VTP SERVER.
SW4(config)#vtp domain JURUSAN

SMK Qamarul Huda Bagu 24


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

Changing VTP domain name from NULL to JURUSAN


SW4(config)#vtp password smk
Setting device VLAN database password to smk
SW4(config)#exit
SW4#
%SYS-5-CONFIG_I: Configured from console by console

SW4#show vlan brief

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5
Fa0/6, Fa0/7, Fa0/8, Fa0/9
Fa0/10, Fa0/11, Fa0/12, Fa0/13
Fa0/14, Fa0/15, Fa0/16, Fa0/17
Fa0/18, Fa0/19, Fa0/20, Fa0/21
Fa0/22, Gig0/1, Gig0/2
100 TKJ active Fa0/1
200 FARMASI active
300 PERHOTELAN active
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active

SW4#show interface trunk


Port Mode Encapsulation Status Native vlan
Fa0/23 on 802.1q trunking 1
Fa0/24 on 802.1q trunking 1

Port Vlans allowed on trunk


Fa0/23 1-1005
Fa0/24 1-1005

Port Vlans allowed and active in management domain


Fa0/23 1,100,200,300
Fa0/24 1,100,200,300

Port Vlans in spanning tree forwarding state and not pruned


Fa0/23 1,100,200,300
Fa0/24 1,100,200,300

SW4#copy run start


Destination filename [startup-config]?
Building configuration...
[OK]
SW4#

SMK Qamarul Huda Bagu 25


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

Konfigurasi VTP Client pada SW5

Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname SW5
SW5(config)#interface fa0/23
SW5(config-if)#switchport mode trunk
SW5(config-if)#exit
SW5(config)#vtp mode client
Setting device to VTP CLIENT mode.
SW5(config)#vtp domain JURUSAN
Domain name already set to JURUSAN.
SW5(config)#vtp password smk
Setting device VLAN database password to smk
SW5(config)#interface fa0/1
SW5(config-if)#switchport mode access
SW5(config-if)#switchport access vlan 200
SW5(config-if)#exit
SW5(config)#exit
SW5#
%SYS-5-CONFIG_I: Configured from console by console

SW5#show vlan brief

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5
Fa0/6, Fa0/7, Fa0/8, Fa0/9
Fa0/10, Fa0/11, Fa0/12, Fa0/13
Fa0/14, Fa0/15, Fa0/16, Fa0/17
Fa0/18, Fa0/19, Fa0/20, Fa0/21
Fa0/22, Fa0/24, Gig0/1, Gig0/2
100 TKJ active
200 FARMASI active Fa0/1
300 PERHOTELAN active
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
SW5#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
SW5#

Konfigurasi VTP Client pada SW6

SMK Qamarul Huda Bagu 26


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname SW6
SW6(config)#interface fa0/24
SW6(config-if)#switchport mode trunk
SW6(config-if)#exit
SW6(config)#vtp mode client
Setting device to VTP CLIENT mode.
SW6(config)#vtp domain JURUSAN
Domain name already set to JURUSAN.
SW6(config)#vtp password smk
Setting device VLAN database password to smk
SW6(config)#interface fa0/1
SW6(config-if)#switchport mode access
SW6(config-if)#switchport access vlan 300
SW6(config-if)#exit
SW6(config)#exit
SW6#
%SYS-5-CONFIG_I: Configured from console by console

SW6#show vlan brief

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5
Fa0/6, Fa0/7, Fa0/8, Fa0/9
Fa0/10, Fa0/11, Fa0/12, Fa0/13
Fa0/14, Fa0/15, Fa0/16, Fa0/17
Fa0/18, Fa0/19, Fa0/20, Fa0/21
Fa0/22, Fa0/23, Gig0/1, Gig0/2
100 TKJ active
200 FARMASI active
300 PERHOTELAN active Fa0/1
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
SW6#copy run startup
Destination filename [startup-config]?
Building configuration...
[OK]
SW6#

SMK Qamarul Huda Bagu 27


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

Konfigurasi Inter-VLAN Routing pada R2

Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2
R2(config)#interface fa0/1
R2(config-if)#no shutdown
R2(config-if)#exit

R2(config)#interface fa0/1.100
R2(config-subif)#encapsulation dot1q 100
R2(config-subif)#ip address 192.168.110.1 255.255.255.0
R2(config-subif)#exit
R2(config)#interface fa0/1.200
R2(config-subif)#encapsulation dot1q 200
R2(config-subif)#ip address 192.168.120.1 255.255.255.0
R2(config-subif)#exit
R2(config)#interface fa0/1.300
R2(config-subif)#encapsulation dot1q 300
R2(config-subif)#ip address 192.168.130.1 255.255.255.0
R2(config-subif)#exit
R2(config)#exit

R2#show ip interface brief


Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset administratively down down
FastEthernet0/1 unassigned YES unset up up
FastEthernet0/1.100 192.168.110.1 YES manual up up
FastEthernet0/1.200 192.168.120.1 YES manual up up
FastEthernet0/1.300 192.168.130.1 YES manual up up
Vlan1 unassigned YES unset administratively down down

R2#copy run startup


Destination filename [startup-config]?
Building configuration...
[OK]
R2#

Konfigurasi DHCP Server pada R2

R2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.

R2(config)#ip dhcp pool TKJ


R2(dhcp-config)#network 192.168.110.0 255.255.255.0
R2(dhcp-config)#default-route 192.168.110.1
R2(dhcp-config)#exit

SMK Qamarul Huda Bagu 28


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

R2(config)#ip dhcp pool FARMASI


R2(dhcp-config)#network 192.168.120.0 255.255.255.0
R2(dhcp-config)#default-route 192.168.120.1
R2(dhcp-config)#exit
R2(config)#ip dhcp pool PERHOTELAN
R2(dhcp-config)#network 192.168.130.0 255.255.255.0
R2(dhcp-config)#default-route 192.168.130.1
R2(dhcp-config)#exit
R2(config)#exit

R2#copy run start


Destination filename [startup-config]?
Building configuration...
[OK]
R2#

Konfigurasi PC Pada Area R2 Menjadi DHCP

PC4 :
IP Address : 192.168.110.2-192.168.110.254
Subnetmask : 255.255.255.0
Gateway : 192.168.110.1

PC5:
IP Address : 192.168.120.2-192.168.120.254
Subnetmask : 255.255.255.0
Gateway : 192.168.120.1

PC6 :
IP Address : 192.168.130.2-192.168.130.254
Subnetmask : 255.255.255.0
Gateway : 192.168.130.1

Lakukan pengujian konfigurasi pada VLAN wilayah R2. Pastikan semua PC dapat saling terhubung.
Lakukan pengujian dari anggota VLAN pada R2 ke anggota VLAN pada R1. Amati proses yang terjadi.

Konfiguras Routing R1 dan R2 untuk menghubungkan VLAN pada R1 dengan VLAN pada R2

 Memberikan IP Address pada interface FastEthernet 0/1 pada R1 yang terhubung ke R2

R1>enable
R1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#interface fa0/1
R1(config-if)#ip address 10.10.10.1 255.255.255.252
R1(config-if)#no shutdown

SMK Qamarul Huda Bagu 29


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

R1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

R1(config-if)#exit
R1(config)#exit
R1#
%SYS-5-CONFIG_I: Configured from console by console

R1#show ip interface brief


Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset up up
FastEthernet0/0.10 192.168.10.1 YES manual up up
FastEthernet0/0.20 192.168.20.1 YES manual up up
FastEthernet0/1 10.10.10.1 YES manual up up
Vlan1 unassigned YES unset administratively down down
R1#

 Memberikan IP Address pada interface FastEthernet 0/0 pada R2 yang terhubung ke R1


R2>enable
R2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#interface fa0/0
R2(config-if)#ip address 10.10.10.2 255.255.255.252
R2(config-if)#no shutdown

R2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R2(config-if)#exit
R2(config)#exit
R2#
%SYS-5-CONFIG_I: Configured from console by console

R2#show ip interface brief


Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.10.10.2 YES manual up up
FastEthernet0/1 unassigned YES unset up up
FastEthernet0/1.100 192.168.110.1 YES manual up up
FastEthernet0/1.200 192.168.120.1 YES manual up up
FastEthernet0/1.300 192.168.130.1 YES manual up up
Vlan1 unassigned YES unset administratively down down
R2#

SMK Qamarul Huda Bagu 30


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

Konfigurasi Routing Statik pada R1

 Memeriksa table routing pada R1


R1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/30 is subnetted, 1 subnets


C 10.10.10.0 is directly connected, FastEthernet0/1
C 192.168.10.0/24 is directly connected, FastEthernet0/0.10
C 192.168.20.0/24 is directly connected, FastEthernet0/0.20

R1#

 Menambahkan table routing ke network VLAN 100, VLAN 200 dan VLAN 300 yang terdapat pada
wilayah R2
R1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#ip route 192.168.110.0 255.255.255.0 fa0/1
R1(config)#ip route 192.168.120.0 255.255.255.0 fa0/1
R1(config)#ip route 192.168.130.0 255.255.255.0 fa0/1
R1(config)#exit
R1#
%SYS-5-CONFIG_I: Configured from console by console

R1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/30 is subnetted, 1 subnets


C 10.10.10.0 is directly connected, FastEthernet0/1
C 192.168.10.0/24 is directly connected, FastEthernet0/0.10
C 192.168.20.0/24 is directly connected, FastEthernet0/0.20

SMK Qamarul Huda Bagu 31


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

S 192.168.110.0/24 is directly connected, FastEthernet0/1


S 192.168.120.0/24 is directly connected, FastEthernet0/1
S 192.168.130.0/24 is directly connected, FastEthernet0/1

R1#copy run startup


Destination filename [startup-config]?
Building configuration...
[OK]
R1#

Konfigurasi Routing Statik pada R2

 Memeriksa table routing pada R2


R2#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/30 is subnetted, 1 subnets


C 10.10.10.0 is directly connected, FastEthernet0/0
C 192.168.110.0/24 is directly connected, FastEthernet0/1.100
C 192.168.120.0/24 is directly connected, FastEthernet0/1.200
C 192.168.130.0/24 is directly connected, FastEthernet0/1.300

R2#

 Menambahkan table routing yang mengarah ke network VLAN 10 dan VLAN 20 pada wilayah R1
R2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#ip route 192.168.10.0 255.255.255.0 fa0/0
R2(config)#ip route 192.168.20.0 255.255.255.0 fa0/0
R2(config)#exit
R2#
%SYS-5-CONFIG_I: Configured from console by console

R2#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

SMK Qamarul Huda Bagu 32


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

* - candidate default, U - per-user static route, o - ODR


P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/30 is subnetted, 1 subnets


C 10.10.10.0 is directly connected, FastEthernet0/0
S 192.168.10.0/24 is directly connected, FastEthernet0/0
S 192.168.20.0/24 is directly connected, FastEthernet0/0
C 192.168.110.0/24 is directly connected, FastEthernet0/1.100
C 192.168.120.0/24 is directly connected, FastEthernet0/1.200
C 192.168.130.0/24 is directly connected, FastEthernet0/1.300

R2#copy run startup


Destination filename [startup-config]?
Building configuration...
[OK]
R2#

Melakukan pengujian Konfigurasi Routing dari VLAN anggota R2 ke VLAN anggota R1

 Sampel : akan dilakukan ping dari VLAN 100 menuju ke VLAN 10 dan VLAN 20
Packet Tracer PC Command Line 1.0
C:\>ipconfig

FastEthernet0 Connection:(default port)

Connection-specific DNS Suffix..:


Link-local IPv6 Address.........: FE80::201:C7FF:FE89:DAEE
IPv6 Address....................: ::
IPv4 Address....................: 192.168.110.2
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: ::
192.168.110.1

Bluetooth Connection:

Connection-specific DNS Suffix..:


Link-local IPv6 Address.........: ::
IPv6 Address....................: ::
IPv4 Address....................: 0.0.0.0
Subnet Mask.....................: 0.0.0.0
Default Gateway.................: ::
0.0.0.0

C:\>ping 192.168.10.2

Pinging 192.168.10.2 with 32 bytes of data:

SMK Qamarul Huda Bagu 33


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

Request timed out.


Request timed out.
Request timed out.
Reply from 192.168.10.2: bytes=32 time<1ms TTL=126

Ping statistics for 192.168.10.2:


Packets: Sent = 4, Received = 1, Lost = 3 (75% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\>ping 192.168.10.2

Pinging 192.168.10.2 with 32 bytes of data:

Reply from 192.168.10.2: bytes=32 time<1ms TTL=126


Reply from 192.168.10.2: bytes=32 time<1ms TTL=126
Reply from 192.168.10.2: bytes=32 time<1ms TTL=126
Reply from 192.168.10.2: bytes=32 time<1ms TTL=126

Ping statistics for 192.168.10.2:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\>ping 192.168.20.2

Pinging 192.168.20.2 with 32 bytes of data:

Request timed out.


Request timed out.
Reply from 192.168.20.2: bytes=32 time<1ms TTL=126
Reply from 192.168.20.2: bytes=32 time<1ms TTL=126

Ping statistics for 192.168.20.2:


Packets: Sent = 4, Received = 2, Lost = 2 (50% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\>ping 192.168.20.2

Pinging 192.168.20.2 with 32 bytes of data:

Reply from 192.168.20.2: bytes=32 time<1ms TTL=126


Reply from 192.168.20.2: bytes=32 time<1ms TTL=126
Reply from 192.168.20.2: bytes=32 time<1ms TTL=126
Reply from 192.168.20.2: bytes=32 time<1ms TTL=126

Ping statistics for 192.168.20.2:

SMK Qamarul Huda Bagu 34


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),


Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\>

SMK Qamarul Huda Bagu 35


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

ACL (Access Control List)

Skenario : VLAN 100, VLAN 200 dan VLAN 300 pada anggota R2 tidak diizinkan mengakses VLAN 20
pada R1

Logika penyelesaian : Karena yang diblok adalah jalur masuk dari R2 maka konfigurasi ACL akan
dilakukan pada router terdekat dengan VLAN 20 yaitu pada R1. Disini ACL yang dipakai adalah ACL-
Extended yang akan mengeblok koneksi dari alamat network. Mengingat bahwa VLAN 100, VLAN
200 dan VLAN 300 pengalamatan dilakukan secara dinamis.

Konfigurasi ACL Extended pada R1

R1>enable
R1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#access-list 100 deny ip 192.168.110.0 0.0.0.255 192.168.20.0 0.0.0.255
R1(config)#access-list 100 deny ip 192.168.120.0 0.0.0.255 192.168.20.0 0.0.0.255
R1(config)#access-list 100 deny ip 192.168.130.0 0.0.0.255 192.168.20.0 0.0.0.255
R1(config)#access-list 100 permit ip 192.168.110.0 0.0.0.255 any
R1(config)#access-list 100 permit ip 192.168.120.0 0.0.0.255 any
R1(config)#access-list 100 permit ip 192.168.130.0 0.0.0.255 any
R1(config)#interface fa0/1
R1(config-if)#ip access-group 100 in
R1(config-if)#exit
R1(config)#exit
R1#
%SYS-5-CONFIG_I: Configured from console by console

SMK Qamarul Huda Bagu 36


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

R1#show access-list
Extended IP access list 100
10 deny ip 192.168.110.0 0.0.0.255 192.168.20.0 0.0.0.255 (4 match(es))
20 deny ip 192.168.120.0 0.0.0.255 192.168.20.0 0.0.0.255
30 deny ip 192.168.130.0 0.0.0.255 192.168.20.0 0.0.0.255
40 permit ip 192.168.110.0 0.0.0.255 any (4 match(es))
50 permit ip 192.168.120.0 0.0.0.255 any (4 match(es))
60 permit ip 192.168.130.0 0.0.0.255 any

R1#copy run startup


Destination filename [startup-config]?
Building configuration...
[OK]
R1#

Menguji hasil konfigurasi ACL

Pengujian dari VLAN 100 menuju ke VLAN 10 dan VLAN 20

C:\>ipconfig

FastEthernet0 Connection:(default port)

Connection-specific DNS Suffix..:


Link-local IPv6 Address.........: FE80::201:C7FF:FE89:DAEE
IPv6 Address....................: ::
IPv4 Address....................: 192.168.110.2
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: ::
192.168.110.1

Bluetooth Connection:

Connection-specific DNS Suffix..:


Link-local IPv6 Address.........: ::
IPv6 Address....................: ::
IPv4 Address....................: 0.0.0.0
Subnet Mask.....................: 0.0.0.0
Default Gateway.................: ::
0.0.0.0

C:\>ping 192.168.10.2

Pinging 192.168.10.2 with 32 bytes of data:

Reply from 192.168.10.2: bytes=32 time<1ms TTL=126


Reply from 192.168.10.2: bytes=32 time<1ms TTL=126

SMK Qamarul Huda Bagu 37


Modul Praktikum : Administrasi Infrastruktur Jaringan Kelas XI Teknik Komputer dan Jaringan

Reply from 192.168.10.2: bytes=32 time<1ms TTL=126


Reply from 192.168.10.2: bytes=32 time=12ms TTL=126

Ping statistics for 192.168.10.2:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 12ms, Average = 3ms

C:\>ping 192.168.20.2

Pinging 192.168.20.2 with 32 bytes of data:

Reply from 10.10.10.1: Destination host unreachable.


Reply from 10.10.10.1: Destination host unreachable.
Reply from 10.10.10.1: Destination host unreachable.
Reply from 10.10.10.1: Destination host unreachable.

Ping statistics for 192.168.20.2:


Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

C:\>

Lakukan juga pengujian dari VLAN 200 dan VLAN 300 menuju ke VLAN 10 dan VLAN 20.

SMK Qamarul Huda Bagu 38

You might also like