DHCP (BOOTP) server on QNX 6.1.0A

bridged with qdn.public.qnxrtp.porting
Post Reply
Paul D. Smith

DHCP (BOOTP) server on QNX 6.1.0A

Post by Paul D. Smith » Tue May 07, 2002 1:58 am

Hi all;

I downloaded the ISC DHCP server and build it for QNX 6.1.0A. I create
an entry for a host to allow BOOTP.

Well, the BOOTP request comes through, and I match it to the host entry
in the dhcpd.conf file, and dhcpd construct the response (I'm walking
through the code with the debugger).

Then, dhcpd tries to broadcast the BOOTP response message (to
255.255.255.255), just as the RFC and all the books say it will (since
the client doesn't have an IP address yet we can't send to it directly).

When dhcpd invokes the sendto() with that destination, I get back a
"Network unreachable" error from QNX and that's the end of my BOOTP
attempt. I'm using the full stack.

Looking through the DHCP README file, etc. there is a lot of text
devoted to this problem. They discuss bugs in older Linux IP stacks,
Solaris IP stacks, etc. and describe how to work around them, and that
the newer versions work properly.

So:

1) Is this a known bug in the QNX IP stack? Or do you think I have
something misconfigured?

2) If it's a bug, will it be fixed in QNX 6.2?

3) Are there any workarounds or fixes? They must _NOT_ involve
changing the BOOTP client operation--that is a legacy system.

The README documents many workarounds for Solaris, etc. but
strangely enough :), there is no mention of QNX.

Help! Ideas?

--
-------------------------------------------------------------------------------
Paul D. Smith <pausmith@nortelnetworks.com> HASMAT--HA Software Mthds & Tools
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
These are my opinions---Nortel Networks takes no responsibility for them.

Manu

Re: DHCP (BOOTP) server on QNX 6.1.0A

Post by Manu » Wed May 08, 2002 8:43 am

I have the same problem with the ISC DHCP...
I've tried the QNX bootp server (in inetd) : it send the data but it doesn't
work!
With the debian_bootp porting for QNX, i've the same error than ISC DHCP...
If you resolve the problem, can you tell me how please ?
Thanks!


"Paul D. Smith" <pausmith@nortelnetworks.com> a écrit dans le message news:
p5bsbsafcb.fsf@lemming.engeast.baynetworks.com...
Hi all;

I downloaded the ISC DHCP server and build it for QNX 6.1.0A. I create
an entry for a host to allow BOOTP.

Well, the BOOTP request comes through, and I match it to the host entry
in the dhcpd.conf file, and dhcpd construct the response (I'm walking
through the code with the debugger).

Then, dhcpd tries to broadcast the BOOTP response message (to
255.255.255.255), just as the RFC and all the books say it will (since
the client doesn't have an IP address yet we can't send to it directly).

When dhcpd invokes the sendto() with that destination, I get back a
"Network unreachable" error from QNX and that's the end of my BOOTP
attempt. I'm using the full stack.

Looking through the DHCP README file, etc. there is a lot of text
devoted to this problem. They discuss bugs in older Linux IP stacks,
Solaris IP stacks, etc. and describe how to work around them, and that
the newer versions work properly.

So:

1) Is this a known bug in the QNX IP stack? Or do you think I have
something misconfigured?

2) If it's a bug, will it be fixed in QNX 6.2?

3) Are there any workarounds or fixes? They must _NOT_ involve
changing the BOOTP client operation--that is a legacy system.

The README documents many workarounds for Solaris, etc. but
strangely enough :), there is no mention of QNX.

Help! Ideas?

--
--------------------------------------------------------------------------
-----
Paul D. Smith <pausmith@nortelnetworks.com> HASMAT--HA Software Mthds &
Tools
"Please remain calm...I may be mad, but I am a professional." --Mad
Scientist
--------------------------------------------------------------------------
-----
These are my opinions---Nortel Networks takes no responsibility for
them.

Sean Boudreau

Re: DHCP (BOOTP) server on QNX 6.1.0A

Post by Sean Boudreau » Wed May 08, 2002 1:12 pm

Take a look at:
http://qdn.qnx.com/support/bok/solution.qnx?10461

Regards,

-seanb

Paul D. Smith <pausmith@nortelnetworks.com> wrote:
: Hi all;

: I downloaded the ISC DHCP server and build it for QNX 6.1.0A. I create
: an entry for a host to allow BOOTP.

<snip>

Post Reply

Return to “qdn.public.qnxrtp.porting”