PCC for Load Balancing

Hi,

I have a MT which I want to use for QoS and FW infront of an server farm… Traffic hits the MT, passes the FW and gets d’nated to an internal server. Absolutely no problem here what so ever and everything is working absolutely fine as expected.

I now want to add an second, third, fourth server in the server farm, and have MT distribute connections to the back end servers. Ideally, something like PCC using the src-address as an classifier.

I’ve added some mangle rules, but I am only getting hits on my first rule, nothing ever hits the second one:

/ip firewall mangle
add action=mark-connection chain=prerouting disabled=no new-connection-mark=SERVER01 passthrough=yes per-connection-classifier=src-address:2/0
add action=mark-connection chain=prerouting disabled=no new-connection-mark=SERVER02 passthrough=yes per-connection-classifier=src-address:2/1

Thanks,


EDIT: If I use per-connection-classifier=src-address-and-port then everything works fine and the connections are balanced. If I only use per-connection-classifier=src-address, then the connections are only matched in one rule… bug?