This post is more than 5 years old
6 Posts
0
9826
DHCP on S3124F
Hi all,
I have a S3124F switch. I create 3 vlans and 3 DHCP pools. Those are:
- Interface Vlan 10 - IP Address 10.0.10.1, DHCP pools: 10.0.10.0/24
- Interface Vlan 12 - IP Address 10.0.12.1, DHCP pools: 10.0.12.0/23
- Interface Vlan 14 - IP Address 10.0.14.1, DHCP pools: 10.0.14.0/23
I assign port gi1/23 to vlan 12 via command
interface vlan 12
untagged giga 1/23
I plugged a computer in port 1/23, if i set the static IP 10.0.12.2/23 it can ping 10.0.12.1.
But if i set it obtain IP from DHCP, it cannot get the IP Address.
I show dhcp statistic on the switch and see no DHCP packets.
Please help me to fix it. Thank you all.
kakalonso
6 Posts
0
February 9th, 2018 19:00
I made it work by command "no disable" in mode ip dhcp server. It's disable by default.
murmanov
1 Rookie
1 Rookie
•
62 Posts
1
January 31st, 2018 05:00
Post DHCP config from your switch
Anonymous
5 Practitioner
5 Practitioner
•
274.2K Posts
0
January 31st, 2018 11:00
The config guide goes through the commands to implement DHCP on the switch. May be worth looking and comparing to your config.
Page 242: http://dell.to/2jOfAOQ
Feel free to post the running config up, we can help look through it.
Checking the logs may be another area to check. # show logging
kakalonso
6 Posts
0
February 8th, 2018 03:00
Sorry for the late reply. Here is my configuration. I just changed the subnet. The problem is still there. Please help me take a look on it. Thank you.
P/s: Port 23 is an access port, untagged vlan 11. And pc plugged in this port cannot get ip address from dhcp pool.
Anonymous
5 Practitioner
5 Practitioner
•
274.2K Posts
0
February 8th, 2018 05:00
Everything in the configuration looks okay to me. Were there any DHCP messages recorded in the logs? Do the other pools function for the other VLANs?
There is a DHCP debug command that you can use to try and gather further information.
debug ip dhcp server
Another step you can take, would be to do a packet capture on interface 23. This would give you better insight into what DHCP packets are being sent/received by the client.
Anonymous
5 Practitioner
5 Practitioner
•
274.2K Posts
0
February 8th, 2018 07:00
There is no inherent ACL on the switch. Do you have ACLs configured on the switch?
kakalonso
6 Posts
0
February 8th, 2018 07:00
Showing dhcp statistic, i don't see any dhcp packet. So i'm wondering if there is any access list or some thing like that prevent dhcp packet.
kakalonso
6 Posts
0
February 9th, 2018 05:00
No, i don't. Does the switch block broadcast packet by default? Tomorrow when i'll send you the service tag. Thank for your help.
Anonymous
5 Practitioner
5 Practitioner
•
274.2K Posts
0
February 9th, 2018 06:00
Thanks so much for the reply to my private message. Really glad to hear that you were able to tweak the DNS server config and get this working.
Cheers!
kakalonso
6 Posts
0
February 9th, 2018 19:00
Do you reply wrong thread? I hasn't replied your message yet.
My switch still not working. Here is the show ip dhcp server statistic result:
Anonymous
5 Practitioner
5 Practitioner
•
274.2K Posts
0
February 12th, 2018 05:00
Sorry about that, I did reply to the wrong thread. Really glad to hear you were able to get DHCP working.
Cheers