Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:dpi:dpi_components:platform:dpi_dynamicip:start [2023/08/29 07:26] – edrudichgmailcom | en:dpi:dpi_components:platform:dpi_dynamicip:start [2024/06/10 13:44] (current) – removed elena.krasnobryzh | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Dynamic IP subscribers' | ||
- | {{indexmenu_n> | ||
- | The nominal name (LOGIN) is used to control services and a channel for each subscriber that uses dynamic IP. This name is specified in [[en: | ||
- | We recommend to use " | ||
- | |||
- | Execution of user's scripts by events of assignment and release of IP address has to be supported by other platforms for successful integration. For example the common DHCP server of Linux supports this functionality. Binding of IP address with LOGIN and removing of this link is handled by special commands. | ||
- | |||
- | Binding IP address and LOGIN: | ||
- | < | ||
- | fdpi_ctrl load --bind --user subscribers_name: | ||
- | |||
- | Example: | ||
- | fdpi_ctrl load --bind --user test_user: | ||
- | fdpi_ctrl load --bind --user test_user: | ||
- | </ | ||
- | Removing of the link IP <-> login | ||
- | < | ||
- | fdpi_ctrl del --bind --login subscribers_name | ||
- | </ | ||
- | |||
- | To check the binded IP subscriber: | ||
- | < | ||
- | fdpi_ctrl list --bind --login subscribers_name | ||
- | </ | ||
- | |||
- | List all subscribers with binded IPs: | ||
- | < | ||
- | fdpi_ctrl list all --bind | ||
- | </ | ||
- | |||
- | The next section discusses the connection of subscribers with an arbitrary number of IP addresses. An important difference between bind and bind_multi semantics 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 the other subscriber — load –bind spends the database size more economically |