hello, i need help in something.
i have 1 X 4Mbps 1X 8Mbps connections.
i need to make some kind of rule to allow specific files to go through the the 4Mbps connection Like (.php .html .cgi .jpg .png .gif and some more files).
and make any other file (.exe .zip .rar etc.) go through the 8Mbps connection.
Can i do that?
if not, can i do it by file size like from 1K to 1Mb take from 4mbps connection and from from 1MB to what ever to take from 8Mbps.?
I need browsing speed to be fast 4Mbps, download take from 8mbps.
Not if you NAT out the two WAN interfaces. You can’t match on content until the fourth packet at the earliest for HTTP. Same for connection size - might be announced in the HTTP header contained in the four packet of the TCP connection, or not at all.
Once you’ve made a NAT decision (if you need to NAT you need to do so on the first packet) you have to stick by it and cannot change to the other WAN circuit.
You can use PCC to balance all traffic across both circuits on a 2:1 ratio.
If the WAN circuits are just routed without NAT youmca change circuits. Look into layer 7 content matchers, and the connection-size parameter. There are lots and lots of threads in this forum about your very question.