hi,
I got a scenario where a client has got a RB750 doing the pppoe via an UBNT radio to the tower.
The client has got multiple departments with each it own subnet. 192.168.2.0/24 , 192.168.3.0/24 up and to .11
The departments directly connected to the RB750 is easy, route mangle and send via a specific pppoe connection.
The issue is that there is a RB2011(192.168.2.2/24) connected to the RB750 (192.168.2.1/24) and the ethernet ports on the RB2011 are e.g. 192.168.3.1/24 up and to .11.1/24
How can I route the different subnets connected to the RB2011 each via its own pppoe client connection on the RB750 ?
this is not how to do this. Do you want a VPN setup with pppoe “VPN’s”? Or just several routes? There is several ways to make this routing, using eoip, vpls/mpls, routing trough one pppoe, or just a l2tp or other VPN - if you dont have the routes in your core. If you have routing in core . just have the 0.0.0.0/0 trough your core router.
What I am trying to do, is for the different subnets connecting to the RB2011, e.g. 192.168.3.0/24 and 192.168.4.0/24 to each route throught its own PPPoE connection on the RB750.
I can do a EoIP for each subnet between the RB2011 and the RB750 and just route the subnet via its own PPPoE using mangle or I can also assign a DSCP value to each subnet on the RB2011 and then use mangle on the RB750 to route each DSCP value through it own PPPoE.
I dont really understand how your setup is. Do you have multiple office, connecting via pppoe to one core router?, and you want the offices connecting to eachother?. There is multiple ways of doing this - but i would advice to separate office and core net. If the offices are connecting to the same Wlan - or router - and its no other users here, i would just not use pppoe - mainly couse of the l2mtu in pppoe, but also just have direct connections. the you just setup a link net between offices and main router - and have some kind of dynamic routing - ospf - or just easy, manual routes.
If the offices are part of your “offical” net - i would give each CPE its own ip via pppoe - and have a VPN server that they connect trough. I would use l2tp - but there are other protocols to.(pptp,sstp,eoip and so on) here you can have the route parameter at user/pass (secret) in ppp and set the routes here. Its There is no “simple” best way to do this - but multiple choices, all with its benefits and positive. I prefer to use l2tp course of its simplicity - and the possibility to also have a l2 connection trough a bridge. In my core i used VPLS and MPLS to receive this goal - and have the router at CPE side - but there is no need for this in your setup. You can also use vrf etc, but still - ake it as simple as possible i believe is the best way for you.
If the CPE have internet trough the pppoe connection - you somehow need to separate lan/wan traffic, and to do this on a NAS with pppoe is no good idea. The best way is to have eg 0.0.0.0/0 route trough the pppoe connection at CPE - and eg 192.168.0.0/16 via some kind of VPN to a core VPN router. This router know what interface have the 192.168.1. 192.168.2 net and so on.