[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-devel] why the board sends Gratuitous ARP always?
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-devel] why the board sends Gratuitous ARP always? |
Date: |
Mon, 3 Feb 2014 10:31:02 +0100 |
Mason wrote:
> Perhaps try setting a break point in etharp_gratuitous
> (an alias for etharp_request by default) and see who is
> calling it continuously, and under what conditions.
I just had a case where "no gateway" was translated to "gateway = own ip", in
which case lwIP tries to get its own ip by using ARP, which results in
gratuitous ARP packets although etharp_gratuitous was never called.
Another problem might be that (as you wrote) that etharp_gratuitous is an alias
to etharpt_request, so it could be hard to set a breakpoint to exactly the
gratuitous case.
Simon