A few questions to clarify what it is you're attempting to do:
I'm assuming you're using dhcpd or something similar to run a DHCP server (since any reasonable distro comes with a DHCP client, plus the rest of you post doesn't point in that direction). Is that correct?
You say you "get a dhcp failed error", but where are you seeing that error? A log file somewhere? A pop-up? And does it give you any additional information?
Ultimately, I think this one is going to come down to either just finding a good guide to setup your server or some research (network sniffing with Wireshark, checking logs for errors, reading up on the packages you're using for the DHCP server, especially the part pertaining to the config file)