PPPoE Server : can't one session per user

hi there

i have setup pppoe server and using freeradius for the AAA.

but when i tried to connect 2 users with same username password. the second user still connected. the second user is using another device to connect

i just want the second user can’t connected because he is using another users password.

i trying to use one session per host, but still not working well…

below is my configuration



[admin@MikroTik] interface pppoe-server> print detail
Flags: X - disabled, D - dynamic, R - running
0 DR name=“<pppoe-1155835319@nexcom.co.id>” user=“1155835319@nexcom.co.id service=“nexcom” mtu=1480 mru=1480
remote-address=“00:15:E9:F7:3D:64” encoding=“” uptime=5m26s

1 DR name=“<pppoe-1155835319@nexcom.co.id-1>” user=“1155835319@nexcom.co.id service=“nexcom” mtu=1480 mru=1480
remote-address=“00:15:E9:F7:3D:CA” encoding=“” uptime=15s




[admin@MikroTik] interface pppoe-server server> print
Flags: X - disabled
0 service-name=“nexcom” interface=ether2 max-mtu=1480 max-mru=1480 authentication=chap keepalive-timeout=10
one-session-per-host=yes max-sessions=0 default-profile=nexcom




[admin@MikroTik] ppp profile> print
Flags: * - default
0 * name=“default” use-compression=default use-vj-compression=default use-encryption=default only-one=default
change-tcp-mss=yes dns-server=129.47.6.50

1 name=“nexcom” local-address=10.67.1.1 remote-address=pppoe use-compression=yes use-vj-compression=default
use-encryption=default only-one=yes change-tcp-mss=default dns-server=129.47.6.50,129.47.6.2

2 * name=“default-encryption” use-compression=default use-vj-compression=default use-encryption=yes only-one=default
change-tcp-mss=yes



[admin@MikroTik] ppp aaa> print
use-radius: yes
accounting: yes
interim-update: 0s


thanks,


Rakhmat F

The one-session-per-host does exactly this - allow only one session per HOST. As you wrote the second connection is coming from another device (=host), no wonder that this setting doesn’t help.

You have to solve this in your RADIUS server - depending on what you use look for something like “concurrent user control” or the like…

Best regards,
Christian Meis

You can solve this in the FreeRADIUS Simultaneous-Use…