This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: DHCP w/ Win2K server?
- From: "Dan Conti" <danc at iobjects dot com>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 28 Nov 2001 14:40:41 -0800
- Subject: RE: [ECOS] DHCP w/ Win2K server?
Sorry, you will need to add a similar line for the RENEWING and
REBINDING cases in dhcp.
> -----Original Message-----
> From: Dan Conti
> Sent: Wednesday, November 28, 2001 2:39 PM
> To: ecos-discuss@sources.redhat.com
> Subject: RE: [ECOS] DHCP w/ Win2K server?
>
>
> I think we saw this at one point. IIRC (it's been a while), the eCos
> DHCP client assumes a gateway will be returned, and with linux dhcp
> servers one is returned by default, but on win2k it isn't. I
> believe it
> says in the spec that you actually are supposed to request a gateway
> server ip if you want one, making this an eCos bug?
>
> In net/tcpip/current/src/lib/dhcp_prot.c, around line 596 (in case
> DHCPSTATE_REQUESTING), try adding the following line:
>
> set_fixed_tag( xmit, TAG_DHCP_PARM_REQ_LIST, TAG_GATEWAY, 1
> );
>
> to add the gateway request to the DHCP packet. I dont know if
> there is a
> way to adjust the win2k dhcp server configuration to
> automagically give
> this out though.
>
> > -----Original Message-----
> > From: Grant Edwards [mailto:grante@visi.com]
> > Sent: Wednesday, November 28, 2001 2:35 PM
> > To: ecos-discuss@sources.redhat.com
> > Subject: [ECOS] DHCP w/ Win2K server?
> >
> >
> >
> > From the "MS Windows continues to deteriorate" department...
> >
> > I've had a customer complain that eCos DHCP client doesn't get
> > a gateway address when used with a Win2K server (WinNT is OK).
> > I've verified it by capturing network traffic between eCos and
> > our office's Win2K server: no gateway is sent by the DHCP
> > server. (Though BOFH claims it is.)
> >
> > Has anybody else seen this problem?
> >
> > Is there a setting in the Win2K DHCP server that needs to be
> > chanaged? Both the customer and our BOFH claim that their
> > respective DHCP servers are configured to send gateway
> > addresses.
> >
> > Needless to say, it works fine with Linux... ;)
> >
> > --
> > Grant Edwards
> > grante@visi.com
> >
>