i want to connect a linux router to my routeros box.
i currently have HOTSPOT enabled
I gave the linux router a static ip of 10.5.50.10. then the router itself distributes private ips of 172.16.0.1-254/16. The PC's connected to the linux router can load the hotspot Login page just fine however i dont want that so i set the ip in HOSTS under HOTSPOT to bypassed.
now the question comes.
[admin@GrnZne-Net] ip hotspot ip-binding> print
Flags: X - disabled, P - bypassed, B - blocked
MAC-ADDRESS ADDRESS TO-ADDRESS SERVER
1 P ;;; firas
00:13:8F:34:A4:C7 10.5.50.10 192.168.0.245
now the question is we can see the system above is BYPASSED however how do i limit its bandwith?
so i thought maybe i need to create a rule limiting this system by MAC address or IP
you can set static lease for address, and than set specific ’ ip dhcp-server lease set rate-limit=', or use ‘queue simple’ to limit data rate for the particular host.
how do you setup ua “Static lease” when i have hotspot and dhcp server?
i did a simple queue however that didnt work for some reason.
in the target and dst addrss do i put the intended ip ?
the ip in question here is 10.5.50.10
do i put that in target ip?
what about dst address?
if this doesnt work i think i may have the best solution.
make a PPPoE server on the Mikrotik server and have the linux router login through PPPoE that was i can set speed limits.
do you think thats a good idea?
i did the static ip option and i see a box at the bottom that says “Rate limit”
how do i input the values? i want to allow only 512kbps down and 256kbps up. do i just type “512k/256k” ?
rate-limit format is the following,
rx-rate[/tx-rate] [rx-burst-rate[/tx-burst-rate] [rx-burst-threshold[/tx-burst-threshold] [rx-burst-time[/tx-burst-time][priority] [rx-rate-min[/tx-rate-min]]]].
‘RX’ is client upload, and ‘TX’ is client download.
rate-limit=256k/512k means 256k client’s upload, 512 client’s download.
I’m not sure that I correctly understand your explanation, but HotSpot is applied to the entire interface (you need to disable it in the particular case).