I’m trying to implement a Freeradius authentication for the PPPoE users.
I configure the freeradius and with the ntradping or radtest, it responds to my requests correctly. The problem comes when I try to authenticate a user through a pppoe client (windows for testing). I can see in the log that the connection is established and the user is authenticated. The problem is next, the pppoe server send the message
could not determine remote IP address
.
I’ve configured an IP pool in the freeradius for the remote users IP (10.0.0.10-10.0.0.20 for example) and in the freeradius accounting table I can see that the user has an IP from the pool; in this table, also, appears the
NAS-Error
termination cause.
In the Mikrotik PPPoE server profile I have a profile with a pool for local address (in this case created in the same mikrotik; 10.11.12.10-10.11.12.20); in the remote address I put nothing (because the radius sends the IPs).
In the freeradius users I configure the next attributes:
The user is disconnected in 1 second, the pppoe client return a disconnection error from the server. In the RouterOS log appears this lines:
PPPoE connection established from XX:XX:XX:XX:XX:XX
<pppoe-0>: waiting for call...
<pppoe-0>: authenticated
<pppoe-0>: terminating... - could not determine remote IP address
<pppoe-0>: disconnected
Has Anyone the same problem? What can be the reason for that disconnection?