I have an RB5009 ROS v7.12.1 which I intend to use for up to 3 WAN connections and with client/guest network on the LAN side.
I will use PPPoE connections to keep track of the data usage per carrier.
ether 1-3 configured as WAN sources with DHCP client configured for each, connected a source on ether1 with IP 192.168.100.1
ether 4 configured as a hotspot bridge (service hotspot+ppp service), configured to use our shore Radius server
ether 5 is physically connected to ether4 with eth cable, pppoe client named pppoe-client is configured establishes via ether5
ether 6 is configured for the client network bridge (10.1.10.0/24)
WAN1 (ether1) is the priority link which will be used for the client data, if WAN1 is down the client data will be switched to WAN2 or WAN3
I'm only able to get the data to flow if I mangle the client traffic and route the traffic directly via the WAN1 gateway, if I try to set the gateway to the pppoe-client interface there is no traffic flow.
In my test setup:
WAN1 gw is 192.168.100.1
PPPoE gw is 192.168.99.1 (pppoe-client establishes with 192.168.99.254)
Business network 10.1.10.0/24
/ip firewall mangle
add action=mark-routing chain=prerouting in-interface=pppoe-business \
new-routing-mark=wan1 passthrough=yes
add action=mark-routing chain=prerouting in-interface=business \
new-routing-mark=business_traffic passthrough=yes src-address=10.1.10.0/24
/routing rule
add action=lookup-only-in-table disabled=no routing-mark=business_traffic table=business_traffic
add action=lookup-only-in-table disabled=no routing-mark=wan1 table=wan1
/ip route
add comment="business client" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-vsat pref-src="" \
routing-table=business_traffic scope=30 suppress-hw-offload=no target-scope=10
add comment=wan1 disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.100.1 pref-src="" routing-table=wan1 \
scope=30 suppress-hw-offload=no target-scope=1
Any pointers would be great.