BNG Call Flows — IPoE DHCP, Static IP, PPPoE

June 14, 2022
BNG/BRAS
BNG Call Flows — IPoE DHCP, Static IP, PPPoE
BRAS is an essential part of broadband topologies for control subscriber access to the Internet. In other words, BRAS is an access point for subscribers, through which they connect to the broadband network.

When a connection is established between BNG and Customer Premise Equipment (CPE), the subscriber can access broadband services provided by the Network Service Provider (NSP) or Internet Service Provider (ISP).

The other function of BRAS is to establish and manage subscribers sessions. When a session is active, BNG aggregates traffic from various subscriber sessions from an access network, and routes it to the network of the service provider. BRAS is deployed by the service provider and is present at the first aggregation point in the network, such as the edge router. With BRAS solution, an ISP can effectively manage subscriber access.

Subscriber management functions of BRAS:

  • Authentication, Authorization and Accounting of subscribers’ sessions
  • Address assignment
  • Security
  • Policy management with Quality of Service (QoS)
  • Additional services
BRAS (Broadband Remote Access Server) was the term that telecom community used before. BNG (Broadband Network Gateway) is now more commonly used, but there is no functional difference between these two.

BRAS/BNG Architecture

 

BNG architecture scheme

The network architecture with the BRAS solution from VAS Experts includes the following components:

SSG (fastDPI) provides analysis and processing of traffic that passes through the platform, applying traffic policing and management. Through a combination of DPI technology, software BRAS/BNG and CG-NAT it solves such ISP’s challenges as:

  • Traffic recognition by protocols with DPI technology
  • Application of traffic policing to all subscribers or individually to some
  • Application of platform services (CG-NAT, Allow Lists, Filtering by Block Lists, etc.)
  • Export reports in various formats (NetFlow, IPFIX-clickstream, IPFIX-nat, IPFIX-flow, etc.)
  • BRAS/BNG – NAS functions (Termination for IPoE, PPPoE, DHCP L2 subscribers).

DHCP server — a component which is responsible for issuing private addresses to subscribers. Any CentOS-compatible implementation can be used. The current implementation uses the Kea DHCP server.

Software router — a component that announces and receives routes via OSPF, BGP dynamic routing protocols. Possible to use any soft-router: BIRD, FRRouting, QUAGGA, Juniper CRPD etc.

PCRF provides the platform interaction with the operator’s OSS via the RADIUS protocol (AAA — Authentication, Authorization, Accounting).

  • The fastDPI and PCRF components communicate with each other internally via a TCP/IP stack.
  • The PCRF can be either hosted on a separate physical or virtual server or run on the same server together with an SSG.
  • A single PCRF server can serve a cluster of several SSGs.

Subscribers session types

  1. IPoE DHCP subscriber session: The IP over Ethernet (IPoE) subscriber session is established using IP protocol that is used between the CPE and BNG; IP addressing is done by DHCP protocol.
  2. IPoE Static IP subscriber session: The IP over Ethernet (IPoE) subscriber session is established using IP protocol that is used between the CPE and BNG; IP addressing is Static conf.
  3. PPPoE subscriber session: The PPP over Ethernet (PPPoE) subscriber session is established using the point-to-point (PPP) protocol that is used between the CPE and BNG.

Vendor Specific Attributes

Regular users

Subscribers session types
IPoE DHCP
PPPoE
IPoE Static IP
IPv4 Pool Name Framed-Pool
name: “ipoe-pool”, pool: “10.11.0.0/16”, ip_1st: “10.11.0.10”, ip_last: “10.11.255.250”, dns: “8.8.8.8”
name: “pppoe-pool”, pool: “10.10.0.0/16”, ip_1st: “10.10.0.10”, ip_last: “10.10.255.250”, dns: “8.8.8.8”
No, using Framed-IP-Address
IPv6 Pool Name Framed-IPv6-Pool
ipoe-v6-pool
pppoe-v6-pool
No, using Framed-IP-Address
CGNAT VasExperts-Service-Profile
11:cg_nat
11:cg_nat
11:cg_nat. Only for private IPv4
Policing VasExperts-Policing-Profile
50Mbps
50Mbps
50Mbps
Enabling Accounting VasExperts-Enable-Service
9:on
9:on
9:on
Additional VSA
Enabling Multi User option (One Login – Many IPs) VasExperts-Multi-IP-User = 1
Enabling Multi User option (One Login – Many IPs) VasExperts-Multi-IP-User = 1
Enabling L2 mode for IP auth VasExperts-L2-User = 1

Parameters for Blocked (inactive) users sending by CoA

Subscribers session types
IPoE DHCP
PPPoE
IPoE Static IP
Policing for Blocked Users VasExperts-Policing-Profile
blocked
blocked
blocked
Captive Portal and HTTP redirect service VasExperts-Service-Profile
5:blocked
5:blocked
5:blocked

 

IPoE DHCP Dual Stack IPv4/IPv6

Establishing session IPv4
establishing session ipv4
Understanding DHCP Renew and Lease Time
With a lease time one hour, the client will try to renew the lease after 30 minutes. At 35 min it contacts the DHCP server to extend/renew the lease. It’s granted so the timers reset, a new lease is acquired for another 60 minutes. In total, the IP Address is reserved for 95 minutes.

dhcp renew and lease time

Closing session when Lease Time is expired and reauthorization
Closing session when Lease Time is expired and reauthorization
Closing session by Idle-Timeout
Closing session by Idle-Timeout
CoA with policing and services updates
CoA with policing and services updates
Establishing session IPv6
Establishing session IPv6

 

IPoE Statiс IPv4

Establishing session Public Statiс IPv4
Establishing session Public Statiс IPv4
 
Establishing session Private Statiс IPv4
Establishing session Private Statiс IPv4
 
CoA with policing and services updates
CoA with policing and services updates

 

PPPoE Dual Stack IPv4/IPv6

Establishing session IPv4/IPv6
Establishing session IPv4/IPv6
 
Closing session by Session-Timeout
Closing session by Session-Timeout
 
Closing session by Idle-Timeout
Closing session by Idle-Timeout
 
CoA with policing and services updates
CoA with policing and services updates
 
CoA with PoD (Packet of Disconnect)
CoA with PoD (Packet of Disconnect)

Learn more about the functionality of the BRAS/BNG in our blog.
We use cookies to optimize site functionality and give you the best possible experience. To learn more about the cookies we use, please visit our Cookies Policy. By clicking ‘Okay’, you agree to our use of cookies. Learn more.