linux-embedded.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Linux-embedded <linux-embedded@vger.kernel.org>
Subject: Remote IP setup of devices in a network
Date: Tue, 8 Nov 2011 19:54:21 +0100	[thread overview]
Message-ID: <20111108185421.GA27727@merkur.ravnborg.org> (raw)

I am faced with a challenge that we ship devices which are
all preconfigured to a fixed IP address, and we want to provide
an easy solution to do remote IP configuration of all devices
connected to the same network.
In other words - all devices are reachable by a broadcast package.

The network may or may not include a DHCP server - which
we in any case do not have control over.

In the typical situation we will assign static IP
addresses to the devices - but sometimes we may also
configure them to DHCP.

So we are looking for a (de facto?) way to do this.
Any hints?

I haved tried to ask google without luck.

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.

As we are talking less than 100 devices this looks quite doable.
But I do not want to invent something again if it already exists.

Thanks in advance for any inputs,

	Sam

             reply	other threads:[~2011-11-08 18:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-08 18:54 Sam Ravnborg [this message]
2011-11-08 19:11 ` Remote IP setup of devices in a network David Woodhouse
2011-11-08 19:31   ` Sam Ravnborg
2011-11-08 23:30     ` Eliot Blennerhassett
2011-11-09  0:59     ` David Woodhouse
2011-11-09 10:11 ` Martyn Welch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111108185421.GA27727@merkur.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=linux-embedded@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).