公司用的核心交换机是S5500-24P-WiNet,在核心交换机上配置了dhcp(192.168.4.0/24),最近发现经常有电脑获取不到ip,用display dhcp server free-ip发现已经没有空闲ip,用display dhcp server ip-in-use看实际使用的ip只有160个左右,剩余的几十个逾期ip没有被放入free ip,请问这种情况有什么办法将逾期的ip释放掉重新利用?
ip租约设置为2小时,但是没什么用,这几天都发现有电脑获取不到ip
(0)
最佳答案
把dhcp server 重启一下呢 ? undo dhcp ser en ; dhcp ser en
还有一个命令 应该是reset 开头的,手工释放掉ip地址,让所有的终端重新获取下
(0)
找了一下命令,执行了reset dhcp server conflict,逾期ip已经回到free ip了,非常感谢
先把dhcp地址池看能不能调大先规避,然后把配置贴个附件出来,看一下
(0)
逾期的IP终端是不是还在续租保活?
逾期的IP终端是不是还在续租保活?
******************************************************************************
* Copyright (c) 2004-2015 Hangzhou H3C Tech. Co., Ltd. All rights reserved. *
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
******************************************************************************
Login authentication
Username:admin
Password:
<WiNet_0.H3C>dis cur
#
version 5.20, Release 2221P18
#
sysname H3C
#
clock timezone Beijing add 08:00:00
#
domain default enable system
#
ipv6
#
telnet server enable
#
ntdp hop 8
#
password-recovery enable
#
vlan 1
#
vlan 10
#
vlan 20
#
vlan 30
#
vlan 40
description 接AC控制器
#
vlan 50
#
vlan 90
description CPG kingdee server
#
vlan 100
description 接路由器
#
vlan 110
#
vlan 1000
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
dhcp server ip-pool 20
network 192.168.2.0 mask 255.255.255.0
gateway-list 192.168.2.1
dns-list 211.136.192.6 114.114.114.114
expired day 5
#
dhcp server ip-pool 30
network 192.168.3.0 mask 255.255.255.0
gateway-list 192.168.3.1
dns-list 211.136.192.6 114.114.114.114
expired day 5
#
dhcp server ip-pool 40
network 192.168.4.0 mask 255.255.255.0
gateway-list 192.168.4.1
dns-list 211.136.192.6 114.114.114.114
expired day 0 hour 2
#
user-group system
group-attribute allow-guest
#
local-user admin
password cipher $c$3$eT/hPxWMk18fZS1tp+Ptrm8X0Hvo7uTTwuhMRwM=
authorization-attribute level 3
service-type ssh telnet terminal
service-type web
#
interface NULL0
#
interface Vlan-interface1
ip address 192.168.0.5 255.255.255.0
#
interface Vlan-interface10
ip address 192.168.1.1 255.255.255.0
#
interface Vlan-interface20
ip address 192.168.2.1 255.255.255.0
#
interface Vlan-interface30
ip address 192.168.3.1 255.255.255.0
#
interface Vlan-interface40
ip address 192.168.4.1 255.255.254.0
#
interface Vlan-interface90
ip address 192.168.9.1 255.255.255.0
#
interface Vlan-interface100
ip address 192.168.10.1 255.255.255.0
#
interface Vlan-interface1000
ip address 192.168.100.254 255.255.255.0
#
interface GigabitEthernet1/0/1
port access vlan 10
#
interface GigabitEthernet1/0/2
port access vlan 1000
#
interface GigabitEthernet1/0/3
port access vlan 10
#
interface GigabitEthernet1/0/4
port access vlan 40
#
interface GigabitEthernet1/0/5
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/6
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/7
port access vlan 10
#
interface GigabitEthernet1/0/8
port access vlan 10
#
interface GigabitEthernet1/0/9
port access vlan 90
#
interface GigabitEthernet1/0/10
port access vlan 100
#
interface GigabitEthernet1/0/11
port access vlan 10
#
interface GigabitEthernet1/0/12
port access vlan 10
#
interface GigabitEthernet1/0/13
port access vlan 10
#
interface GigabitEthernet1/0/14
port access vlan 10
#
interface GigabitEthernet1/0/15
port access vlan 10
#
interface GigabitEthernet1/0/16
port access vlan 10
#
interface GigabitEthernet1/0/17
port access vlan 10
#
interface GigabitEthernet1/0/18
port access vlan 10
#
interface GigabitEthernet1/0/19
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/20
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/21
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/22
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/23
port link-type trunk
port trunk permit vlan all
shutdown
#
interface GigabitEthernet1/0/24
port link-type trunk
port trunk permit vlan all
shutdown
#
interface GigabitEthernet1/0/25
shutdown
#
interface GigabitEthernet1/0/26
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/27
shutdown
#
interface GigabitEthernet1/0/28
port link-type trunk
port trunk permit vlan all
#
cluster
ip-pool 192.168.171.1 255.255.255.0
build WiNet
cluster-local-user admin password cipher $c$3$pR8UU0qcqLJSWfzygPaEcCTMC13mNzlEtb6d8fA=
management-vlan synchronization enable
#
ip route-static 0.0.0.0 0.0.0.0 192.168.10.254
ip route-static 192.168.0.0 255.255.255.0 192.168.4.0
ip route-static 192.168.1.0 255.255.255.0 192.168.2.0
ip route-static 192.168.1.0 255.255.255.0 192.168.3.0
ip route-static 192.168.2.0 255.255.255.0 192.168.10.0
ip route-static 192.168.2.0 255.255.255.0 192.168.4.0
ip route-static 192.168.2.0 255.255.255.0 192.168.3.0
ip route-static 192.168.3.0 255.255.255.0 192.168.0.0
ip route-static 192.168.3.0 255.255.255.0 192.168.4.0
ip route-static 192.168.4.0 255.255.255.0 192.168.1.0
ip route-static 192.168.4.0 255.255.255.0 192.168.0.0
ip route-static 192.168.100.0 255.255.255.0 192.168.3.0
#
snmp-agent
snmp-agent local-engineid 800063A203741F4A326F48
snmp-agent sys-info version all
#
dhcp enable
#
ntp-service unicast-server 192.168.1.201
#
arp static 192.168.4.240 c038-9657-6245 40 GigabitEthernet1/0/4
arp static 192.168.4.241 7077-81a5-9061 40 GigabitEthernet1/0/4
arp static 192.168.4.248 1cde-a706-bd00 40 GigabitEthernet1/0/4
arp static 192.168.4.249 c42f-9083-0ddc 40 GigabitEthernet1/0/6
arp static 192.168.4.250 c038-9657-62e1 40 GigabitEthernet1/0/4
arp static 192.168.4.251 c42f-90c1-e956 40 GigabitEthernet1/0/20
arp static 192.168.4.252 c42f-90b0-8038 40 GigabitEthernet1/0/20
arp static 192.168.4.253 c42f-90b0-80a0 40 GigabitEthernet1/0/20
arp static 192.168.4.254 c42f-90b0-8043 40 GigabitEthernet1/0/6
#
load xml-configuration
#
user-interface aux 0
authentication-mode scheme
user-interface vty 0 15
authentication-mode scheme
#
return
配置贴上,问题出现在vlan40的dhcp,vlan40是无线网使用的网段192.168.4.0/24,vlan20 30可能用户比较少,暂时没发现这个问题
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
不客气,帮助别人,是一种快乐,我享受这种快乐,