From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Dan Conti" To: Subject: RE: [ECOS] DHCP w/ Win2K server? Date: Wed, 28 Nov 2001 14:39:00 -0000 Message-ID: X-SW-Source: 2001-11/msg00373.html Message-ID: <20011128143900.jJXm_pckzNreReA8Z3pVUcOmVs71F_a5C2fB_p11xbg@z> 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 >