public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [RFC] IP allocation from local net
@ 2011-01-23 20:14 g_remlin
  2011-01-23 22:48 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: g_remlin @ 2011-01-23 20:14 UTC (permalink / raw)
  To: u-boot

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 ?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] [RFC] IP allocation from local net
  2011-01-23 20:14 [U-Boot] [RFC] IP allocation from local net g_remlin
@ 2011-01-23 22:48 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2011-01-23 22:48 UTC (permalink / raw)
  To: u-boot

Dear g_remlin,

In message <4D3C8C41.1020900@rocketmail.com> 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.

> 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

-- 
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-23 22:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-23 20:14 [U-Boot] [RFC] IP allocation from local net g_remlin
2011-01-23 22:48 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox