Uji Kompetensi

UKK Paket 1 - Rancang Bangun Jaringan & Server

Soal praktikum dan langkah kerja Uji Kompetensi Keahlian (UKK) Paket 1 - Konfigurasi Router MikroTik, Wireless Hotspot, dan Debian Server.

UKK Paket 1: Rancang Bangun Jaringan & Server

Modul ini memuat instruksi praktikum Soal UKK Paket 1 untuk siswa SMK Kelas 12. Siswa diminta merancang dan mengonfigurasi jaringan lokal (LAN), jaringan nirkabel (Wireless Hotspot), serta mempublikasikan layanan server (DNS & Web Server) berbasis Linux Debian.

Nama Paket: UKK Paket 1 — Rancang Bangun Infrastruktur Jaringan & Server
Alokasi Waktu: 3 Jam (180 Menit)
Tingkat: Kelas XII SMK Konsentrasi Keahlian TJKT / TKJ

📐 Topologi & Alokasi Alamat IP

                      [ ISP / Internet Gateway ]
                                  │
                                  │ (ether1 - DHCP Client)
                        ┌─────────┴─────────┐
                        │ MikroTik Router   │
                        └────┬──────────┬───┘
   (ether2 - 192.168.100.1/24)│          │ (wlan1 - Hotspot 192.168.200.1/24)
                             │          │
                     ┌───────┴──────┐  ┌┴────────────────┐
                     │ Switch / Hub │  │ Wireless Client │
                     └───┬──────┬───┘  └─────────────────┘
                         │      │
                         │      └────────────────┐
                         │                       │
      ┌──────────────────┴─────────┐   ┌─────────┴─────────┐
      │ Debian Server              │   │ PC Client LAN     │
      │ IP: 192.168.100.10/24      │   │ IP: DHCP Client   │
      │ Domain: nama-siswa.sch.id  │   └───────────────────┘
      └────────────────────────────┘

📋 Spasifikasi Tugas & Persyaratan Konfigurasi

1. Konfigurasi Router MikroTik:

  • Interface WAN (ether1): Berhasil memperoleh IP dari ISP via DHCP Client.
  • Interface LAN (ether2): IP Address 192.168.100.1/24.
  • DHCP Server LAN: Aktif untuk range IP 192.168.100.20 - 192.168.100.50.
  • Interface Wireless (wlan1 / ether3): IP Address 192.168.200.1/24.
  • Hotspot Server:
    • SSID: UKK_NAMA-SISWA (Contoh: UKK_RACHMAN).
    • DNS Name Hotspot: ukkhotspot.lab.
    • User Hotspot: Username siswa / Password smkbisa (Limit bandwidth 1Mbps).
  • Firewall NAT: Rule action=masquerade pada out-interface WAN.

2. Konfigurasi Linux Server (Debian 12):

  • IP Address Statis: 192.168.100.10/24, Gateway 192.168.100.1.
  • DNS Server (BIND9):
    • Forward Zone Domain: nama-siswa.sch.id ➔ A Record ke 192.168.100.10.
    • CNAME Record: www.nama-siswa.sch.id.
  • Web Server (NGINX / Apache):
    • Tampilan Halaman Web menginfokan: Nama Siswa, NISN, Kelas XII TKJ, dan Judul UKK 2026.
  • Remote SSH Management: Port default 22 / Port Hardening 2222.

🛠️ Langkah-Langkah Eksekusi Praktikum (Step-by-Step)

Step 1: Konfigurasi WAN & NAT Router MikroTik

Buka Winbox, hubungkan ke Router, lalu jalankan perintah CLI / GUI:

# 1. Setting DHCP Client WAN
/ip dhcp-client add interface=ether1 disabled=no

# 2. Setting IP Address LAN & Wireless
/ip address add address=192.168.100.1/24 interface=ether2
/ip address add address=192.168.200.1/24 interface=wlan1

# 3. Setting Firewall Masquerade Internet
/ip firewall nat add chain=srcnat out-interface=ether1 action=masquerade

Step 2: Konfigurasi DHCP Server & Hotspot MikroTik

