Re: Remote IP setup of devices in a network

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Tue, Nov 08, 2011 at 07:11:09PM +0000, David Woodhouse wrote:
> On Tue, 2011-11-08 at 19:54 +0100, Sam Ravnborg wrote:
> > The idea is to use an UDP broadcast to discover all devices,
> > and a similar UDP broadcast to configure the devices.
> > In the latter the MAC will be the key to address individual devices.
> You could almost be describing link-local IPv6. Each device
> automatically gets an IPv6 address based on its MAC address, which you
> can use for unicast addressing. The broadcast (or multicast) bit is easy
> enough too.

We are forced to use a IPv4 network where we need to keep the devices
in the same network as a potential router.

So to describe the idea with a little drawing:

Host PC            Device-1     Device-2
  |                   |            |
  |---- DISCOVER----->|----------->|
  |                   |            |
  |<-- REPLY(MAC:IP)--|            |
  |<-- REPLY(MAC:IP)---------------|
  |                   |            |
 (technician manually decide IP setup)
  |                   |            |
  |-- CONFIG(MAC:IP)->|            |
  |-- CONFIG(MAC:IP)-------------->|

The discover is maybe sent twice due to packer drops.
The Reply is sent once and may look like this:

MAC=01:02:03:04:05:06;IP=;NM=;GW=;XX="foo bar";YY="baz buz"

The technician then decides the new config (or computer assisted).

And the CONFIG may look like this:

I cannot get this with auto-IP or wahtever it is named for IPv4.

To unsubscribe from this list: send the line "unsubscribe linux-embedded" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Index of Archives]     [Gstreamer Embedded]     [Linux MMC Devel]     [U-Boot V2]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux ARM Kernel]     [Linux OMAP]     [Linux SCSI]

  Powered by Linux