9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: jas@corpus-callosum.com, 9fans@9fans.net
Subject: Re: [9fans] pxeboot & tftpd
Date: Tue, 13 Mar 2012 11:10:56 -0400	[thread overview]
Message-ID: <d5f21d3be95017795854b3928bd6e2ac@chula.quanstro.net> (raw)
In-Reply-To: <92935DD0-93A5-4C1F-B69A-229DF176E036@corpus-callosum.com>

> I don't think there was a concise description of what the solution was
> in the prior threads.  Here's a small attempt:
>
> The DHCP discovery error occurs because dhcpd will only only provide
> an IP address on the subnet for the inquiry.  In this case a device
> defaults to ip=192.168.0.239 ipmask=255.255.0.0 when in discovery mode.
> The device may have broadcast a src=0.0.0.0, but you'll probably find
> that your ipboot logs never show it.
>
> Given that the broadcast subnet mask is 255.255.0.0, you'll need to
> have an entry in your ndb local/external/etc file that can resolve
> the inquiry like
>
> ipnet=catch-net ip=192.168.0.0 ipmask=255.255.0.0
>
> or some higher level network.  Doing so will allow dhcpd to respond
> and not flood ipboot with failed discovery messages.
>
> I've only seen this kind of behavior from certain devices (e.g. routers)
> that force a default ip&mask so they can be configured by an end user.
> You'd think that with tools like cec(8) and zeroconf available there
> would be a better solution for discovering and initializing a device.

this is a feature, not a bug.  this is in case you have an unsegmented
physical network with two ip networks, and two dhcp servers.

along these lines, ...

at coraid, we migrated internal networks with an overlay network.
this required changing dhcpd to answer questions for *any* network
connected.  in our case we had two addresses on ether0, and with
our small change to dhcp, we served 'em both up.

- erik



      reply	other threads:[~2012-03-13 15:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-06 21:38 Jeff Sickel
2012-03-06 21:42 ` erik quanstrom
2012-03-13 11:52   ` Yaroslav
2012-03-13 15:04     ` Jeff Sickel
2012-03-13 15:10       ` erik quanstrom [this message]

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=d5f21d3be95017795854b3928bd6e2ac@chula.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    --cc=jas@corpus-callosum.com \
    /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 NNTP newsgroup(s).