Page 1 of 1

mangle/route question

Posted: Sun Nov 08, 2009 9:35 pm
by XTLMeth
So I setup PCC with 2 ISPs and it's working great. Each ISP has different bandwidth limits. The cable connection has 5meg down and the DSL has 3meg down. I setup up mangle rules so that each connection stay within it's limit and that is working fine. I now have a new problem though. When I disable one of the interfaces forcing all connections to go out just the one internet connection. PCC is still marking for both internet connection 1 and 2 which causes QoS to be limiting for both connections even though there is one connection active. So my question is how do I prevent PCC from marking for connection one when it's not online?

Re: mangle/route question

Posted: Mon Nov 09, 2009 5:59 am
by fewi
Make a script that disables the appropriate rules, and it's counterpart. Use netwatch to watch the gateway IPs and run the scripts on up and down events.

Edit: alternatetively have the scripts change the QoS queue sizes to match the new situation. This may be easier.

Re: mangle/route question

Posted: Mon Nov 09, 2009 9:32 pm
by XTLMeth
Good idea. thanks.