A fault occurs on an S series switch when the network IP address/mask and host IP address/mask are configured. Why

11

Question: Why a fault occurs when I configure the network IP address/mask and host IP address/mask?

Answer: You may solve the problem as follows:
Ensure that the host is a part of the same network and the mask is correct.
Ensure that the IP address and mask of the host can be combined to a network IP address.
Ensure that the IP address of the host is unique on the network.
Ensure that the IP address of the network is unique in the area.

Other related questions:
Configure address masks in ACLs on S series switches
For S series switches (except S1700 switches): An address mask must be specified when a source IP address or destination IP address is configured in an ACL rule. The address mask is the wildcard. In a binary wildcard, the value 0 indicates that this bit needs to be matched and the value 1 indicates that this bit does not need to be matched. 0s and 1s in a wildcard can be discontinuous. For example, the IP address 192.168.1.169 and the wildcard 0.0.0.172 represent address 192.168.1.x0x0xx01. x can be 0 or 1.

How to change an interface IP address on an S series switches
You can delete or change an interface IP address on an S series switches (except the S1700) as follows: - To delete the IP address of an interface, run the undo ip address [ ip-address { mask | mask-length } ] command in the interface view. For example: [HUAWEI] interface Vlanif 100 [HUAWEI-Vlanif100] display this # interface Vlanif100 ip address 10.1.1.1 255.255.255.0 # [HUAWEI-Vlanif100] undo ip address [HUAWEI-Vlanif100] display this # interface Vlanif100 # - To change the IP address or subnet mask of an interface, run the ip address ip-address { mask | mask-length } command in the interface view. For example: [HUAWEI] interface Vlanif 100 [HUAWEI-Vlanif100] display this # interface Vlanif100 ip address 10.1.1.1 255.255.255.0 # [HUAWEI-Vlanif100] ip address 10.2.1.1 255.255.0.0 [HUAWEI-Vlanif100] display this # interface Vlanif100 ip address 10.2.1.1 255.255.0.0 #

An error occurs when excluded-ip-address is executed
The solution to solving errors of IP addresses that cannot be dynamically assigned is as follows:
1. Check whether the dhcp select global command is configured on the VLANIF interface. This command can be used only after the address pool is configured. If the address pool has been configured, run the undo dhcp select global command to delete the configuration.
2. Check whether the range of IP addresses that cannot be dynamically assigned is large, attempt to exclude one IP address and check whether the fault persists. If the fault is rectified, the range of IP addresses that cannot be dynamically assigned is large. Reduce the range.
3. Run the display ip pool command to check whether the IP address status is conflict, expired, or used. If the IP address status is conflict, expired, or used, reclaim the IP address and reconfigure the IP address that cannot be dynamically assigned.
4. Check whether the number of addresses in the address pool exceeds the specifications. You can check the device specification list. If the number of addresses in the address pool exceeds the specifications, delete the address pool and re-create a new address pool.
The device configuration is not performed through command lines. After vrpcfg.zip is exported, batch modify the configuration, and import the configuration to the flash memory. In this case, the system does not display an error message when the number of addresses in the address pool exceeds the specifications.

IP address exclusion configuration on S series switch
For S series switches except S1700 switches, some IP addresses in an address pool may be used by other servers and hosts, configured for clients with special requirements, or reserved. These IP addresses need to be excluded from the address pool so that the DHCP server does not assign them to clients, preventing IP address conflicts. For example, you can configure IP addresses in the range of 10.10.10.11 to 10.10.10.20 that cannot be automatically assigned to clients from the address pool on an S series switch except an S1700 switch as follows: - For an interface address pool: [HUAWEI] dhcp enable [HUAWEI] interface vlanif 100 //Enter the view of the interface connected to DHCP clients. [HUAWEI-Vlanif100] ip address 10.10.10.10 24 [HUAWEI-Vlanif100] dhcp select interface [HUAWEI-Vlanif100] dhcp server excluded-ip-address 10.10.10.11 10.10.10.20 - For a global address pool: [HUAWEI] dhcp enable [HUAWEI] interface vlanif 100 //Enter the view of the interface connected to DHCP clients. [HUAWEI-Vlanif100] ip address 10.10.10.10 24 [HUAWEI-Vlanif100] dhcp select global [HUAWEI-Vlanif100] quit [HUAWEI] ip pool global1 [HUAWEI-ip-pool-global1] network 10.10.10.0 mask 24 [HUAWEI-ip-pool-global1] excluded-ip-address 10.10.10.11 10.10.10.20

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