Can S series switches assign the existing static addresses to other terminals

13

For S series switches excluding the S1700, when there are IP addresses (including static IP addresses) located on the same network segment, the switch will not assign the IP address to other terminals. Before assigning an IP address to a client, the DHCP server must ping the IP address to check whether this IP address is in use. This prevents address conflicts.
Address detection refers to the maximum number of ping packets that a DHCP server sends and the maximum timeout interval of each ping reply are set using the dhcp server ping { packet number | timeout milliseconds } * command in the system view. If there is no response to the ping packet within a specified period, the DHCP server continues to send ping packets to this IP address until the number of ping packets reaches the maximum value. If there is still no response, the DHCP server detects that the IP address has not been used by any device on the network segment. This ensures that there is only IP address allocated to the DHCP client.

Other related questions:
Can an AR allocate existing static addresses to other terminals
If an IP address including the static address on the same network segment exists, the AR does not send the IP address to another terminal. Before assigning an IP address to a client, the DHCP server must ping the IP address to prevent address conflicts. After the dhcp server ping command is executed, the DHCP server can prevent repetitive IP address allocation. The DHCP server pings an IP address to be allocated. If there is no response to the ping packet within a certain period, the DHCP server continues to send ping packets to this IP address until the number of ping packets reaches the maximum value. If there is still no response, this IP address is not in use, and the DHCP server allocates the IP address to a client.

Can a static IP address be allocated to different clients
S series switches except S1700 switches do not assign IP addresses in use to clients. Before assigning an IP address to a client, a switch functioning as the DHCP server sends ping packets to the IP address to prevent IP address conflicts. You can run the dhcp server ping { packet number | timeout milliseconds } command in the system view to specify the maximum number of ping packets to be sent by a DHCP server and the maximum response time of a ping packet. If there is no response to the ping packet within the maximum response time, the DHCP server continues to send ping packets to this IP address until the number of ping packets reaches the maximum value. If there is still no response, this IP address is not in use and the DHCP server assigns the IP address to a client. This ensures that the IP address assigned to the client is unique.

MAC-based VLAN assignment on S series switch
Example of configuring MAC address-based VLAN assignment for S series switches (except S1700 switches): 1. Configuration roadmap 1). Create a VLAN and determine the VLAN to which employees belong. 2). Configure the modes in which interfaces are added to the VLAN, so that the interfaces allow packets of the VLAN to pass through. 3). Associate the MAC address with the VLAN, so that the switch can determine the VLAN to which received packets belong according to the source MAC address in the packets. 2. Configuration procedure [HUAWEI] vlan batch 10 //Create a VLAN. [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] port link-type hybrid [HUAWEI-GigabitEthernet0/0/1] port hybrid tagged vlan 10 //Add an uplink interface to the VLAN in tagged mode. [HUAWEI-GigabitEthernet0/0/1] quit [HUAWEI] interface gigabitethernet 0/0/2 [HUAWEI-GigabitEthernet0/0/2] port link-type hybrid [HUAWEI-GigabitEthernet0/0/2] port hybrid untagged vlan 10 //Add a downlink interface to the VLAN in untagged mode. [HUAWEI-GigabitEthernet0/0/2] quit [HUAWEI] vlan 10 [HUAWEI-vlan10] mac-vlan mac-address 22-22-22 //Associate the PC's MAC address with VLAN 10. [HUAWEI-vlan10] quit [HUAWEI] interface gigabitethernet 0/0/2 [HUAWEI-GigabitEthernet0/0/2] mac-vlan enable //Enable MAC address-based VLAN assignment on the downlink interface. [HUAWEI-GigabitEthernet0/0/2] quit

Whether IP addresses to be added can overlap with existing IP addresses of other regions
They can overlap with each other. If an IP address to be added overlaps with an IP address of another user-defined or predefined region, the adding operation succeeds, and the overlapping IP address is automatically removed from this another predefined or user-defined region.

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