Every broadband subscriber, whether on fibre, copper, fixed wireless or a wholesale line, reaches the internet through one box that knows who they are. That box is the BNG. This note explains what a broadband network gateway is, where it sits, the jobs it does for every subscriber, and what to check when you choose one.
What a BNG is
A BNG (broadband network gateway) is the router at the edge of a broadband network where subscriber sessions are terminated. On one side is the access network: OLTs, DSLAMs, radio base stations or a wholesale provider's hand-off, which carry each subscriber's traffic as Ethernet, usually in a VLAN per line or per service. On the other side is the operator's routed core and the internet. The BNG is where the two meet, and where an anonymous stream of frames from a port becomes a known, authenticated, addressed and policed subscriber.
The Broadband Forum's architecture (TR-101 for Ethernet aggregation, TR-178 for multi-service broadband) gives the role its name. Before Ethernet access it was called a BRAS (broadband remote access server); the function is the same, and the history is in BRAS vs BNG.
What a BNG does
A BNG does six jobs for each subscriber. Most of them happen once, when the session comes up; the last two touch every packet.
1. Terminates the subscriber session
The BNG is the far end of the subscriber's access protocol:
- PPPoE. The CPE discovers the BNG (PADI, PADO, PADR, PADS), then PPP negotiates the link (LCP), authenticates the user (PAP or CHAP) and brings up addressing (IPCP for IPv4, IPv6CP for IPv6). The session has an explicit start and end.
- IPoE. There is no session protocol. The CPE asks for an address by DHCP (and DHCPv6 or router advertisements for IPv6), and the BNG identifies the line from where the request arrived: the VLAN, and the DHCP Option 82 circuit-id and remote-id the access node inserts. The trade-offs are in IPoE vs PPPoE.
- L2TP. In wholesale, another operator's LAC carries the subscriber's PPP session to your BNG over an L2TP tunnel, and the BNG acts as the LNS. A BNG can also be the LAC, steering sessions on to someone else's LNS.
2. Runs AAA
Authentication, authorisation and accounting are almost always RADIUS. The BNG is the RADIUS client (the NAS): it sends an Access-Request with the subscriber's credentials or line identity, and the Access-Accept tells it what this subscriber is entitled to, such as an address or pool, a rate, a VRF and timeouts. While the session is up it sends Accounting-Start, periodic Interim-Update and Accounting-Stop records, which feed billing and usage. And it listens for CoA and Disconnect requests (RFC 5176), so the billing system can change a plan or end a session without waiting for the subscriber to reconnect.
3. Manages IP addresses
The BNG hands each subscriber its addressing: an IPv4 address from a local pool or one named by RADIUS, and for IPv6 a WAN prefix and a delegated prefix (IA_PD) for the home network. It installs a route for each subscriber and announces the pools to the core, so return traffic finds its way back. Dual-stack should be one session with both families, not two.
4. Enforces QoS and policy
The BNG is where the plan the subscriber pays for becomes a rate. It shapes or polices each subscriber's upload and download to the values RADIUS returned, clamps TCP MSS so oversized packets do not stall on tunnelled or PPPoE paths, and drops traffic from addresses the subscriber was not given (anti-spoofing, usually unicast RPF). Larger platforms add hierarchical QoS, which schedules subscribers inside aggregate limits per access node or wholesale port. How shaping and policing differ in practice is in BNG QoS: shaping, policing and bufferbloat.
5. Provides lawful-intercept hooks
In most countries an ISP must be able to deliver a copy of a named subscriber's traffic to the authorities. Because the BNG is the one place a session is tied to an identity, it is where interception is triggered, and it hands the copy to a mediation system that formats it for the agency (for example to ETSI standards). What a BNG offers here varies a great deal by vendor and market, so check it explicitly.
6. Runs CGNAT
Where public IPv4 is short, subscribers are addressed from private space and translated onto a small public pool by carrier-grade NAT. It can run on a separate appliance, but running it on the BNG keeps the translation on the box that already knows the subscriber and saves a hop and a box. The mechanics are in what is CGNAT.
Behind all six, the BNG is also a router: it runs BGP and an IGP to the core, and on many networks it is a provider-edge router too, placing business subscribers into MPLS L3VPN VRFs.
| Job | What it involves | Standards and protocols |
|---|---|---|
| Session termination | Bring sessions up and down | PPPoE (RFC 2516), DHCP and Option 82 (RFC 2131, 3046), L2TPv2 (RFC 2661) |
| AAA | Authenticate, authorise, account, change mid-session | RADIUS (RFC 2865, 2866), CoA and Disconnect (RFC 5176) |
| Address management | IPv4 pools, IPv6 WAN and delegated prefixes | IPCP, IPv6CP, DHCPv6 and IA_PD (RFC 8415), SLAAC |
| QoS and policy | Per-subscriber rates, MSS clamp, anti-spoofing | RADIUS rate attributes, uRPF |
| Lawful intercept | Trigger interception, hand off to mediation | National requirements, often ETSI |
| CGNAT | Share public IPv4 across subscribers | NAT44, RFC 6888 |
Where the BNG sits, and what it runs on
Traditionally a BNG was a dedicated chassis with line cards. Today the same role also runs as software on standard x86 servers, either on bare metal or in a virtual machine, which is what the industry calls a vBNG (virtual BNG). The function does not change; the platform, the way capacity grows and the commercial model do. The differences, and when a VM is the right home, are in what is a vBNG.
What to check when you choose a BNG
- Access protocols you actually run. PPPoE, IPoE, L2TP LNS and LAC, and whether one box can carry several at once while you migrate.
- RADIUS fit. Which attributes it honours for rate, address, VRF and timeouts, and whether it speaks the dialect your billing system already sends.
- Policy depth. Per-subscriber rates are table stakes; hierarchical QoS and lawful intercept vary widely between products.
- CGNAT. On-box or a separate appliance, how ports are allocated, and what the logs let you answer later.
- Routing. BGP, IS-IS or OSPF, and L3VPN if the BNG is also your PE.
- Operations. How configuration is changed and rolled back, and what happens to subscribers when the software restarts or is upgraded.
How Netavo BNG does it
Netavo BNG is a software BNG for standard x86-64 servers. It terminates PPPoE and IPoE subscribers and acts as an L2TP LNS or LAC; authenticates with RADIUS (PAP and CHAP for PPP, line identity for IPoE), sends Start, Interim and Stop accounting, and accepts RFC 5176 CoA and Disconnect; assigns addresses from typed IPv4, IPv6 WAN and delegated-prefix pools, with dual-stack as one session; applies per-subscriber rate limiting and MSS clamping; and runs NAT44 CGNAT on the same box, included in every licence. It is also a provider-edge router, with BGP, VPNv4/VPNv6 and MPLS L3VPN and a choice of IS-IS or OSPF.
Two things it does not do today: hierarchical QoS (it shapes per subscriber), and lawful intercept, where Netavo's design is LI-ready with mediation-vendor integration rather than an in-product ETSI stack, and is on the roadmap rather than shipping.
Try one
The free evaluation build is the full production build, licensed for up to 50 concurrent subscribers with every feature enabled. Bring up a PPPoE or IPoE line against your own RADIUS on a VM or a spare server. Start at netavobng.com/evaluation; the configuration reference is in the manual.
FAQ
What is a BNG?
A BNG (broadband network gateway) is the router at the edge of a broadband network where subscriber sessions are terminated. It brings up each subscriber's PPPoE, IPoE or L2TP session, authenticates it against RADIUS, assigns its addresses, enforces its speed and policy, sends accounting, and routes its traffic to the core, often through CGNAT.
What does BNG stand for in networking?
BNG stands for broadband network gateway, the Broadband Forum's name for the subscriber-edge router in a broadband network. The older name for the same function is BRAS, broadband remote access server.
What is the difference between a BNG and a BRAS?
For practical purposes there is none: they name the same subscriber-edge function. BRAS is the DSL-era term from when the box mainly terminated PPPoE; BNG is the term the industry standardised on as the role grew to include IPoE, IPv6, L2TP wholesale, CGNAT and provider-edge routing.
Is a BNG the same as a router?
A BNG is a router, but one that also knows about subscribers. An ordinary router forwards by destination; a BNG first terminates each subscriber's session, authenticates it, gives it addresses and a rate, and keeps accounting for it, and only then routes its traffic.
What is the difference between a BNG and a vBNG?
None in function. A vBNG (virtual BNG) is a BNG delivered as software on standard x86 servers, on bare metal or in a virtual machine, rather than as a vendor chassis with line cards.
Does a BNG do CGNAT?
It can. Carrier-grade NAT can run on a separate appliance or on the BNG itself. Netavo BNG runs NAT44 CGNAT on the same box, with port-block allocation and per-block logging, included in every licence.