Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:dpi:dpi_components:platform:subscriber_management:dpi_dynamicip:start [2018/07/10 22:28] – created kvazikrav | en:dpi:dpi_components:platform:subscriber_management:dpi_dynamicip:start [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 7 Support for subscribers with a single IPv4 address and an IPv6 subnet binding or with dynamically assigned IP addresses ====== | ||
- | {{indexmenu_n> | ||
- | Service and channel management for subscribers with dynamically assigned IP address is performed by a codemane (LOGIN), which is specified in the [[en: | ||
- | To support the DPI login binding feature you need to [[dpi: | ||
- | If the dynamic IP addresses assignment is performed by the Radius server, it is recommended to use the " | ||
- | |||
- | To integrate with other platforms, it is necessary to support the custom scripts triggered by the events of IP address assignment and releasing (for example, this feature is present in the standard dhcp linux server). In this case, the IP address and LOGIN binding as well as the deletion of the bind are performed using special commands. | ||
- | |||
- | IP address and LOGIN bind | ||
- | < | ||
- | fdpi_ctrl load --bind --user subscriber_name: | ||
- | </ | ||
- | |||
- | The example: | ||
- | fdpi_ctrl load --bind --user test_user: | ||
- | fdpi_ctrl load --bind --user test_user: | ||
- | |||
- | To delete the IP <-> login bind | ||
- | < | ||
- | fdpi_ctrl del --bind --login subscriber_name | ||
- | </ | ||
- | |||
- | To list the binded subscriber IP address | ||
- | < | ||
- | fdpi_ctrl list --bind --login subscriber_name | ||
- | </ | ||
- | |||
- | To list all the subscribers having binded IP | ||
- | < | ||
- | fdpi_ctrl list all --bind | ||
- | </ | ||
- | |||
- | The next section discusses the binding of subscribers with an arbitrary IP addresses number. | ||
- | An important difference between bind semantics and bind_multi one is: | ||
- | - load --bind replaces the address previously assigned to the subscriber, while load --bind_multi adds it | ||
- | - load --bind automatically takes the assigned address from another subscriber | ||
- | - load --bind uses the database more efficiently |