我最近购买了一个 T1600G-18TS TP-Link 智能交换机,但无法让 DHCP 服务器在其上工作。
数据包统计
T1600G-18TS#show ip dhcp server statistics
Message Received
BOOTREQUEST 0
DHCPDISCOVER 124
DHCPREQUEST 0
DHCPDECLINE 0
DHCPRELEASE 0
DHCPINFORM 0
Message Sent
BOOTREPLY 0
DHCPOFFER 0
DHCPACK 0
DHCPNAK 0
我尝试过
- 使用
/24
网络掩码代替/26
- 使用不同的网络类
- 保存配置并重启
- 禁用然后重新启用 dhcp 服务
- 恢复出厂设置并重新配置
我还发现当前固件版本不在TP-Link 支持页面,我的交换机有版本2.0.5但页面上的最新版本是2.0.3。
设备信息
固件版本:
2.0.5 版本 20200304 Rel.33762
硬件版本:
T1600G-18TS 2.0
配置
!T1600G-18TS
#
vlan 11
name "Private"
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
system-time ntp UTC+01:00 133.100.9.2 139.78.100.163 12
no system-time dst
#
#
#
user name admin privilege admin secret 5 <password-hash>
no service reset-disable
#
#
#
#
#
service dhcp server
ip dhcp server pool "Private"
network 192.168.0.64 255.255.255.192
default-gateway 192.168.0.126
dns-server 192.168.0.1
#
#
#
#
#
#
#
#
#
#
#
#
#
#
interface vlan 11
ip address 192.168.0.126 255.255.255.192
description "Private"
no ipv6 enable
#
interface gigabitEthernet 1/0/1
switchport general allowed vlan 11 untagged
#
interface gigabitEthernet 1/0/2
switchport general allowed vlan 11 untagged
#
interface gigabitEthernet 1/0/3
switchport general allowed vlan 11 untagged
#
interface gigabitEthernet 1/0/4
#
interface gigabitEthernet 1/0/5
switchport general allowed vlan 11 untagged
#
interface gigabitEthernet 1/0/6
switchport general allowed vlan 11 tagged
#
interface gigabitEthernet 1/0/7
#
interface gigabitEthernet 1/0/8
#
interface gigabitEthernet 1/0/9
#
interface gigabitEthernet 1/0/10
#
interface gigabitEthernet 1/0/11
#
interface gigabitEthernet 1/0/12
#
interface gigabitEthernet 1/0/13
#
interface gigabitEthernet 1/0/14
no switchport
ip address-alloc dhcp
no ipv6 enable
no ip igmp snooping
no ipv6 mld snooping
#
interface gigabitEthernet 1/0/15
#
interface gigabitEthernet 1/0/16
#
interface gigabitEthernet 1/0/17
#
interface gigabitEthernet 1/0/18
#
end
(该gigabitEthernet 1/0/14
接口用于配置。)