Two PPPoE WAN Interfaces and static routes

Hello!
I have two PPPoE WAN Interfaces running. In general all clients have to use PPPoE_1 and if it is down PPPoE_2. That works fine with distances 5 and 10. So far so good. I have one IP (or Interface on MT side), that have to use PPPeE_2 in anycase. How can i setup a static route for that? All clients are on the same network 192.168.10.0/24.

Thx for ur help!


Holger

Create a default route for the WAN you want to route that host from and Assign a Routing Mark e.g.:

ip route add gateway=x.y.z.w routing-mark=Test

Then Using policy Routing Rules, define the host’s source address e.g.:

 ip route rule add src-address=src-address action=lookup-only-in-table table=Test

If Table Test is unreachable, that host will not be routed to the Internet..

Ofcorse the same can be done using the Mangles Facility…