lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] LwIP Support - sethostaddr


From: Jens Breuer
Subject: Re: [lwip-users] LwIP Support - sethostaddr
Date: Mon, 12 Sep 2011 19:12:34 +0200

Hi Enrico,

>> As an aside, typically when IP addresses are changing or moving,
>> it's common to do a "gratuitious ARP" so that ARP tables are refreshed
>> with the new data.
>
> Does anybody know if LWIP does this by itself after netif_set_addr() is
> called?

I don't think so.
The only occurences of gratuitous ARP are in netif_set_up(.) and
netif_set_link_up(.).

I think that the preferred way of changing any interface setting would
be to bring the interface down via netif_set_down(.), apply the
changes and then bring the interface up again via netif_set_up(.),
which would imply the transmisson of a gratuitous ARP.

Kind regards
Jens



reply via email to

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