Routing Help

Say I have a PPPoE server. It is plugged into a switch that connects to two up stream providers, A and B. Say I have a class C from each provider. I am handing out IP’s from both providers to PPPoE users. When a user receives an IP from provider A I want there packets naturally routed out to provider A’s router.

I thought this could be accomplished with Mangle and routing marks. In mangle prerouting I mark packets from provider A’s subnet and then have a route based on this routing mark. Its not working. Any ideas on how to do this? I see plenty of examples of load balancing with dual routes but I am not load balancing rather I am trying to run with two seperate providers.

What is going on is I am switching upstream providers and need to keep the old one active for a while during the switch over.

Matt