Help needed: DHCPD does not answer BOOTP requests

Help needed: DHCPD does not answer BOOTP requests

Post by Guenter Neuman » Fri, 07 Feb 2003 21:25:53



Hi there,

I'm trying to configure a simple DHCP setup (1 PC running the demon,
another one as embedded client).
The DHCPD shall answer to BOOTP requests of a client.
Unfortunately it does not work. I see the clients boot requests (using
ethereal) but I
do not see any answer of the DHCP demon.

The DHCPD config file is this:
------------------------------------------------------------------
#option broadcast-address 192.168.100.255;
#option subnet-mask 255.255.255.0;

#ddns-update-style ad-hoc;
allow bootp;

subnet 192.168.100.0 netmask 255.255.255.0 {
#    range 192.168.100.10 192.168.100.250;
#    option routers 192.168.100.1;

Quote:}

host emb0 {
    hardware ethernet 00:80:29:e5:b7:1f;
    fixed-address 192.168.1.50;
#    filename "/tftpboot/X86PC/UNDI/BStrap/bstrap.0";
#        option dhcp-client-identifier 00:80:29:e5:b7:1f;
#        option root-path "/emb/root-fs";
Quote:}

--------------------------------------------------------------------

With version 2.0.xx of the DHCP demon we saw the following information
in /var/log/message:
#Mar  5 09:36:52 localhost dhcpd: BOOTREQUEST from 00:80:29:e5:b7:1f via
eth0
#Mar  5 09:36:52 localhost dhcpd: No applicable record for BOOTP host
00:80:29:e5:b7:1f via eth0

With the lates verison (3.0.pl1) from www.isc.org we got the same
behavior but no
error log in the message file.

We studdied the man pages and other sources of information but now run
out of ideas.

Please help,  any suggestions are wlcome.

    Guenter

 
 
 

Help needed: DHCPD does not answer BOOTP requests

Post by XXma » Fri, 07 Feb 2003 23:51:45


hi!

if you wat to boot using BOOTP you'll need a TFTP-server where the files are
located.
i'll post my configuration and you'll see...

###################dhcpd.conf
max-lease-time 86400;
default-lease-time 86400;
always-broadcast on;
boot-unknown-clients on;
server-name "test";
ddns-update-style none;

subnet 10.0.0.0 netmask 255.0.0.0 {
    pool {
 filename "multiboot";
 range 10.10.1.1 10.10.1.150;
 range dynamic-bootp 10.10.1.151 10.10.1.210;
 allow unknown clients;

Quote:}
}

##########################

(of course inetd should be running to provide the TFTP service...)
##########################extract of my inetd.conf

tftp dgram udp wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot
bootps dgram udp wait root /usr/sbin/bootpd bootpd -c /tftpboot
##########################


755)
my configuration works perfect. i created my boot-image with Symantec Ghost
7.5
if you have any questions....

<(-_-)> XXmas

 
 
 

Help needed: DHCPD does not answer BOOTP requests

Post by 7010.. » Sat, 08 Feb 2003 00:18:52


|I'm trying to configure a simple DHCP setup (1 PC running the demon,
|another one as embedded client).
|The DHCPD shall answer to BOOTP requests of a client.
|Unfortunately it does not work. I see the clients boot requests (using
|ethereal) but I
|do not see any answer of the DHCP demon.
|
|The DHCPD config file is this:
|------------------------------------------------------------------
|#option broadcast-address 192.168.100.255;
|#option subnet-mask 255.255.255.0;
|
|#ddns-update-style ad-hoc;
|allow bootp;
|
|subnet 192.168.100.0 netmask 255.255.255.0 {
|#    range 192.168.100.10 192.168.100.250;
|#    option routers 192.168.100.1;
|}
|
|host emb0 {
|    hardware ethernet 00:80:29:e5:b7:1f;
|    fixed-address 192.168.1.50;
|#    filename "/tftpboot/X86PC/UNDI/BStrap/bstrap.0";
|#        option dhcp-client-identifier 00:80:29:e5:b7:1f;
|#        option root-path "/emb/root-fs";
|}

