LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   DHCPD will not start -- No DHCPOFFERS received (https://www.linuxquestions.org/questions/ubuntu-63/dhcpd-will-not-start-no-dhcpoffers-received-509897/)

stekole 12-12-2006 10:05 PM

DHCPD will not start -- No DHCPOFFERS received
 
Hi all:

First post here wanted to say hello
I am currently running the newest version of Ubuntu and i am tryin to get my DHCP server to start. I am pretty sure i have got all of the files properly configures as i have spent the last day or so looking up my error. I get this when i do a tail of my system log:
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 9
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
If i restart my network cards by doin a /etc/init.d/networking restart i get the following aswell.

Any ideas?

Thanks:)

blackhole54 12-13-2006 01:56 AM

Correct me if I am wrong, but aren't those messages from a DHCP client wanting an address, rather than from the DHPC server?

If you are running a DHCP server on this machine, I don't think it can serve itself an address.

Am I missing something?

stekole 12-13-2006 08:27 AM

yes that sounds like that but i get a error when starting that aswell. that may be why i am unable to start the server and the client? They may connect(im not sure you might) That would stop one not working while the other is:S? anyways when i do a tail to the sysfile after i did a start to the dhcpclient i get : "localhost dhclient: Bind socket to interface: No such device"

so it seems that my device isnt loading properly i think...
I have eth0 as my gateway card
and i have eth1 as my network card for my internal network

i may just need to reinstall drivers...


any thoughts?

P.S -- this is my frist time working with DHCP on a server so im learning;)

blackhole54 12-13-2006 10:10 PM

I think what you are trying to do is run a DHCP server for the other machines connected to the same subnet as eth1. Is this correct? If so, I think you are going to have manually (i.e. w/o DHCP) assign an address to eth1, and then you can server the other computers on that subnet addresses from your DHCP server.

If you are not sure your eth1 interface is coming up properly, probably the most straightforward thing to do is to assign that interace an IP address manually, and do the same to one of the other computers attached to the same subnet, and see if they can ping each other using numerical addresses.

The ifconfig command w/o parameters will list the interfaces that are currently up.

If you are still having problems, would post the output of the ifconfig and the lspci commands?


All times are GMT -5. The time now is 02:46 PM.