IPv4 Pools Support [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:dpi:bras_bng:ip_pool:ipv4 [2024/09/26 15:29] – external edit 127.0.0.1en:dpi:bras_bng:ip_pool:ipv4 [2025/09/02 13:51] (current) – [Forming a DHCP request for PPPoE-clients] elena.krasnobryzh
Line 52: Line 52:
  
 ===== Forming a DHCP request for PPPoE-clients ===== ===== Forming a DHCP request for PPPoE-clients =====
-For the [[en:dpi:bras_bng:bras_pppoe|PPPoE]]-subscribers, PCRF forms a DHCP-request with the following options that identify the subscriber: +For [[en:dpi:bras_bng:bras_pppoe|PPPoE]] subscribers, PCRF generates a DHCP request with the following option identifying the subscriber: 
-  * opt61 Client-Id [[http://tools.ietf.org/html/rfc2132|RFC 2132]]contains type "1" (ethernet) and the subscriber's MAC address in binary form;+  * **opt61 Client-Id** ([[http://tools.ietf.org/html/rfc2132|RFC 2132]]) — contains type "1" (ethernet) and the subscriber's MAC address in binary form
 + 
 +The option format when using the configuration parameter ''dhcp_client_id=1'' is as follows: 
 + 
 +<code bash>[comtype][subs_id][tunnel_ip]</code> 
 + 
 +<note tip>For PPPoE subscribers, the tunnel IP (''tunnel_ip'') is always 0.</note>
  
 ===== Forming Access-Accept ===== ===== Forming Access-Accept =====
 After receiving a response from the DHCP server, PCRF combines it with the ''Access-Accept'' previously received from the Radius. ''Access-Accept'' DHCP options can also be specified as [[en:dpi:bras_bng:bras_l2_vlan:bras_l2_vlan_dhcp:bras_l2_vlan_dhcp_proxy:bras_l2_vlan_dhcp_proxy_vsa|special VSA]]. When aggregating responses, the DHCP options returned by the DHCP server have a higher priority than these VSA-attributes; for example, if a different list of DNS servers is specified in both the DHCP response and the ''Access-Accept'', the subscriber will be sent a list of DNS servers from the DHCP server response. After receiving a response from the DHCP server, PCRF combines it with the ''Access-Accept'' previously received from the Radius. ''Access-Accept'' DHCP options can also be specified as [[en:dpi:bras_bng:bras_l2_vlan:bras_l2_vlan_dhcp:bras_l2_vlan_dhcp_proxy:bras_l2_vlan_dhcp_proxy_vsa|special VSA]]. When aggregating responses, the DHCP options returned by the DHCP server have a higher priority than these VSA-attributes; for example, if a different list of DNS servers is specified in both the DHCP response and the ''Access-Accept'', the subscriber will be sent a list of DNS servers from the DHCP server response.