PPPoE clients routing (two routing tables)?

Hi!

How to assign pppoe clients from two different pppoe servers (with different profiles and on two different physical interfaces) to two different routing tables?

Firewall/Mangle with routing mark action doesn’t seem to affect Routing/Rules with routing mark. Perhaps I’m doing something wrong way, please give me an example that works for you.

RouterOS v7.10, CCR2116-12G-4S+

Thanks!

OK, as explained by Matiss from MT support, one needs to do the following steps:

  • Create a new empty interface list;
  • In a PPP profile set to add PPP clients to a newly created interface list;
  • Add a newly created interface list to VRF;

Repeat steps for the second PPPoE server clients - create another interface list, add a list to a different VRF, etc.

The routing and two pppoe servers should not be connected.

pppoe server 1 will have one set of IP pool/ interface and gateway
pppoe server 2 will have have different IP pool /interface and gateway

The routing marking can be off the IP, gateway or interface them being PPPOE servers is irrelevant.

For example lets assume
pppoe server 1 interface ether 1 gateway 10.0.0.1 clients 10.0.0.2-126
pppoe server 2 interface ether 2 gateway 10.0.0.129 clients 10.0.0.130-254

You can mark those easily for routing 3 ways
1.) ip pools 10.0.0.0/25 vs 10.0.0.128/25
2.) gateway in/out 10.0.0.1 vs 10.0.0.129
3.) interface ether 1 vs ether2

I think you need to clarify the problem?