[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
R: [lwip-devel] two netif on the same HW - DHCP and fixed iptoghether
From: |
Ceresoli Luca |
Subject: |
R: [lwip-devel] two netif on the same HW - DHCP and fixed iptoghether |
Date: |
Wed, 17 Dec 2008 09:35:41 +0100 |
Alain M. wrote:
> What I am not sure is how to get the MASK correct with
> AUTOIP, any ideas?
AUTOIP sets the following (see autoip_bind() in autoip.c):
IP 169.254.x.y (where 1<=x<=254)
NETMASK 255.255.0.0
GW 0.0.0.0
This is what the RFC specifies. 169.254.0.0/16 is reserved for this use.
Since there is no GW, to access a lwIP node with an AUTOIP address you must be
in the same network.
There are resolution protocols in the Zeroconf family, but they are not
implemented in lwIP.
Luca