I am trying to use PPPoE with 2 MikroTik routers and I have it working with 2 seperate installs of Freeradius and Daloradius, the 2 routers connect to the same backhaul and have different public IP ranges going to them, the WAN’s are on the same range different IP’s.
One router is natted and has one to one nat for some users set up, the other router has public IP’s on LAN side, the LAN ports are connected together, what I want to do is have one PPPoE server on one of the MikroTik routers comunicate with one Freeradius and Daloradius setup instead of 2 and have it route out through either of the 2 routers depending which users are authenticated, those who have static IP’s route out through the none NAT router with public IP’s and other authenticated users route through the NAT router.
At the moment when I try it with one PPPoE server only the NAT users route to internet the other users that should route over the other router do not, although they are authenticated, the MikroTik is trying to route them through the NAT router
I issue a Framed-IP-Address for the user IP but I am not sure which radius command to use for a gateway or to tell it how to route.
I suspect it can not be done and I will have to continuing using two seperate PPPoE servers one for each class of user.
I am new to radius.