| Both sides previous revisionPrevious revisionNext revision | Previous revision | 
| en:dpi:bras_bng:radius_integration:radius_auth_fastpcrf_setup [2024/12/04 15:32]  –  elena.krasnobryzh | en:dpi:bras_bng:radius_integration:radius_auth_fastpcrf_setup [2025/09/24 10:53] (current)  –  elena.krasnobryzh | 
|---|
|   - [[en:dpi:bras_bng:radius_integration:radius_auth_fastpcrf_setup:radius_server_reservation]] |   - [[en:dpi:bras_bng:radius_integration:radius_auth_fastpcrf_setup:radius_server_reservation]] | 
 |  | 
| FastPCRF provides proxying of requests from fastDPI towards the RADIUS server and is included in the default SSG installation package: by default, fastPCRF is installed on the same server as fastDPI.   | <note warning>  | 
|   | Starting from SSG version 14, all connections between fastDPI and fastPCRF are equivalent; an error on any of them leads to reconnection of all connections and switching to another PCRF.\\ Added CLI commands:  | 
|   |   * [[dpi:bras_bng:cli:pcrfctl#pcrf_connect_show|pcrf_connect_show]]  | 
|   |   * [[dpi:bras_bng:cli:pcrfctl#pcrf_connect_switch_pcrf_index|pcrf_connect_switch]]  | 
|   | </note> | 
 |  | 
| <note tip>To implement the [[en:dpi:bras_bng:replication|]] scheme, it is necessary to [[en:dpi:dpi_components:pcrf|move the fastPCRF process to a separate virtual machine]] to ensure fault tolerance and manage multiple fastDPI (BRAS).</note> | FastPCRF provides proxying of requests from fastDPI towards the RADIUS server and is included in the default SSG installation package: by default, fastPCRF is installed on the same server as fastDPI.   | 
 |  | 
| The configuration is set in the file ''[[en:dpi:bras_bng:radius_integration:radius_auth_fastpcrf_setup:radius_auth_fastpcrf_setup_full|/etc/dpi/fastpcrf.conf]]''. Minimal configuration: | The configuration is set in the file ''[[en:dpi:bras_bng:radius_integration:radius_auth_fastpcrf_setup:radius_auth_fastpcrf_setup_full|/etc/dpi/fastpcrf.conf]]''. Minimal configuration: | 
|   * ''port'' - [[en:dpi:dpi_components:platform:subscriber_management:subsman_dpi|management port]] fastDPI (usually 29000) |   * ''port'' - [[en:dpi:dpi_components:platform:subscriber_management:subsman_dpi|management port]] fastDPI (usually 29000) | 
|   * ''name=value'' - additional attributes of this fastdpi server: |   * ''name=value'' - additional attributes of this fastdpi server: | 
|   * ''attr_nas_ip'' - IPv4 address for Radius attribute ''NAS-IP-Address''; if not set, the fastdpi IP address is used (''ip'');  |   * ''attr_nas_ip'' - IPv4 address for RADIUS attribute ''NAS-IP-Address''; if not set, the fastdpi IP address is used (''ip'');  | 
|   * ''attr_nas_ipv6'' - the value of the ''NAS-IPv6-Address'' Radius attribute for this fastdpi; |   * ''attr_nas_ipv6'' - the value of the ''NAS-IPv6-Address'' RADIUS attribute for this fastdpi; | 
|   * ''attr_nas_id'' - the value of the ''NAS-Identifier'' attribute for this fastdpi |   * ''attr_nas_id'' - the value of the ''NAS-Identifier'' attribute for this fastdpi | 
 |  | 
| <note important>FastDPI only listens on the control port on the interface specified by the ''ctrl_dev'' parameter in the fastdpi.conf configuration file. If fastPCRF is being installed on a standalone server, the ''ctrl_dev'' parameter must be properly configured with an interface name other than ''lo'' for fastDPI and fastPCRF communication</note> | <note important>FastDPI only listens on the control port on the interface specified by the ''ctrl_dev'' parameter in the fastdpi.conf configuration file. If fastPCRF is being installed on a standalone server, the ''ctrl_dev'' parameter must be properly configured with an interface name other than ''lo'' for fastDPI and fastPCRF communication</note> | 
 |  | 
| • ''radius_server'' - specifies one radius server. Each radius server (usually two of them - main and backup) is specified in a separate radius_server parameter. \\ | • ''radius_server'' - specifies one RADIUS server. Each RADIUS server (usually two of them - main and backup) is specified in a separate ''radius_server'' parameter. \\ | 
| Format: ''secret@ip%dev:port'' where: | Format: ''secret@ip%dev:port'' where: | 
|   * ''secret'' - Radius secret,  |   * ''secret'' - RADIUS secret,  | 
|   * ''ip'' - Radius server IP address, |   * ''ip'' - RADIUS server IP address, | 
|   * ''dev'' - name of the local interface on which to establish a connection, |   * ''dev'' - name of the local interface on which to establish a connection, | 
|   * ''port'' - Radius auth port. It is possible to specify up to 16 Radius servers, while the first one in the order of declaration in fastpcrf.conf is considered the main one, the rest are reserve ones.  |   * ''port'' - RADIUS auth port. It is possible to specify up to 16 RADIUS servers, while the first one in the order of declaration in fastpcrf.conf is considered the main one, the rest are reserve ones.  | 
| <note important>A connection is created with only one radius server from the list, backup servers are activated only when the main one is unavailable.</note> | <note important>A connection is created with only one RADIUS server from the list, backup servers are activated only when the main one is unavailable.</note> | 
 |  | 
| ''fastpcrf.conf'' has many other configuration parameters related to fine-tuning the interaction with Radius servers. | ''fastpcrf.conf'' has many other configuration parameters related to fine-tuning the interaction with RADIUS servers. | 
 |  | 
 |  |