Implementing FreeRADIUS & PPPoE Accounting for Fiber ISP Networks
Scaling a Fiber-to-the-Home (FTTH) network beyond a few hundred subscribers requires centralized RADIUS authentication, automated CoA (Change of Authorization) packets, and real-time bandwidth accounting.
Dynamic Rate-Limiting via RADIUS CoA
Instead of disconnecting active PPPoE subscribers when they upgrade their monthly fiber package, our ISP core dispatches standard RFC 5176 Change-of-Authorization packets directly to the NAS concentrators.
echo "User-Name=fiber_client_042, Mikrotik-Rate-Limit=25M/25M" \
| radclient -x 10.0.0.1:3799 coa "$RADIUS_SECRET"