ditulis sebagai catatan pengingat. asumsi, menggunakan modem speedy (192.168.1.1) dan jaringan lokal 192.168.10.xx. salah satu client yang diatur bandwithnya adalah 192.168.10.2
1. Menambahkan password
$/password
old password:
new password:*****
retype password:******
2. Memberi nama pada interface
/interface set 0 name=speedy
/interface set 1 name=local
3. Memberi nama hostname
/system identity set name=routermikrotik
4. Set IP Address
/ip address add interface=speedy address 192.168.1.2 netmask 255.255.255.0
/ip address add interface=local address 192.168.10.1 netmask 255.255.255.0
5.Set Gateway
/ip route add gateway=192.168.1.1
6. Set NAT
/ip firewall nat add chain=srcnat action=masquerade out-interface=speedy
7. DNS server
/ip dns set primary-dns=8.8.8.8 allow-remoterequests=yes
8. Manajemen Bandwith
/ip firewall mangle add chain=prerouting src-address=192.168.10.2 dst-address=0.0.0.0/0 action=mark-connection new-connection-mark=client01-con passthrough=yes
/ip firewall mangle add chain=prerouting action=mark-packet new-packet-mark=client01 passthrough=yes connection-mark=client01-con
/queue tree add name=client01-up parent=speedy packet-mark=client01 limit-at=64k max-limit=512k
/queue tree add name=client01-down parent=local packet-mark=client01 limit-at=64k max-limit=512k
4 perintah diatas diulang untuk alamat IP lain dengan penyesuaian.



0 Tanggapan ke “Dasar Mikrotik Plus Manajemen Bandwith”