问题描述:
共4个问题
(1)2个问题
为什么pool 210没有可用IP了?如何解决?
通过我给的配置可以看到,除开“已用IP、冲突IP”,10.20.210.xxx/24 网段是还有可以IP的,但是在核心交换机 disp dhcp server free-ip pool 210 的结果就是没有,直接空一行。
注:通过后面的查看配置可知:总共可分配 244个,禁用了11个,已用:67,冲突46个,无论如何都应该还有IP地址可以分配的。
(2)2个问题
为什么很多网段地址池的”ip-mac对“的mac前面都有01。这个01是什么意思?虽然都是自动获取IP,但为什么有的mac前就有01,有的就没有呢?如果有h3c文档,请用文档说明。
display dhcp server ip-in-use pool 210
10.20.210.158 0198-9e63-30c2-f0 May 22 16:05:00 2024 Auto(C) # mac 前有01
10.20.210.160 a439-b368-b69b May 22 16:07:11 2024 Auto(C) # mac 前没有01
组网及组网描述:
组网 和 现在核心交换机S7500E 的配置如下
1、组网描述
我有一个h3c交换机搭建的局域网。
核心交换机是:S7500E。接入交换机是:S5130S-52S-EI。
应用地点:学校。发生问题的VLAN:210,在windows计算机教室。
核心交换机作是所有vlan的DHCP服务器;所有区域的VALN都在核心交换机上有 VLAN interface,且他还是是这些VLAN的网关;每个VLAN大致容纳250台左右终端。
2、核心交换机的 210地址池
# 禁止了11个地址的分配
dhcp server forbidden-ip 10.20.210.25 10.20.210.30
dhcp server forbidden-ip 10.20.210.250 10.20.210.254
dhcp server ip-pool 210
gateway-list 10.20.210.1
network 10.20.210.0 mask 255.255.255.0
address range 10.20.210.11 10.20.210.254 # 总共可分配 244个IP地址
dns-list 10.20.0.201 10.20.0.200
expired day 0 hour 0 minute 10
static-bind ip-address 10.20.210.11 mask 255.255.255.0 hardware-address 8c16-451c-c7a0
static-bind ip-address 10.20.210.39 mask 255.255.255.0 hardware-address e0be-039b-24dc
static-bind ip-address 10.20.210.61 mask 255.255.255.0 hardware-address 94c6-9178-c1d2
static-bind ip-address 10.20.210.66 mask 255.255.255.0 hardware-address 1c69-7afb-9740
static-bind ip-address 10.20.210.77 mask 255.255.255.0 hardware-address e0be-039a-fe38
static-bind ip-address 10.20.210.86 mask 255.255.255.0 hardware-address 94c6-9187-54c4
static-bind ip-address 10.20.210.199 mask 255.255.255.0 hardware-address e0be-039b-1af6
static-bind ip-address 10.20.210.209 mask 255.255.255.0 hardware-address e0be-039b-1df5
static-bind ip-address 10.20.210.221 mask 255.255.255.0 hardware-address e0be-039a-fe2a
static-bind ip-address 10.20.210.241 mask 255.255.255.0 hardware-address 1c69-7afb-d0d4
interface Vlan-interface210
description Class_IT_2F
ip address 10.20.210.1 255.255.255.0
dhcp client-detect # h3c文档说:当设备上的ARP表项老化时,DHCP服务器认为该表项对应的DHCP客户端已经下线,DHCP服务器会删除对应的IP租约
3、核心交换机的 “210地址池的used”
display dhcp server ip-in-use pool 210
IP address Client-identifier/ Lease expiration Type
Hardware address
10.20.210.11 8c16-451c-c7a0 Not used Static(F)
10.20.210.22 0198-9e63-36b6-a0 May 22 15:21:19 2024 Auto(C)
10.20.210.39 e0be-039b-24dc May 22 15:23:46 2024 Static(C)
10.20.210.55 0114-205e-15a7-78 May 22 15:19:19 2024 Auto(C)
10.20.210.56 01d8-8f76-7a98-9b May 22 15:22:58 2024 Auto(C)
10.20.210.58 01e0-be03-9b1f-2c May 22 15:23:34 2024 Auto(C)
10.20.210.61 94c6-9178-c1d2 May 22 15:22:07 2024 Static(C)
10.20.210.66 1c69-7afb-9740 May 22 15:22:23 2024 Static(C)
10.20.210.67 01e0-be03-9b1e-3b May 22 15:23:46 2024 Auto(C)
10.20.210.68 01e0-be03-9b1d-ff May 22 15:23:33 2024 Auto(C)
10.20.210.77 e0be-039a-fe38 May 22 15:24:11 2024 Static(C)
10.20.210.79 0198-9e63-30c3-40 May 22 15:22:51 2024 Auto(C)
10.20.210.82 0198-9e63-30c1-e4 May 22 15:24:47 2024 Auto(C)
10.20.210.83 0114-205e-1656-28 May 22 15:22:38 2024 Auto(C)
10.20.210.86 94c6-9187-54c4 Not used Static(F)
10.20.210.88 01a8-60b6-3c0c-50 May 22 15:21:38 2024 Auto(C)
10.20.210.89 0198-9e63-36c1-a8 May 22 15:18:12 2024 Auto(C)
10.20.210.93 0114-205e-10b5-8c May 22 15:21:24 2024 Auto(C)
10.20.210.95 0198-9e63-36b3-d4 May 22 15:21:37 2024 Auto(C)
10.20.210.118 6464-4a5c-5a73 May 22 15:24:17 2024 Auto(C)
10.20.210.130 0198-9e63-369e-0c May 22 15:24:28 2024 Auto(C)
10.20.210.131 e0be-0323-4c59 May 22 15:22:21 2024 Auto(C)
10.20.210.132 0194-c691-8215-7f May 22 15:23:58 2024 Auto(C)
10.20.210.133 54e1-ad93-777c May 22 15:25:31 2024 Auto(C)
10.20.210.135 94c6-9178-c230 May 22 15:23:03 2024 Auto(C)
10.20.210.136 018c-1645-19ad-e6 May 22 15:21:55 2024 Auto(C)
10.20.210.137 0194-c691-7688-3c May 22 15:21:40 2024 Auto(C)
10.20.210.140 0198-9e63-3083-b6 May 22 15:22:23 2024 Auto(C)
10.20.210.142 0198-9e63-36c2-40 May 22 15:22:16 2024 Auto(C)
10.20.210.158 0198-9e63-30c2-f0 May 22 15:19:29 2024 Auto(C)
10.20.210.160 a439-b368-b69b May 22 15:21:52 2024 Auto(C)
10.20.210.161 01e0-be03-9b1d-f9 May 22 15:23:34 2024 Auto(C)
10.20.210.166 011c-697a-fbe1-0f May 22 15:24:34 2024 Auto(C)
10.20.210.167 0198-9e63-36a0-5c May 22 15:23:03 2024 Auto(C)
10.20.210.171 0198-9e63-3688-ea May 22 15:24:38 2024 Auto(C)
10.20.210.172 011c-697a-faf5-15 May 22 15:24:00 2024 Auto(C)
10.20.210.174 0194-c691-8659-b1 May 22 15:25:11 2024 Auto(C)
10.20.210.175 0194-c691-8756-31 May 22 15:25:08 2024 Auto(C)
10.20.210.176 0194-c691-8758-18 May 22 15:25:12 2024 Auto(C)
10.20.210.177 0194-c691-8752-bd May 22 15:25:28 2024 Auto(C)
10.20.210.178 0194-c691-8213-5b May 22 15:25:38 2024 Auto(C)
10.20.210.179 0194-c691-8752-7c May 22 15:26:08 2024 Auto(C)
10.20.210.180 0194-c691-78c2-b2 May 22 15:26:13 2024 Auto(C)
10.20.210.181 0194-c691-8754-95 May 22 15:26:15 2024 Auto(C)
10.20.210.182 0194-c691-797c-1a May 22 15:26:18 2024 Auto(C)
10.20.210.184 0194-c691-8758-af May 22 15:26:28 2024 Auto(C)
10.20.210.185 0194-c691-7696-1b May 22 15:22:13 2024 Auto(C)
10.20.210.186 0194-c691-7965-e1 May 22 15:21:52 2024 Auto(C)
10.20.210.187 016c-4b90-725b-a6 May 22 15:22:38 2024 Auto(C)
10.20.210.188 018c-1645-73d2-02 May 22 15:22:22 2024 Auto(C)
10.20.210.189 0194-c691-7965-72 May 22 15:22:11 2024 Auto(C)
10.20.210.190 0194-c691-8756-46 May 22 15:26:35 2024 Auto(C)
10.20.210.191 018c-1645-71a1-b1 May 22 15:22:11 2024 Auto(C)
10.20.210.192 0194-c691-8758-0f May 22 15:21:43 2024 Auto(C)
10.20.210.194 0194-c691-796a-4c May 22 15:22:15 2024 Auto(C)
10.20.210.195 0194-c691-78c1-42 May 22 15:21:40 2024 Auto(C)
10.20.210.196 016c-4b90-7259-9e May 22 15:21:43 2024 Auto(C)
10.20.210.197 0194-c691-7688-75 May 22 15:21:48 2024 Auto(C)
10.20.210.198 016c-4b90-724d-ea May 22 15:22:00 2024 Auto(C)
10.20.210.199 e0be-039b-1af6 May 22 15:23:31 2024 Static(C)
10.20.210.200 016c-4b90-725b-9f May 22 15:22:28 2024 Auto(C)
10.20.210.201 0194-c691-7696-2a May 22 15:22:37 2024 Auto(C)
10.20.210.202 0194-c691-8a60-62 May 22 15:21:55 2024 Auto(C)
10.20.210.203 0194-c691-8356-93 May 22 15:23:02 2024 Auto(C)
10.20.210.209 e0be-039b-1df5 May 22 15:23:33 2024 Static(C)
10.20.210.221 e0be-039a-fe2a May 22 15:23:32 2024 Static(C)
10.20.210.241 1c69-7afb-d0d4 May 22 15:23:33 2024 Static(C)
4、核心交换机的 “210地址池的conlict”
display dhcp server conflict | i 10.20.210.
10.20.210.15 May 20 12:59:51 2024
10.20.210.14 May 20 12:59:54 2024
10.20.210.20 May 20 12:59:56 2024
10.20.210.21 May 20 12:59:56 2024
10.20.210.32 May 20 13:00:11 2024
10.20.210.34 May 20 13:00:28 2024
10.20.210.36 May 20 13:00:36 2024
10.20.210.38 May 20 13:00:51 2024
10.20.210.40 May 20 13:03:44 2024
10.20.210.45 May 20 13:15:32 2024
10.20.210.46 May 20 13:15:42 2024
10.20.210.48 May 20 13:15:56 2024
10.20.210.12 May 20 13:16:03 2024
10.20.210.13 May 20 13:16:03 2024
10.20.210.16 May 20 13:16:07 2024
10.20.210.17 May 20 13:16:15 2024
10.20.210.18 May 20 13:16:15 2024
10.20.210.23 May 20 13:16:17 2024
10.20.210.24 May 20 13:16:17 2024
10.20.210.31 May 20 13:16:17 2024
10.20.210.33 May 20 13:16:17 2024
10.20.210.35 May 20 13:16:18 2024
10.20.210.19 May 20 13:16:18 2024
10.20.210.41 May 20 13:16:54 2024
10.20.210.44 May 20 13:19:10 2024
10.20.210.47 May 20 13:19:10 2024
10.20.210.49 May 20 13:19:10 2024
10.20.210.50 May 20 13:19:10 2024
10.20.210.53 May 20 13:19:18 2024
10.20.210.54 May 20 13:19:18 2024
10.20.210.60 May 20 13:19:50 2024
10.20.210.63 May 20 13:19:54 2024
10.20.210.64 May 20 13:19:54 2024
10.20.210.70 May 20 13:20:07 2024
10.20.210.73 May 20 13:20:13 2024
10.20.210.75 May 20 13:21:59 2024
10.20.210.76 May 20 13:22:00 2024
10.20.210.78 May 20 13:22:01 2024
10.20.210.80 May 20 13:22:54 2024
10.20.210.81 May 20 13:22:54 2024
10.20.210.84 May 20 13:24:50 2024
10.20.210.85 May 20 13:24:50 2024
10.20.210.87 May 20 13:24:50 2024
10.20.210.90 May 20 13:38:52 2024
10.20.210.91 May 20 13:38:52 2024
10.20.210.99 May 20 13:58:29 2024
5、核心交换机的 “210地址池的可用IP”
disp dhcp server free-ip pool 210
结果:无;结果就是自动空一行
display dhcp server free-ip pool 210
给你个赞,应该建议他找人去现场排查,他问了好多回