<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]vlan batch 500 501
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei]un in en
Info: Information center is disabled.
[Huawei]int vlanif 500
[Huawei-Vlanif500]ip add 192.168.200.1 28
[Huawei-Vlanif500]int vlanif 501
[Huawei-Vlanif501]ip add 192.168.200.17 27
Info: A similar IP subnet already exists. Please verify the current IP subnet design.
[Huawei-Vlanif501]dis th
#
interface Vlanif501
ip address 192.168.200.17 255.255.255.224
#
return
[Huawei-Vlanif501]q
[Huawei]ip pool 500
Info:It's successful to create an IP address pool.
[Huawei-ip-pool-500]gate
[Huawei-ip-pool-500]gateway-list 192.168.200.1
[Huawei-ip-pool-500]net
[Huawei-ip-pool-500]network 192.168.200.0 mask 255.255.255.240
[Huawei-ip-pool-500]q
[Huawei]ip pool 501
Info:It's successful to create an IP address pool.
[Huawei-ip-pool-501]gateway-list 192.168.200.17
[Huawei-ip-pool-501]network 192.168.200.16 mask 255.255.255.224
Error:The subnet of the pool cannot be overlapped with that of other pools.
①、确定子网掩码的长度。
②、确定子网下的主机可用地址范围(第一个可用IP和最后一个可用IP)。
③、确定网络地址(主机位全为0)和广播地址(主机位全为1),不能分配计算机主机用。
子网划分分为等长子网和变长子网两种,后者相对灵活。
等长子网划分就是将一个有类网络等分成多个网络,也就是等分成多个子网,所有子网的子网掩码都相同。
VLSM规定了如何在一个进行了子网划分的网络中,不同子网使用不同的子网掩码。这对于网络内部不同网段需要不同大小子网的情形来说很有效,这种划分子网的方式叫变长子网划分。
这个就是报错The subnet of the pool cannot be overlapped with that of other pools的原因!!!