IP address allocation based on sub IP address

2

All S series switches except S1700 switches in all versions assign IP addresses in interface address pools and global address pools based on primary IP addresses, but not secondary IP addresses. That is, users cannot obtain IP addresses on the same network segments as secondary IP addresses.

Other related questions:
Can an AR allocate IP addresses based on secondary IP addresses
All AR models allocate IP addresses based on the primary IP address, regardless of whether the interface or global address pool is used. The AR cannot allocate IP addresses based on the secondary IP address, that is, user terminals cannot obtain IP addresses on the same network segment as the secondary IP address.

Configure DHCP address pools on S series switch
When functioning as DHCP servers, S series switches (except S1700 switches) support the interface and global address pool configurations. - Interface address pool: The network segment to which the primary IP address of an interface belongs is an interface address pool. The DHCP server allocates IP addresses only on this network segment to clients connected to the interface. - Global address pool: 1. If a switch functioning as the DHCP server is on the same network segment as clients (that is, no DHCP relay agent is configured), the switch allocates IP addresses on the same network segment as the primary IP address of the interface connected to clients. If no primary IP address is configured for the interface or no address pool is on the same network segment as the interface's primary IP address, the clients cannot obtain IP addresses. 2. If a switch functioning as the DHCP server is on a different network segment from a DHCP client (that is, a DHCP relay agent is configured), the DHCP server parses the IP address (primary IP address of the first DHCP relay agent's interface) specified in the giaddr field of a DHCP Request packet, and allocates an IP address on the same network segment as the parsed IP address from an address pool to the client. If no address pool matches the parsed IP addresses, the client cannot obtain an IP address. When configuring address pools, follow the preceding rules to ensure that clients can obtain IP addresses.

Do S series switches support allocation of IP addresses based on secondary IP addresses
All switch models of S series switches excluding the S1700 allocate IP addresses based on the primary IP address regardless of whether the interface or global address pool is used. They do not support allocation of IP addresses based on secondary IP addresses. That is, users cannot obtain IP addresses on the same network segment as the secondary IP address.

Check address allocation on S series switch
On S series switches except S1700 switches, you can view information about IP addresses in an address pool as follows: - If an interface address pool is used, run the display ip pool [ interface interface-pool-name [ start-ip-address [ end-ip-address ] | all | conflict | expired | used ] ] command. - If a global address pool is used, run the display ip pool [ name ip-pool-name [ start-ip-address [ end-ip-address ] | all | conflict | expired | used ] ] command. You can configure fields in the command as required: - To view information about all IP addresses in an address pool, specify all. - To view information about conflicting IP addresses in an address pool, specify conflict. - To view information about expired and idle IP addresses in an address pool, specify expired. - To view information about used IP addresses in an address pool, specify used. - To view information about a specific IP address or an IP address range in an address pool, specify start-ip-address [ end-ip-address ].

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top