You need to provide a MAC address as the key. You tried with
dhcp-client-identifier, but the correct way is:

        hardware ethernet 00:80:29:e5:b7:1f;

 
 
 

Help needed: DHCPD does not answer BOOTP requests

Post by Tauno Voipi » Sat, 08 Feb 2003 00:47:29



Quote:> Hi there,

> I'm trying to configure a simple DHCP setup (1 PC running the demon,
> another one as embedded client).
> The DHCPD shall answer to BOOTP requests of a client.
> Unfortunately it does not work. I see the clients boot requests (using
> ethereal) but I
> do not see any answer of the DHCP demon.

> The DHCPD config file is this:
> ------------------------------------------------------------------
> #option broadcast-address 192.168.100.255;
> #option subnet-mask 255.255.255.0;

> #ddns-update-style ad-hoc;
> allow bootp;

> subnet 192.168.100.0 netmask 255.255.255.0 {
> #    range 192.168.100.10 192.168.100.250;
> #    option routers 192.168.100.1;
> }

> host emb0 {
>     hardware ethernet 00:80:29:e5:b7:1f;
>     fixed-address 192.168.1.50;
> #    filename "/tftpboot/X86PC/UNDI/BStrap/bstrap.0";
> #        option dhcp-client-identifier 00:80:29:e5:b7:1f;
> #        option root-path "/emb/root-fs";
> }
> --------------------------------------------------------------------

I don't know if it's the source of your troubles: You are offering an
address (192.168.1.50) that is not in your subnet (192.168.100.0/24).

Is the MAC address sent in the request packets exactly the same you're
having in the configuration file?

Tauno Voipio

 
 
 

1. dhcpd ignores bootp requests

Hi,
I have a dhcp server setup on my linux box, in order to provide IP
addresses to my Windows-based clients. I am trying to get a diskless
workstation booting, and have managed to get the kernel loaded. I have
also told it to load the root filesystem over nfs, and it no longer
gives me the 00:00 error I mentioned in an earlier post. However, the
kernel's bootp requests are denied by dhcpd, and hence it cannot load
the root fs. The log file is as follows:

Feb 12 15:36:32 <server hostname> dhcpd-2.2.x: BOOTREQUEST from
00:60:08:5f:06:93 via eth0
Feb 12 15:36:32 <server hostname> dhcpd-2.2.x: No applicable record
for BOOTP host 00:60:08:5f:06:93 via eth0

Here is my dhcpd.conf file:

# /etc/dhcpd.conf
# Ed's DHCPd config file

default-lease-time 2592000;
max-lease-time 2592000;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.254;
option domain-name-servers 192.168.1.253, xxx.xxx.xxx.xxx,
xxx.xxx.xxx.xxx;
option domain-name "localdomain";
option netbios-name-servers 192.168.1.253;
# option dhcp-class-identifier "PXECLIENT";
option vendor-encapsulated-options ff;
# ddns-update-style ad-hoc;

subnet 192.168.1.0 netmask 255.255.255.0 {
  range 192.168.1.50 192.168.1.199;
  host testmachine {
    hardware ethernet 00:60:08:5f:06:93;
    filename "/tftpboot/kernel";
  }  

I don't want to install bootpd, as this would mean conflicts between
dhcpd and bootpd, and I wouldn't be able to use dhcp with my windows
systems. Any help in getting dhcpd to respond to the bootp request
would be appreciated.

Cheers,
Ed

2. using floppy and CD on LTSP-Workstations

3. help: booting a computer with bootp/dhcpd

4. Unable to browse server and share from Windows 2000 PC

5. Need help getting connected, bootp help needed

6. pppd problem,too.

7. Need answer for bootp problem urgent !

8. Floppy-based install of R5 possible?

9. Apache running, but not answering requests...

10. Need help: DIP server won't route; PING's not answered.

11. BootP to DHCP help request..

12. DHCPD as a replacement to BOOTP

13. bootp vs DHCPD