On 2011-12-28, Marc Peters <m...@sanity.de> wrote: > i have a problem with multiple DSL Lines and loadbalancing outgoing > traffic. All traffic leaves only over the first interface pppoe0 and i > can't figure out why and how to change this. Maybe the problem is, that > both lines are connected to the same provider and therefore have the > same host as connecting point.
No, that's not the problem, I had a setup like this using route-to for someone with 5 lines with the same provider which worked fine. (I now changed that setup to using multipath routes as they are now with an ISP which has good controls on directing inbound traffic between the lines, but it won't be much help with most ISPs). I'm not looking at your rules in detail, but this is possible to setup, just a question of getting the right config. Some basic things to check: - make sure the right rules are matching the packets (use log rules and tcpdump -nei pflog0) - make sure you are sourcing your test traffic from a machine which is affected by route-to rules (traffic generated on the PF box itself won't hit an "in" rule) - when you do manage to get traffic out of both interfaces, if you still have problems with all or some packets, make sure the correct source address matches up with the correct pppoe interface, otherwise if your ISP does certain types of ingress filtering they may drop packets with a mismatching source address.