PXE boot linux. PXE-E51: No DHCP or proxyDHCP offers were received

Posted by athspk on Server Fault See other posts from Server Fault or by athspk
Published on 2012-12-04T11:06:14Z Indexed on 2012/12/04 11:12 UTC
Read the original article Hit count: 4392

Filed under:
|
|

I am trying to have an ubuntu box (192.168.10.9) acting as a PXE server, but i have trouble getting DHCP to work.
The PXE server is connected to a SOHO router (192.168.10.1) acting as a switch.
I have disabled the DHCP server on the router.

$ dhcpd --version
isc-dhcpd-4.2.4

The contents of /etc/dhcp/dhcpd.conf

ddns-update-style none;

option domain-name-servers 192.168.10.1;

default-lease-time 3600;
max-lease-time 7200;

authoritative;

log-facility local7;

allow booting;
allow bootp;

subnet 192.168.10.0 netmask 255.255.255.0 {
   range dynamic-bootp 192.168.10.101 192.168.10.200;
   option routers 192.168.10.1;
   option broadcast-address 192.168.10.255;
   next-server 192.168.10.9;

   filename "/tftpboot/pxelinux.0";
}

The contents of /etc/default/isc-dhcp-server

INTERFACES="eth0"

When the client boots, it tries to get an IP address from the server but fails with the following Error message:

PXE-E51: No DHCP or proxyDHCP offers were received.

On Server side, i was tailing /var/log/syslog while the client tries to boot:

Dec  4 12:57:10 athspk-Dell dhcpd: DHCPDISCOVER from 00:1f:d0:8e:6b:db via eth0
Dec  4 12:57:11 athspk-Dell dhcpd: DHCPOFFER on 192.168.10.101 to 00:1f:d0:8e:6b:db via eth0
Dec  4 12:57:12 athspk-Dell dhcpd: DHCPDISCOVER from 00:1f:d0:8e:6b:db via eth0
Dec  4 12:57:12 athspk-Dell dhcpd: DHCPOFFER on 192.168.10.101 to 00:1f:d0:8e:6b:db via eth0
Dec  4 12:57:17 athspk-Dell dhcpd: DHCPDISCOVER from 00:1f:d0:8e:6b:db via eth0
Dec  4 12:57:17 athspk-Dell dhcpd: DHCPOFFER on 192.168.10.101 to 00:1f:d0:8e:6b:db via eth0
Dec  4 12:57:25 athspk-Dell dhcpd: DHCPDISCOVER from 00:1f:d0:8e:6b:db via eth0
Dec  4 12:57:25 athspk-Dell dhcpd: DHCPOFFER on 192.168.10.101 to 00:1f:d0:8e:6b:db via eth0

Please advise. Thanks in advance

© Server Fault or respective owner

Related posts about dhcp

Related posts about pxeboot