设备:S6520X-30QC-EI
版本:Version 7.1.070, Release 1110P02 (s6520x-cmw710-boot-r1110p02.bin)
问题:DHCP配置完后不生效
配置:如下
描述:在T 1/0/21本机端口上)获取不到地址,当然trunk连下级交换机也一样,但手动敲IP,二层三层都是通的,排除单机(该端口桥接AP,各手机试也得不到地址)
谢谢大家帮助~~
[H3C]dis cu
#
version 7.1.070, Release 1110P02
#
sysname H3C
#
telnet server enable
#
irf mac-address persistent timer
irf auto-update enable
undo irf link-delay
irf member 1 priority 1
#
dhcp enable
#
lldp global enable
#
fan prefer-direction slot 1 power-to-port
password-recovery enable
#
vlan 1
#
vlan 10
description -=North_1F-2F=-
#
vlan 20
description -=North_3F-4F=-
.
.
.
#
stp mode rstp
stp global enable
#
.
.
.
#
dhcp server ip-pool -=North_1F-2F=-
gateway-list 192.168.10.254
address range 192.168.10.1 192.168.10.230
dns-list 223.5.5.5 192.168.100.11
#
dhcp server ip-pool -=North_3F-4F=-
gateway-list 192.168.20.254
address range 192.168.20.1 192.168.20.230
dns-list 223.5.5.5 192.168.100.11
#
.
.
.
interface Vlan-interface10
ip address 192.168.10.254 255.255.255.0
dhcp server apply ip-pool -=north_1f-2f=-(按理说这句可以不敲,反正敲不敲都获取不到)
dhcp select server(敲了,dis cu 不显示)
#
interface Vlan-interface20
ip address 192.168.20.254 255.255.255.0
dhcp server apply ip-pool -=north_3f-4f=-(按理说这句可以不敲,反正敲不敲都获取不到)
dhcp select server(敲了,dis cu 不显示)
#
.
.
.
interface Ten-GigabitEthernet1/0/21
port link-mode bridge
port access vlan 20
stp edged-port
(0)
最佳答案
看配置STP,查看一下接口的STP状态,如果还是不行,开个Debug看一下
(0)
谢谢回答,接计算机的端口是edge,不过就算undo掉也是获取不到,ter debug之前开了,啥也没出来。。。 谢谢
不好意思,忘记敲deb dhcp ser all了 敲了,有输出 *Jan 1 21:13:51:810 2013 H3C DHCPS/7/EVENT: Receive a DHCPDISCOVER message from Vlan-interface20. *Jan 1 21:13:51:810 2013 H3C DHCPS/7/EVENT: No matching network for the client. *Jan 1 21:14:23:097 2013 H3C DHCPS/7/PACKET: From 0.0.0.0 port 68, interface Vlan-interface20 Message type: REQUEST (1) Hardware type: 1, Hardware address length: 6 Hops: 0, Transaction ID: 2256444185 Seconds: 0, Broadcast flag: 0 Client IP address: 0.0.0.0 Your IP address: 0.0.0.0 Server IP address: 0.0.0.0 Relay agent IP address: 0.0.0.0 Client hardware address: 3c2c-30ac-9af4 Server host name: not configured Boot file name: not configured DHCP message type: DHCPDISCOVER (1) *Jan 1 21:14:23:097 2013 H3C DHCPS/7/EVENT: Receive a DHCPDISCOVER message from Vlan-interface20. *Jan 1 21:14:23:097 2013 H3C DHCPS/7/EVENT: No matching network for the client. *Jan 1 21:14:27:345 2013 H3C DHCPS/7/PACKET: From 0.0.0.0 port 68, interface Vlan-interface20 Message type: REQUEST (1) Hardware type: 1, Hardware address length: 6 Hops: 0, Transaction ID: 2256444185 Seconds: 1024, Broadcast flag: 0 Client IP address: 0.0.0.0 Your IP address: 0.0.0.0 Server IP address: 0.0.0.0 Relay agent IP address: 0.0.0.0 Client hardware address: 3c2c-30ac-9af4 Server host name: not configured Boot file name: not configured DHCP message type: DHCPDISCOVER (1) 感谢帮助,添麻烦了
*Jan 1 21:13:51:810 2013 H3C DHCPS/7/EVENT: Receive a DHCPDISCOVER message from Vlan-interface20. *Jan 1 21:13:51:810 2013 H3C DHCPS/7/EVENT: No matching network for the client. *Jan 1 21:14:23:097 2013 H3C DHCPS/7/PACKET: From 0.0.0.0 port 68, interface Vlan-interface20 Message type: REQUEST (1) Hardware type: 1, Hardware address length: 6 Hops: 0, Transaction ID: 2256444185 Seconds: 0, Broadcast flag: 0 Client IP address: 0.0.0.0 Your IP address: 0.0.0.0 Server IP address: 0.0.0.0 Relay agent IP address: 0.0.0.0 Client hardware address: 3c2c-30ac-9af4 Server host name: not configured Boot file name: not configured DHCP message type: DHCPDISCOVER (1) *Jan 1 21:14:23:097 2013 H3C DHCPS/7/EVENT: Receive a DHCPDISCOVER message from Vlan-interface20. *Jan 1 21:14:23:097 2013 H3C DHCPS/7/EVENT: No matching network for the client. *Jan 1 21:14:27:345 2013 H3C DHCPS/7/PACKET: From 0.0.0.0 port 68, interface Vlan-interface20 Message type: REQUEST (1) Hardware type: 1, Hardware address length: 6 Hops: 0, Transaction ID: 2256444185 Seconds: 1024, Broadcast flag: 0 Client IP address: 0.0.0.0 Your IP address: 0.0.0.0 Server IP address: 0.0.0.0 Relay agent IP address: 0.0.0.0 Client hardware address: 3c2c-30ac-9af4 Server host name: not configured Boot file name: not configured DHCP message type: DHCPDISCOVER (1)
我看了看,应该是这句: No matching network for the client. 。。。 但。。。配的也没错啊。。我觉得
地址池这句,我印象中可以不敲,我敲了,然后我也看到大小写不同,但我试了,地址池命名的时候有大写,但在vlan int接口上引用,系统自动转小写(至少dis cu上就这样,改都没用),我先换个简单的试试,谢谢帮助
ip pool名改简单,in vlan 20下undo 掉引用。。。还是报一样的错。。。 *Jan 1 21:37:45:335 2013 H3C DHCPS/7/EVENT: Receive a DHCPDISCOVER message from Vlan-interface20. *Jan 1 21:37:45:335 2013 H3C DHCPS/7/EVENT: No matching network for the client.
没仔细看配置,你在地址池下加上这条命令:network 192.168.10.254 mask 255.255.255.0 加上这就解决了,望采纳
摔。。。忘记了。。。。。不好意思不好意思耽误你时间,感谢感谢
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
摔。。。忘记了。。。。。不好意思不好意思耽误你时间,感谢感谢