lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [lwip-users] DHCP issues


From: Tom C. Barker
Subject: RE: [lwip-users] DHCP issues
Date: Fri, 21 Nov 2003 08:15:15 -0800

Thanks Leon,

I mis-stated. My sniffer can see the 4-part DHCP transaction
from other devices I have. But that's not the really the problem. 
The problem is that the packet may be going out malformed and 
thus is never picked up by ethereal and the DHCP server. 
More importantly, I never get a DHCPACK. This is the issue. 
Any ideas? 

Additionally, for your 5272 driver, is it necessary to do 
transmit cleanup as another task? Why is pbuf_free() an issue
inside a receive->response/tx/pbuf_free()?

Thanks,
Tom



-----Original Message-----
From: Leon Woestenberg [mailto:address@hidden
Sent: Friday, November 21, 2003 7:42 AM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] DHCP issues


Hello Tom,

> I have confirmed DHCP performing a discover and getting 
> an offer and then formatting and transmitting a request
> but the sniffer doesn't see the request. Has anyone run into
> this issue? 0.6.4, Coldfire 5282, gnu/gcc/insight
>
As already hinted; you are probably not seeing all the traffic
with the sniffer, but only the broadcast traffic.

Make sure that the link the sniffer also sees the traffic
of unicast traffic. This can be achieved by using a
Ethernet hub instead of a Ethernet switch.

Hubs forward all traffic to all ports.
Switches forward unicast traffic to the corresponding MACs
discovered on the ports, and broadcast to all ports.

If possible, run the network sniffer on the DHCP server.

To develop lwip/dhcp.c, I used a Linux DHCP server
running Ethereal (.org).

Regards,

Leon.


_______________________________________________
lwip-users mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/lwip-users




reply via email to

[Prev in Thread] Current Thread [Next in Thread]