Hi All,
I have been trying to get the rate limit to work on the pppoe-server using Mikrotik-Rate-Limit attributes.
Radius sends attributes but somehow VYOS doesn’t understand to shape the pppoe client. Works well with Filter-Id attributes.
vyos@vyos:~$ show pppoe-server sessions
ifname | username | ip | ip6 | ip6-dp | calling-sid | rate-limit | state | uptime | rx-bytes | tx-bytes
--------±---------±-------------±----±-------±------------------±-----------±-------±---------±---------±---------
ppp0 | testtt | 100.64.4.118 | | | 70:00:4f:00:35:79 | 5000/5000 | active | 00:00:05 | 68 B | 206 B
With Mikrotik-Rate-Limit
vyos@vyos:~$ show pppoe-server sessions
ifname | username | ip | ip6 | ip6-dp | calling-sid | rate-limit | state | uptime | rx-bytes | tx-bytes
--------±---------±-------------±----±-------±------------------±-----------±-------±---------±---------±---------
ppp0 | testtt | 100.64.4.118 | | | 70:00:4f:00:35:79 | | active | 00:00:21 | 206 B | 376 B
Sep 14 11:21:08 accel-pppoe[2862]: eth5.999:: recv [RADIUS(1) Access-Accept id=1 <Mikrotik-Rate-Limit “128”> <Mikrotik-Address-List “non-payment”> <Reply-Message “Login Successful without internet access”> <Acct-Interim-Interval 300> <Framed-IP-Address 100.64.4.118>]
Sep 14 11:21:08 accel-pppoe[2862]: ppp0:testtt: connect: ppp0 ↔ pppoe(70:00:4f:00:35:79)
Sep 14 11:21:08 accel-pppoe[2862]: ppp0:testtt: ppp connected
Sep 14 11:21:08 accel-pppoe[2862]: ppp0:testtt: send [PAP AuthAck id=1 “Authentication succeeded”]
Sep 14 11:21:08 accel-pppoe[2862]: ppp0:testtt: testtt: authentication succeeded
Running VyOS 1.5-rolling-202309130022
Tried LTS 1.2.9 also but that doesn’t have Mikrotik vendor added.