[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Being notified of an address conflict when setting addr
From: |
Mason |
Subject: |
Re: [lwip-users] Being notified of an address conflict when setting address manually |
Date: |
Wed, 30 May 2012 10:04:08 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120429 Firefox/12.0 SeaMonkey/2.9.1 |
Simon wrote:
> Yep, AutoIP is something different from the usage scenario. However,
> from the technical point of view, it's very close to what you want. I
> wouldn't automatically switch off the local netif though: I think it
> should be up to the application to decide whether to set the netif down
> or not. If you just set the netif down when you receive an ARP
> announcement/response that is not from your MAC, that would result in
> both devices shutting down.
>
> I think I remember reading about duplicate address reporting when
> reading about Ethernet/IP... As none of the lwIP developers seems to
> find the time to implement this, the fastest way for you would probably
> be to just intercept ARP responses where they are passed to DHCP and
> handle them yourself.
If I write a detection routine, it can't be in dhcp.c, because that
file might not even be compiled (LWIP_DCHP == 0).
I think the detection routine has to be in etharp.c, in the handling
of ARP_REPLY packets. Do you disagree?
--
Regards.
- [lwip-users] Being notified of an address conflict when setting address manually, Mason, 2012/05/25
- Re: [lwip-users] Being notified of an address conflict when setting address manually, Bill Auerbach, 2012/05/25
- Re: [lwip-users] Being notified of an address conflict when setting address manually, Mason, 2012/05/28
- Re: [lwip-users] Being notified of an address conflict when setting address manually, address@hidden, 2012/05/29
- Re: [lwip-users] Being notified of an address conflict when setting address manually, Pomeroy, Marty, 2012/05/29
- Re: [lwip-users] Being notified of an address conflict when setting address manually, Mason, 2012/05/30
- Re: [lwip-users] Being notified of an address conflict when setting address manually, Simon Goldschmidt, 2012/05/30
- Re: [lwip-users] Being notified of an address conflict when setting address manually, Pomeroy, Marty, 2012/05/30
- Re: [lwip-users] Being notified of an address conflict when setting address manually,
Mason <=
- Re: [lwip-users] Being notified of an address conflict when setting address manually, Simon Goldschmidt, 2012/05/30
- Re: [lwip-users] Being notified of an address conflict when setting address manually, Mason, 2012/05/30