<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 1/12/2016 15:04, Simon Hobson wrote:<br>
    <blockquote
      cite="mid:85576EBB-EB05-4345-AB3E-0119F961BEB8@thehobsons.co.uk"
      type="cite">
      <pre wrap="">Karl Denninger <a class="moz-txt-link-rfc2396E" href="mailto:karl@denninger.net"><karl@denninger.net></a> wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">This seems like it should be possible without a lot of hand-wringing, but I can't find the magic smoke recipe for it....  :-)
</pre>
      </blockquote>
      <pre wrap="">
It is simple - you're just over thinking it !

</pre>
      <blockquote type="cite">
        <pre wrap="">Topology is ...
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">The DHCP server is on both VLANs via virtual interfaces (FreeBSD) with the port on the switch being told to send both through; it sees and handles traffic from both VLANs just fine.

But.... I cannot start two instances of dhcpd (one on each sub-interface.)  Nor can I find a way to tell dhcpd to read requests from both.
</pre>
      </blockquote>
      <pre wrap="">
You just start one instance, but in that instance you define both subnets. So say your subnets are 192.168.1.0/24 and 192.168.2.0/24, then you need a config file a bit like this :

subnet 192.168.1.0 ...
  router ...
  ...
}
subnet 192.168.2.0 ...
  router ...
  ...
}

Then make sure that it listens on both interfaces. The default is to listen on all broadcast capable interfaces, but distribution specific startup scripts may read settings from a file and limit that.

In operation, the daemon tracks the packets and the interface they arrive through - from this is knows which subnet any request is for, and the rest happens automagically.

_______________________________________________

</pre>
    </blockquote>
    <br>
    Well that's what I get for trying to get too cute :-)<br>
    <br>
    Thanks.<br>
    <br>
    <div class="moz-signature">-- <br>
      Karl Denninger<br>
      <a href="mailto:karl@denninger.net">karl@denninger.net</a><br>
      <i>The Market Ticker</i><br>
      <font size="-2"><i>[S/MIME encrypted email preferred]</i></font>
    </div>
  </body>
</html>