| Next revision | Previous revision |
| en:dpi:bras_bng:general_setup [2024/09/26 15:29] – created - external edit 127.0.0.1 | en:dpi:bras_bng:general_setup [2026/07/07 14:07] (current) – ↷ Links adapted because of a move operation 47.82.11.187 |
|---|
| <note important>You need to create services and policies, which will later be transmitted using the Radius attributes from billing. [[en:dpi:dpi_options:use_cases:qs_rateplans|An example of setting up a policy (tariff plan) and Captive Portal, which are the minimum required to start]].</note> | <note important>You need to create services and policies, which will later be transmitted using the Radius attributes from billing. [[en:dpi:dpi_options:use_cases:qs_rateplans|An example of setting up a policy (tariff plan) and Captive Portal, which are the minimum required to start]].</note> |
| |
| 1. [[en:dpi:dpi_options:opt_statistics:statistics_asn|Create a file aslocal.bin]] (or correct this file if it already exists). The aslocal file contains those ranges of private IP addresses that are used in the provider's local network. Any of the range 64512 - 65534 is indicated for them as an autonomous system number. | 1. [[en:dpi:dpi_options:opt_priority:statistics_asn|Create a file aslocal.bin]] (or correct this file if it already exists). The aslocal file contains those ranges of private IP addresses that are used in the provider's local network. Any of the range 64512 - 65534 is indicated for them as an autonomous system number. |
| |
| <code> | <code> |
| </code> | </code> |
| |
| <note important>FastPCRF authorizes only the local users. The fact whether the user is local or not is determined according to the fact of belonging his IP-address to the list of local autonomous systems.</note> | <note important>FastDPI authorizes only local users. Locality is determined by the user's IP address — based on its membership in the list of local autonomous systems.\\ **This method is applicable only for IPoE subscribers with manual IP address configuration on the subscriber device. It is NOT recommended for IPoE DHCP.**</note> |
| |
| 2. Next, [[en:dpi:dpi_options:opt_priority:priority_config_as|create the asnum.dscp file]] (or modify it if it already exists). The //local// numbers of autonomous system should be specified in this file, so the authorization will take place for them. Typically these are autonomous systems for the gray IP addresses specified in the aslocal.bin file, plus the white IPs allocated to the provider, if these white IP addresses are used on the local network, that is, they require authorization. Authorization will be done for all the autonomous systems IP addresses marked as local in the asnum.dscp file. | 2. Next, [[en:dpi:dpi_options:opt_priority:priority_config_as|create the asnum.dscp file]] (or modify it if it already exists). The //local// numbers of autonomous system should be specified in this file, so the authorization will take place for them. Typically these are autonomous systems for the gray IP addresses specified in the aslocal.bin file, plus the white IPs allocated to the provider, if these white IP addresses are used on the local network, that is, they require authorization. Authorization will be done for all the autonomous systems IP addresses marked as local in the asnum.dscp file. |
| === Separate autonomous system === | === Separate autonomous system === |
| As described [[en:dpi:bras_bng:general_setup#fastdpi_l3_bras_setup|earlier]] the authorization is done by using just the local IP addresses. Locality of the IP address is specified by the ''local'' flag for the autonomous system. Hence, one can allocate the test range of IP addresses then | As described [[en:dpi:bras_bng:general_setup#fastdpi_l3_bras_setup|earlier]] the authorization is done by using just the local IP addresses. Locality of the IP address is specified by the ''local'' flag for the autonomous system. Hence, one can allocate the test range of IP addresses then |
| [[en:dpi:dpi_options:opt_statistics:statistics_asn|to set]] the corresponding autonomous system from the private range of numbers(64512..65534) and to define the autonomous system as [[en:dpi:dpi_options:opt_priority:priority_config_as|local]]. | [[en:dpi:dpi_options:opt_priority:statistics_asn|to set]] the corresponding autonomous system from the private range of numbers(64512..65534) and to define the autonomous system as [[en:dpi:dpi_options:opt_priority:priority_config_as|local]]. |
| So the only IP addresses belonging to this local autonomous system will be authorized. "Live" subscribers will not be affected until the autonomous system with corresponding IP addresses is not defined as local. It allows you to configure the authorization on the live fastDPI. | So the only IP addresses belonging to this local autonomous system will be authorized. "Live" subscribers will not be affected until the autonomous system with corresponding IP addresses is not defined as local. It allows you to configure the authorization on the live fastDPI. |
| |
| * ''bras_ipv6_address'' - sets the global DPI IPv6-address. For example, the global address can be useful for pinging DPI from the subscriber. If this parameter is not set, DPI does not have a global IPv6-address. | * ''bras_ipv6_address'' - sets the global DPI IPv6-address. For example, the global address can be useful for pinging DPI from the subscriber. If this parameter is not set, DPI does not have a global IPv6-address. |
| |
| * [[en:dpi:bras_bng:general_setup#radius-server_intergation|ICMPv6 Options]] | * [[en:dpi:bras_bng:general_setup#icmpv6_settings_for_fastdpi|ICMPv6 Options]] |
| |
| * [[en:dpi:bras_bng:general_setup#radius-server_intergation|DHCPv6 Options]] | * [[en:dpi:bras_bng:general_setup#setting_dhcpv6-options_in_radius|DHCPv6 Options]] |
| |
| |