====== Support for subscribers with multiple IP ======
{{indexmenu_n>8}}
Subscribers with multiple IPs are treated by DPI as one subscriber: services and available bandwidth management are common to all the IPs belonging to such a subscriber. Often such a subscriber is a corporate user who was given a channel and an IP addresses set, and then he autonomously allocates the available resources.
Service and channel management for such a subscriber is performed by a codename (login) specified in [[en:dpi:dpi_components:platform:subscriber_management:subsman_cmd|control commands]] by corresponding ''--login'' long option.\\
To support the DPI login binding feature you need to [[en:dpi:dpi_components:platform:dpi_admin:admin_db#Activating the built-in database|activate the UDR]].
The binding of IP addresses with this name is performed using the special command
fdpi_ctrl load --bind_multi --user subscriber_name:ip_address_or_range
IP addresses can be assigned to a subscriber as a single IP address or by IP addresses range:
192.168.0.1 single IPv4 address
192.168.0.1-192.168.0.5 range (includes the range boundaries)
192.168.0.0/30 CIDR
192.168.0.1,192.168.0.3 list
2a00:0:0:0:7aac:c0ff:fea7:d4c/64 IPv6 subnet
To delete all the IPs associated with login
fdpi_ctrl del --bind_multi --login subscriber_name
Deleting one of the IPs associated with login
fdpi_ctrl del --bind_multi --ip 192.168.0.1
To list all the IP addresses belonging to subscriber with multiple IPs
fdpi_ctrl list --bind_multi --login subscriber_name
To list all the subscribers with multiple IPs
fdpi_ctrl list all --bind_multi