Anda di halaman 1dari 4

PEMBAHASAN UKK TEKNIK KOMPUTER DAN JARINGAN PAKET 3

SMK NEGERI 3 KUDUS


TAHUN 2016

KONFIGURASI HOSTNAME MIKROTIK


system identity set name=namapeserta

KONFIGURASI ETHER1
ip dhcp-client add interface=ether1
ip dhcp-client enable
Muncul :
numbers:0 (isi 0)

PENGECEKAN DHCP CLIENT


ip dhcp-client print

KONFIGURASI ETHER 2 & 3 (WLAN)


ip address add address=192.168.100.1/24 interface=ether2 (LAN)
ip address add address=192.168.200.1/24 interface=wlan1 (Wifi)

KONFIGURASI DNS
ip dns set servers=8.8.8.8,8.8.4.4

KONFIGURASI ROUTING (NAT)


ip firewall nat add chain=srcnat out-interface=ether1
action=masquerade

PENGECEKAN IP ADDRESS, IP ROUTE, IP DNS, NAT


ip address print
ip route print
ip dns print
ip firewall nat print

PENGUJIAN IP ADDRESS, IP PUBLIK, DOMAIN


ping 192.168.100.1
ping 8.8.8.8
ping www.google.com

KONFIGURASI DHCP SERVER


Hapus dhcp server default dengan cara:
ip dhcp-server remove default

Konfigurasi dhcp server dengan cara:


ip dhcp-server setup
Muncul:
dhcp server interface: wlan1
dhcp address space: 192.168.200.0/24
gateway for dhcp network: 192.168.200.1
addresses to give out: 192.168.200.2-192.168.200.100
dns servers: 8.8.8.8,8.8.4.4
lease time: 3d
catatan: dari proses satu ke proses yang lain menekan enter
KONFIGURASI WIRELESS WLAN1
interface wireless print
muncul :
Flags: X - disabled, R - running
0 R name="wlan1" mtu=1500 mac-address=E4:8D:8C:52:82:FD arp=enabled
interface-type=Atheros AR9300 mode=ap-bridge
ssid="nama_peserta@HOTSPOT"
frequency=2412 band=2ghz-b/g channel-width=20mhz scan-list=default
wireless-protocol=any vlan-mode=no-tag vlan-id=1 wds-mode=disabled
wds-default-bridge=none wds-ignore-ssid=no bridge-mode=enabled
default-authentication=yes default-forwarding=yes default-ap-tx-
limit=0
default-client-tx-limit=0 hide-ssid=no security-profile=default
compression=no

Setting mode wireless

interface wireless edit


number: 0 (isi 0)
value-name: mode

ganti dengan “ap-bridge” seperti gambar 1, lalu tekan Ctrl + o untuk


simpan dan keluar.

Gambar 1 ap-bridge
KEMUDIAN
interface wireless edit
number: 0
value-name: ssid

ganti dengan “nama_peserta@HOTSPOT” seperti gambar 2, lalu tekan Ctrl + o


untuk simpan dan keluar.
Gambar 2. Nama hotspot

KONFIGURASI HOTSPOT
KONFIGURASI USER PROFILE:
ip hotspot user profile add name=profil-siswa shared-users=25 rate-
limit=256k/256k transparent-proxy=no
ip hotspot user profile add name= profil-guru shared-users=25
transparent-proxy=no

KONFIGURASI USER:
ip hotspot user add name=siswa password=siswa profile=profi-siswa
ip hotspot user add name=guru password=guru profile= profil-guru

KONFIGURASI HOTSPOT SETUP


KONFIGURASI WLAN1:
Ip hotspot setup
hotspot interface: wlan1
local address of network: 192.168.200.1/24
masquerade network: yes
address pool of network: 192.168.200.2-192.168.200.100
select certificate: none
ip address of smtp server: 0.0.0.0
dns servers: 8.8.8.8,8.8.4.4
dns name: sekolah.sch.id

MENGHILANGKAN COOKIE LOGIN HOTSPOT


ip hotspot profile set login-by=http-chap
Lalu Isikan
numbers: 1

CARA MENGGANTI TAMPILAN HOTSPOT LOGIN


file edit hotspot/login.html contents
cari kata “please log on to use microtik hotspot service”
lalu ganti dengan “Selamat Datang di hotspot SMK Negeri 3 Kudus”

BLOKIR SITUS WWW.YOUTUBE.COM


ip firewall mangle add chain=forward src-address=192.168.200.0/24
content=youtube.com action=mark-packet new-packet-mark=blokir
ip firewall filter add chain=forward packet-mark=blokir action=drop

MEMBYPASS ALAMAT bsnp-Indonesia.org

ip hotspot walled-garden add action=allow server=hotspot1 dst-


host=*bsnp-indonesia.org

Anda mungkin juga menyukai