VyOS: a plan is a rate the ISP's systems send
Quantum keeps the catalogue and enforces it. VyOS enforces a number. Its IPoE
server, accel-ppp-ng, has no plan object: there is nowhere in VyOS to define
"Gold" and assign it to many subscribers. A rate reaches each session on its
own, and the catalogue behind it lives in a system the ISP supplies.
Defining a plan: rows in someone else's database. In RADIUS mode the rate
arrives in the Access-Accept, by default as a Filter-Id string of the form
down/up in kbit/s, such as 100000/20000; accel-ppp also reads MikroTik's
and Cisco's rate formats. The plan catalogue is therefore a set of rows in the
ISP's RADIUS database — in FreeRADIUS, typically a group whose reply carries
that string — and mapping each subscriber to a group is policy the ISP writes,
keyed on the MAC address or a Lua-built line name. In local mode, each MAC
entry in the router configuration carries its own rate-limit download and
upload values, and both must be set or neither applies. VyOS sets no default
rate. Either way, the rate is attached to a subscriber, not to a product:
there is no tier to edit.
Enforcement: one rate each way, in the kernel. accel-ppp turns the rate
into Linux traffic-control rules on the subscriber's own kernel interface.
VyOS fixes the downstream limiter as a token-bucket queue and leaves the
upstream at accel-ppp's policer, which drops. Each direction gets one rate. The
burst is a fixed fraction of it — a tenth of a second's worth downstream, a
full second's worth upstream — and VyOS gives the operator no way to change it
or to choose accel-ppp's other limiters. There is no committed-and-peak pair
and no colour. What the limiter drops is not in the accounting record, and
show ipoe-server sessions lists only the configured rate, so nothing tells
the ISP how much a subscriber wanted beyond their plan. If the RADIUS reply
carries no rate, accel-ppp installs no limiter at all, and the subscriber runs
at the speed of the port.
VyOS has two-rate policers now — but not for IPoE. accel-ppp-ng gained
two-rate, three-colour policers for VyOS's new VPP data plane, and you may read
that VyOS now polices the way Quantum does. Those policers attach only to PPPoE
sessions. VyOS refuses to run its IPoE server on VPP interfaces (T8182), and
IPoE on VPP (T8501) is an open, unassigned task. A VyOS IPoE subscriber is
still limited by kernel traffic control.
Live change: one CoA per session. To move one subscriber, the ISP's
software sends a RADIUS Change-of-Authorization with the new rate. accel-ppp
removes the limiter and installs a new one, which resets its counters; the
session stays up. A tier is harder. VyOS IPoE asks RADIUS about a subscriber
once, when the session starts, so editing the group in the database changes
nothing for subscribers already online: the ISP has to find every live session
on that tier and send each one a CoA. accel-ppp's own console can re-rate every
session on the box at once, from the shell, but it has no notion of a tier, and
VyOS's command line does not expose it. In local mode a rate change is a
configuration commit, and "every commit that changes the service ipoe-server configuration restarts the server, which terminates all active
IPoE sessions" (VyOS 1.5 documentation).
Collections: reject, disconnect or a slow lane. VyOS IPoE has no walled
garden, captive portal or HTTP redirect; accel-ppp-ng has redirect features,
but VyOS does not configure them. An unpaid subscriber can be rejected at
login, which leaves the line with no address at all; disconnected with a
RADIUS Disconnect; given a very low rate by CoA; or moved by CoA into a
separate routing instance, around which the ISP could build its own portal.
None of these is a pay page out of the box.
Fair use: counters and CoA the ISP builds. Neither VyOS nor accel-ppp-ng
has a volume quota. A data cap is built on the RADIUS server: FreeRADIUS SQL
counters summing the interim accounting, which act only when a subscriber next
authenticates, plus software that sends a CoA to throttle, or a Disconnect,
when the allowance runs out mid-session, and another to restore service at the
cycle boundary. It depends on interim accounting, which VyOS does not send by
default and which, as the bake-off's AAA round shows, ends the session if the
accounting server stops answering.
Other policy. Session and idle timeouts come from RADIUS, or from a single
box-wide idle-timeout, new in 1.5.1; local MAC entries carry no timers, and a
CoA can change the session timeout but not the idle timeout.
max-concurrent-sessions caps how many sessions may be starting at once, and
limits caps the rate of new sessions per MAC or interface; neither limits an
account. accel-ppp's one-session-per-account control is exposed for PPPoE
only, so for IPoE the limit is the RADIUS server's Simultaneous-Use check,
which is only as good as its accounting. There are no per-subscriber access
lists or DSCP marking: Filter-Id carries the rate, the firewall can match
subscriber interfaces only with static rules, and any per-session policy is a
script the ISP writes for VyOS's session hooks. In VyOS's default
configuration, the IPoE server's source shows that it does not drop traffic
from an address that has no session: it hands it to the kernel's normal
routing, so keeping it out is a firewall or reverse-path-filter job for the
ISP.
What the ISP has to build. The plans and policies a VyOS IPoE BNG needs
around it before an ISP can sell tiers:
| Plan or policy | Quantum IPoE BNG | VyOS IPoE |
|---|---|---|
| Plan catalogue | Built in — the plan library and Plans page | ISP builds: groups and reply attributes in the RADIUS database |
| Assigning a plan | Built in — plan_name on the record, single or bulk |
ISP writes the policy that maps each subscriber to a group |
| Committed and peak rate, each way | Built in — two-rate policer per direction | Not available — one rate each way, fixed burst |
| Changing a whole tier live | Built in — edit the plan | ISP builds: find every live session, send each a CoA |
| Changing one subscriber live | Built in — the record write | ISP builds a CoA client |
| One-off custom speeds | Built in — ad-hoc plans | Per-user reply attributes in the database |
| Suspension with a pay page | Built in — walled garden, plan kept | Not available in VyOS IPoE |
| Data caps, warnings, top-ups | Built in | ISP builds: SQL counters plus CoA and Disconnect |
| Prepaid plans | Built in — vouchers carry a plan | ISP builds or buys |
| Evidence the plan was delivered | Built in — colour counters per session | Not available; drops are neither recorded nor shown |
| Blocking unassigned addresses | Built in — dropped in the data plane | ISP configures firewall or reverse-path filtering |
| Marking burst traffic for the core | Built in — optional DSCP marking | ISP builds, with session scripts |
What VyOS gets right. Its downstream limiter is a queue, which smooths TCP
at the edge of the plan where a policer drops the excess, and the limit sits on
the subscriber's own interface, so it covers IPv6 as well as IPv4. Its RADIUS
integration is broad: rates in Filter-Id, MikroTik or Cisco format, which
eases a move from a MikroTik RADIUS estate; address pools and IPv6 prefix sizes
chosen per subscriber; a routing instance per subscriber; and live changes by
CoA without dropping the session. Session hooks give a scripting operator room
to add their own policy. For an ISP whose RADIUS database already models its
plans, VyOS enforces the rates it is given.