does bypass also keep the speed limit?

basically this one is giving me a headache.

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

can someone help me do that please?

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?

  1. I think, it is possible to make static-lease,
    ‘ip dhcp-server lease make-static number_of_lease’, than set ‘rate-limit’.

  2. You can specify ‘rate-limit’ for the ‘ip hotspot user profile’, each user will get configured ‘rate-limit’ (the same as your scenario).

  3. For ‘queue simple’ specify only ‘target-address’, ‘dst-address’ is address of the destination server.

Use one of the methods to apply data rate limit for HotSpot users.
I think HotSpot is more flexible.

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.

so in the box which comes first?

i opted to make a pppoe server though.

heres my new question.

i would like to maksquerade a pppoe server over wireless connection

currently i also have HOTSPOT over wireless

however when a user with PPPOE who is verified logs in then i want them to get internet and not the hotspot page.

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).

ok heres the scenario:

i have hotspot enabled over wireless

now i created a pppoe server

for this new linux router i am going to have it log in through pppoe because its much easier to set a rate limit

once the linux router logs in through pppoe i want it to have internet
i dont want the linux router stuck because of a hotspot page