Skip to contentSkip to conversation

IP allocation from local net

RFC g_remlin 2 participants 2 messages Jan 23, 2011

lore
Share & tools
lore

g_remlin

author
#0 lore raw

There is a technique often used with embedded devices for allocation of an IP.
Basically, if the network interface has no current IP every received packet is
examined (when the destination MAC Address matches that of the device), the destination IP is checked. If this IP is a valid node IP (i.e. not broadcast,
multicast etc.) it is allocated to the interface the packet arrived on.

Why ? Combine this with netconsole and no other HCI hardware or software support is required.

This will require substantial effort to implement the way u-boot network stack
currently works, is there any interest in such an implementation ?

#1 lore raw

Dear g_remlin,

Quoted 2 lines · In message <[email protected]> you wrote:

There is a technique often used with embedded devices for allocation of an IP.

Often used? Come on. Most people use standard protocls instead of such qick and dirty hacks.

Quoted 3 lines

This will require substantial effort to implement the way u-boot network stack
currently works, is there any interest in such an implementation ?

Is there any specific reason you don't want to use for example DHCP?

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Ja, mach' nur einen Plan,    sei nur ein grosses Licht
und mach' dann noch 'nen zweiten Plan,    geh'n tun sie beide nicht."
                                     -- Bert Brecht, Dreigroschenoper