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

TEKNIK KOMPUTER DAN JARINGAN

TEKNOLOGI REKAYASA DAN TEKNOLOGI INFORMASI KOMUNIKASI

SMK SWADHIPA 2 NATAR

2022/2023
KONFIGURASI HOTSPOT
PADA MIKROTIK

GURU PEMATERI : EGA RAHMATILLAH


Topologi Jaringan

No. Nama Komponen Merk/Model/Ukuran


1 Koneksi Internet Minimal 1 Mbps
2 Router Board RB-941 haplite
3 Switch TP-Link 8 Port
4 PC SPC
5 Kabel UTP Cat. 5
6 USB Wireless TP-Link
7 Konektor RJ-45

3
1. Konfigurasi IP Address
GUI :
IP > address > add (+) > address (isi ip sesuai soal) > interface > apply > OK

CLI :
Ip address add address=(ip sesuai soal) interface=(sesuai soal)

Ether1 : 192.168.100.5/24
Ether2 : 192.168.10.1/24
Wlan1 : 192.168.20.1/24

4
2. Konfigurasi DNS
GUI :
IP > DNS > servers : 118.98.44.50 dan 118.98.44.20 > ceklis allow remote request > apply >
OK

CLI :
ip dns set servers=118.98.44.50,118.98.44.20 allow-remote-requests=yes

5
3. Konfigurasi route/gateway
GUI :
Ip > route > add > gateway (isi ip gateway) > apply > OK

CLI :
ip route add gateway=192.168.100.254

GATEWAY : 192.168.100.254

6
4. Konfigurasi NAT
GUI :
IP > firewall > NAT > add (+) > chain (srcnat) > out interfcae (ether1) > action (drop) > apply >

OK

7
CLI :
Ip firewall nat add chain=srcnat out-interface=ether1 action=masquarade

5. Konfigurasi WLAN
GUI :
Wireless > wlan1 (enable) > mode (ap bridge) > band (2Ghz-B/G/N) > ssid
(ega_rahmatillah@hotspot) > apply > OK

CLI :
Interface wireless enable numbers=0
interface wireless set mode=ap-bridge band=2ghz-b/g/n ssid=ega_rahmatillah@hotspot
numbers=0

8
6. Konfigurasi Hotspot
GUI :
Ip > hotspot > hotspot setup > interface (wlan1) > ip network > ip pool (2-100) > certificate
(none) > smtp (0.0.0.0) > ip dns (dns isp) > dns name (sekolah.sch.id) > finish

9
CLI :

Ip hotspot setup
Interface : wlan1
Ip network
Masquarade : yes
Ip pool : 2-100
Certificate : none
Smtp : 0.0.0.0
Dns : ip dns
Dns name : sekolah.sch.id

7. Konfigurasi walled garden


GUI :
Ip > hotspot > walled garden > add (+) > server (hotspot1) > dst. Host (*bsnp-indonesia.org)
> apply > OK

10
CLI :
Ip hotspot walled-garden add server=hotspot1 dst-host=*bsnp-indonesia.org action=allow

8. Konfigurasi Login Page

Buka windows explorer, ke tab direktori network kemudian ketik ftp://192.168.20.1 lalu
Enter

Kemudian login,,

11
Kemudian edit file login.html menggunakan notepad, jika sudah selesai kembalikan file
tersebut ketempat semula

9. Konfigurasi Limit Bandwidth


GUI :
Ip > hotspot > user profiles > add (+) > name : siswa/guru > rate limit rx/tx (256k/256k) >
apply > OK

12
CLI :
Ip hotspot profile add name=siswa rate-limit=256k/256k

GUI :
Ip > hotspot > users > add (+) > name (siswa) > password (siswa) > profile (siswa) > apply >
OK

CLI :
Ip hotspot user add name=siswa password=siswa profile=siswa

10. Konfigurasi Layer7 Protocol


GUI :
Ip > firewall > layer 7 protocol > add (+) > name(youtube) > regexp : ^.+(youtube.com).*$ >
apply > OK

13
CLI :
ip firewall layer7-protocol add name=youtube regexp="^.+(youtube.com).*\$"

GUI :
Ip > filter rules > add (+) > chain : forward > in. Interface : ether2 > layer7 protocol : youtube
> action : drop > apply > OK

14
CLI :
ip firewall filter add chain=forward in-interface=ether2 layer7-protocol=youtube
action=drop

TERIMA KASIHH.....

15

You might also like