<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Ah, thanks! In your 3rd paragraph below, only the first sentence of
it is present in my dhcpd.conf MAN page; That confirms the details
of the 2n paragraph. I'm (gasp) running dhcp v3.0 (CentOS 4.4), but
my guess it that it's the same code. I made the changes to
dhcpd.conf and restarted; we'll see what happens ...<br>
<br>
-- Dean<br>
<br>
<div class="moz-cite-prefix">On 2013-03-30 11:45, Sten Carlsen
wrote:<br>
</div>
<blockquote cite="mid:515732B3.4000007@s-carlsen.dk" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
From the MAN page:<br>
<br>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
The <b>host</b> declaration provides a scope in which to provide
configuration information about a specific client, and also
provides a way to assign a client a fixed address. The host
declaration provides a way for the DHCP server to identify a DHCP
or BOOTP client, and also a way to assign the client a static IP
address.
<p>If it is desirable to be able to boot a DHCP or BOOTP client on
more than one subnet with fixed addresses, more than one address
may be specified in the <i>fixed-address</i> declaration, or
more than one <b>host</b> statement may be specified matching
the same client. </p>
<p>If client-specific boot parameters must change based on the
network to which the client is attached, then multiple <b>host</b>
declarations should be used. The <b>host</b> declarations will
only match a client if one of their <i>fixed-address</i>
statements is viable on the subnet (or shared network) where the
client is attached. Conversely, for a <b>host</b> declaration
to match a client being allocated a dynamic address, it must not
have any <i>fixed-address</i> statements. You may therefore
need a mixture of <b>host</b> declarations for any given
client...some having <i>fixed-address</i> statements, others
without. </p>
<p><br>
Seems to be perfectly viable.<br>
<br>
</p>
<br>
<div class="moz-cite-prefix">On 30/03/13 18:26, Dean Gibson (DNS
Administrator) wrote:<br>
</div>
<blockquote cite="mid:51572052.6000705@ultimeth.com" type="cite">If
I have two (distinct/unique) "subnet" declarations, and have two
"host" declarations with the same "hardware address" but
different "fixed-address" values, with one "fixed-address"
matching the first "subnet" declaration, and the other
"fixed-address" matching the second "subnet" declaration, will
this work properly ? <br>
<br>
I would like to have the same host be able to physically move
from one subnet to the other, without having to change the
dhcpd.conf file and restart the dhcpd servers. <br>
</blockquote>
</blockquote>
<br>
<br>
</body>
</html>