AW: [En-Nut-Discussion] DHCP fix for requesting Gateway and DNS

Harald Kipp harald.kipp at egnite.de
Wed Jan 14 13:58:27 CET 2004


Thanks, Oliver.

May be after commiting, someone with a DHCP 3.0 server
can verify this patch? We do not have one installed.

Harald

At 10:36 14.01.2004 +0100, you wrote:
>Hi Damian,
>
>I will take care of updating the CVS this evening...
>
>Cheers,
>Oliver.
>
> > -----Ursprüngliche Nachricht-----
> > Von: Damian Slee [mailto:damian at commtech.com.au]
> > Gesendet: Mittwoch, 14. Januar 2004 05:22
> > An: Ethernut User Chat (English)
> > Betreff: [En-Nut-Discussion] DHCP fix for requesting Gateway and DNS
> >
> >
> > Hi,
> > this fixes a problem I was having with ethernut and Win2k
> > DHCP Server, not getting the gateway setting.  Hopefully this
> > change can be added to CVS.
> >
> > I used Ethereal to look at what a Win2k client sent.  In the
> > DHCP_DISCOVER and DHCP_REQUEST packets a Win2k client was
> > sending a parameter request option.  In the parameter request
> > option, were the parameters Gateway(3), DNS(6) and net
> > mask(1), as well as many others like NetBIOS which we won't
> > worry about.
> >
> > I added this parameter request option to ethernut's Discover
> > and Request functions.
> >
> > So I have added to the header file dhcp.h
> > #define DHCPOPT_PARAMREQUEST 55
> >
> > Add/Change to dhcpc.c, see attached.  About 12lines of code added.
> >
> >
>_______________________________________________
>En-Nut-Discussion mailing list
>En-Nut-Discussion at egnite.de
>http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion




More information about the En-Nut-Discussion mailing list