Custom Load Balancing !!?

Hi Friends
i’m Have 2 Bandwidth
BW1 = 15Mbps
BW2 = 5Mbps
i want , All of Download Files ( Like rar zip wmv mp3 avi exe & … ) Recive from BW1
And All Other , Like Connections , Pages and All of Other from BW2

How to This ?
Can it with Mikrotik ? if Yes How to . if No what i do ?
Thanks

Anyone know , what i do to it ? :confused:

I guess this is not possible with routerOS.
You need to inspect whole http traffic and on that basis to select route for traffic. No idea, how changing routes this way :sunglasses: This is not trivial task you need …

But you can handle all http traffic through a transparent proxy which redirects http requests to large files (based on url of request) to another proxy that will use larger bandwith :sunglasses:

Just to elaborate on this:

Doing this requires a proxy, or that you use globally routable IP addresses accessible via all WAN circuits at the location. During load balancing with NAT you have to choose a circuit for the first TCP SYN that the client sends to the server. This now locks the connection to that circuit as the web server has learned the global IP address and port to use for the connection with the client. The router cannot know what kind of file the client is going to request until the handshake is fully complete and the actual GET (or whatever) HTTP command is issued, at that time you can no longer chance circuits. Globally routable IP addresses behind the router work around the issue as there’s no NAT changing the global IP the web server sees on circuit change, a proxy works around it by not contacting the web server until it knows what file to fetch. However, you must somehow on the proxy implement a system for either picking a circuit or indicating to the router where to route the connection through on the first packet of the connection, otherwise you run into the exact same issue.

On the Network I See , People Say Can do it with " Squid Proxy " with Cache .
but Anyone Know How to that ?
Should Be with a Proxy Server but How to ? :confused:
Can With Mikrotik ProxyServer ? :confused: :confused:

i think drop explore from mikrotik
80 redirect 8080 that must drop
and open it in squid

But , i Need Just " rar Zip WMV " formats from BW1 , and Other of Formats and Request from BW2 .

Just an idea - set up 2 Proxies on first one set a rules and divide traffic into 2 parts - one that going trough “parent” proxy and other that goes directly. Then just route each of those streams differently.

Maybe there is some kind of L7 allow you to capture those request just on one router.

basically…browsing and downloading are same matters..