From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Wed, 24 Aug 2011 08:22:13 +0200 Subject: [U-Boot] [PATCH 5/9] apf9328: add default board configuration file In-Reply-To: References: <20110810200828.21204.60050.stgit@shuttle2.etheralp.ch> <20110810203325.21204.6037.stgit@shuttle2.etheralp.ch> <4E439EFE.5090507@denx.de> <1FAD4112-2A57-415D-9CDF-8FC7A9EDB626@armadeus.org> <20110823112619.93D24201520@gemini.denx.de> Message-ID: <4E549895.4050707@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 08/24/2011 06:56 AM, Eric Jarrige wrote: > Dear Wolfgang, Dear Stefano, Hi Eric, >>> We really need a set of default IP addresses for private network to simplify as much as possible the life of the armadeus project developers. >> >> And what makes you think that 192.168.0.10 might be a free IP address >> in my network? Or assume that 255.255.255.0 is the right netmask in >> this network? > > http://tools.ietf.org/html/rfc1918#page-4 Really RFC1918 reservs only IP addresses for private use, but there is nothing regarding a "default" IP address. And nothing different as usual how to assign the addresses to the hosts. To set a static IP address when DHCP is not available (a sort of autoconfiguration without DHCP server), the link-local address range should be used (169.254.0.0/16), described in http://tools.ietf.org/html/rfc3927. It sets a random IP in the range and checks with ARP that the address is not already used in the network. However, it is outside the goals of a bootloader ;-) Best regards, Stefano babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================