Do S series switches support allocation of IP addresses based on secondary IP addresses

25

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.

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.

IP address allocation based on sub IP address
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.

Number of secondary IP addresses supported by S series switches
For S series switches (except the S1700): In V100R006 and later versions, each interface of an S series fixed switch supports up to eight secondary IP addresses. In V100R003 and later versions, each interface of an S series modular switch supports up to 255 secondary IP addresses.

Incorrect IP address allocation on S series switch
A DHCP client sends request messages (DHCP Discover) in broadcast mode. If there is more than one DHCP server (private DHCP server) on the same network segment, the clients may obtain IP addresses from unauthorized servers. In this case, you can configure the DHCP snooping function, so that clients receive DHCP messages and obtain IP addresses only from authorized DHCP servers. Configure the DHCP snooping function as follows: 1. Enable DHCP snooping globally. [HUAWEI] dhcp enable [HUAWEI] dhcp snooping enable 2. Configure the interfaces connected to DHCP clients. Perform the configuration on all interfaces connected to DHCP clients. Configuration of interface GE1/0/1 is used as an example. [HUAWEI] interface gigabitethernet 1/0/1 [HUAWEI-GigabitEthernet1/0/1] dhcp snooping enable [HUAWEI-GigabitEthernet1/0/1] quit 3. Configure the interface connected to the DHCP server. [HUAWEI] interface gigabitethernet 1/0/2 [HUAWEI-GigabitEthernet1/0/2] dhcp snooping trusted [HUAWEI-GigabitEthernet1/0/2] quit Note: - For a Layer 2 access switch, steps 1, 2, and 3 are mandatory and need to be performed in sequence. - For a DHCP relay agent, only steps 1 and 2 are required.

Method to check IP addresses allocation on S series switches
For S series switches excluding the S1700, run the following commands as required to check IP addresses allocation: - If IP addresses are assigned based on the interface address pool, run the display ip pool [ interface interface-pool-name [ start-ip-address [ end-ip-address ] | all | conflict | expired | used ] ] command. - If IP addresses are assigned based on the global address pool, run the display ip pool [ name ip-pool-name [ start-ip-address [ end-ip-address ] | all | conflict | expired | used ] ] command. Note: - Specify all to check allocation of all the IP addresses. - Specify conflict to check conflicting IP addresses. - Specify expired to check expired IP addresses that are in idle state. - Specify used to check used IP addresses. - Specify start-ip-address [ end-ip-address ] to check allocation of an IP address or some IP addresses.

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