# Setting DHCP Server LAN
/ip dhcp-server setup

# Setting Hotspot Server Wireless
/ip hotspot setup
# Select interface: wlan1
# Local address: 192.168.200.1/24
# Masquerade network: yes
# DNS Name: ukkhotspot.lab

# Membuat User Profile Hotspot (Limit 1M)
/ip hotspot user profile add name=profile-siswa rate-limit=1M/1M
/ip hotspot user add name=siswa password=smkbisa profile=profile-siswa

Step 3: Konfigurasi IP Statis Debian Server

Login ke Debian Server CLI sebagai root:

nano /etc/network/interfaces

Isikan konfigurasi IP Statis:

auto enp0s3
iface enp0s3 inet static
    address 192.168.100.10/24
    gateway 192.168.100.1
    dns-nameservers 192.168.100.10 8.8.8.8

Restart networking Debian:

systemctl restart networking

Step 4: Instalasi & Konfigurasi BIND9 DNS Server

Instal paket BIND9:

apt update && apt install bind9 bind9utils -y

Edit file /etc/bind/named.conf.local:

zone "rachman.sch.id" {
    type master;
    file "/etc/bind/db.rachman";
};

Buat file db zone dari template:

cp /etc/bind/db.local /etc/bind/db.rachman
nano /etc/bind/db.rachman

Sesuaikan isi A Record:

$TTL    604800
@       IN      SOA     rachman.sch.id. root.rachman.sch.id. (
                              2         ; Serial
                         604800         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                         604800 )       ; Negative Cache TTL
;
@       IN      NS      rachman.sch.id.
@       IN      A       192.168.100.10
www     IN      CNAME   rachman.sch.id.

Restart BIND9 service:

systemctl restart bind9

Step 5: Konfigurasi Web Server NGINX

Instal NGINX Web Server:

apt install nginx -y

Ubah halaman default /var/www/html/index.html:

<!DOCTYPE html>
<html>
<head>
    <title>UKK TKJ 2026 - Server Rachman</title>
</head>
<body style="font-family: sans-serif; text-align: center; padding: 50px; background: #0f172a; color: #fff;">
    <h1 style="color: #10b981;">UJI KOMPETENSI KEAHLIAN (UKK) TKJ 2026</h1>
    <p>Selamat Datang di Web Server Server Linux Debian</p>
    <hr style="border-color: #334155;" />
    <h3>Identitas Siswa:</h3>
    <p><strong>Nama:</strong> Rachman (Siswa XII TKJ)</p>
    <p><strong>NISN:</strong> 0012345678</p>
    <p><strong>Domain DNS:</strong> www.rachman.sch.id</p>
</body>
</html>

Restart NGINX:

systemctl restart nginx

🧪 Pengujian & Verifikasi Hasil Praktikum

  1. Uji Koneksi Client LAN:
    • Hubungkan PC Client ke Port ether2 Router.
    • Pastikan PC Client mendapatkan IP dari DHCP (192.168.100.x).
    • Jalankan ping 192.168.100.10 (Ping ke Server Debian) ➔ Reply Success.
    • Jalankan ping google.com (Ping ke Internet) ➔ Reply Success.
  2. Uji Resolusi Domain DNS:
    • Buka Command Prompt PC Client, ketik:
      nslookup rachman.sch.id
      
    • Pastikan hasilnya mengarah ke IP 192.168.100.10.
  3. Uji Akses Web Server:
    • Buka Browser pada PC Client, akses alamat http://rachman.sch.id atau http://www.rachman.sch.id.
    • Tampilan identitas siswa harus muncul dengan sempurna.
  4. Uji Hotspot Wireless:
    • Hubungkan Laptop / Smartphone ke Wi-Fi UKK_NAMA-SISWA.
    • Pastikan otomatis ter-redirect ke halaman Login Captive Portal http://ukkhotspot.lab.
    • Login dengan user siswa / pass smkbisa hingga terhubung ke internet.

Sudah Selesai Mempelajari Modul Ini?

Tandai modul ini untuk mencatat progress belajar Anda.