one of our customer needs a router which is capable of traffic prioritization, therefore I would like to use a RB450.
ether1 is WAN/Internet Interface and ether2 is LAN (connected to a switch).
LAN-IP: 10.108.1.200/24
ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat action=masquerade src-address=10.108.1.0/24 out-interface=ether1-WAN
The problem is that they have 3-4 office PCs and one Hotspot-Gw in their LAN.
the goal is to prioritize the office pcs higher than the hotspot gateway, that means that the stuff should be able to work/surf in the internet even if a hotspot customer utilizes the whole line with a ftp download for example.
the major problem is that I can’t say how much bandwidth they have, it should be a 8Mbit DSL line but most of the time they don’t get more than 1 Mbps, so I’m not quite sure how the queues/queue trees should be set.
then I started ftp downloading (with the 10.108.1.10 machine), which utilized the whole dsl-line, surfing on e.g. 10.108.1.1 was very very slow. There wasn’t a difference whether the queues were enabled or disabled.
do you have an other suggestion how to handle this?
If I do anything in the internet the counters increase but the priorization takes no effect.
In my little lab the uplink switch-port (to which ether1 is connected) to the internet is shaped to 2048/2048kbps.
First I start a ftp download from hotspot-network (this is 10.108.1.10 for the mikrotik) → 2048kbps are reached.
then a second ftp transfer from an office pc is started and here I get only ~500kbps (transfer1 about 1200-1500kbps).
If transfer1 is stopped, transfer2 gets 2048kbps.
remember:
transfer1=hotspot=queue priority 8
transfer2=office=queue priority 1
I thought because of those priorities the office-ips always get more bandwidth than the hotspot ip. As I wrote before I couldn’t really say how much bandwitdth is available on the DSL uplink, so it is impossible to set a max. bandwidth in queues.