Merancang bangun dan mengkonfigurasi Wifi Router berfungsi sebagai Gateway Internet, Hotspot, DHCP Server, Bandwith Limiter dan Firewall.

[admin@MikroTik] >> system identity set name=praktek
[admin@praktek] >> password
old-password:
new-password: 1234
confirm-new-password: 1234[admin@praktek] >> interface set ether1 name=internet
[admin@praktek] >> interface set ether2 name=lan
[admin@praktek] >> interface set ether3 name=wlan
[admin@praktek] >> ip address add address=192.168.1.xxx/24 interface=internet
[admin@praktek] >> ip address add address=192.168.100.1/24 interface=lan
[admin@praktek] >> ip address add address=192.168.200.1/24 interface=wlan
[admin@praktek] >> ip route add gateway=192.168.1.254
[admin@praktek] >> ip dns set servers=192.168.1.254,8.8.8.8
[admin@praktek] >> ip firewall nat add chain=srcnat action=masquerade out-interface=internet
[admin@praktek] > ip hotspot setup (enter)
Select interface to run HotSpot on
hotspot interface: wlan
Set HotSpot address for interface
local address of network: 192.168.200.1/24
masquerade network: yes
Set pool for HotSpot addresses
address pool of network: 192.168.200.2-192.168.200.100
Select hotspot SSL certificate
select certificate: none
Select SMTP server
ip address of smtp server: 0.0.0.0
Setup DNS configuration
dns servers: 192.168.1.254,8.8.8.8
DNS name of local hotspot server
dns name: smkbpdkw.sch.id
name of local hotspot user:admin
user password for the user: *****
[admin@praktek] >interface wireless set wlan1 mode-ap-bridge band=2ghz-b/g/n ssid=test@hotspot numbers:
[admin@praktek] > ip hotspot user profile add name=siswa address-pool=hs-pool-3 rate-limit=256/256 shared-users=1
[admin@praktek] > ip hotspot user profile add name=guru address-pool=hs-pool-3 rate-limit=1024/1024 shared-users=1
[admin@praktek] > ip hotspot user add name=siswa password=siswa profile=siswa
[admin@praktek] > ip hotspot user add name=guru password=guru profile=guru
[admin@praktek] > ip hotspot walled-garden ip add action=accept disabled=no dst-host=www.bsnp-indonesia.org
[admin@praktek] > ip firewall layer7-protocol add name=”youtube” regexp=”^.+(youtube).*”
[admin@praktek] > ip firewall filter add chain=forward src-address=192.168.100.0/24 layer7-protocol=youtube action=drop

SETELAH ITU EDIT FILE login.html dan edit sesuai ketentuan soal,,, bisa menggunakan ftp dengan cara ftp://smkbpdkw.sch.id
Atau bisa lewat winbox… files /hotspot/login.html,,,

Ket:

  1. Untuk windows boleh menggunakan XP, ataupun Windows 7, ataupun windows 8
  2. Dipraktekan dengan menggunakan VirtualBox.
  3. Aktifkan 3 adapter,( 1 sebagai internet, 1 sebagai Lan, 1 sebagai wlan)
  4. IP Modem= 192.168.1.254

Leave a Reply

Your email address will not be published. Required fields are marked *