Send dhcp-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."
Today's Topics:
1. Multiple matching dhcpd.conf MAC addresses
(Dean Gibson (DNS Administrator))
2. Re: Multiple matching dhcpd.conf MAC addresses (Sten Carlsen)
3. Re: Multiple matching dhcpd.conf MAC addresses
(Dean Gibson (DNS Administrator))
----------------------------------------------------------------------
Message: 1
Date: Sat, 30 Mar 2013 10:26:42 -0700
From: "Dean Gibson (DNS Administrator)" <[email protected]>
To: [email protected]
Subject: Multiple matching dhcpd.conf MAC addresses
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8; format=flowed
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 ?
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.
------------------------------
Message: 2
Date: Sat, 30 Mar 2013 19:45:07 +0100
From: Sten Carlsen <[email protected]>
To: [email protected]
Subject: Re: Multiple matching dhcpd.conf MAC addresses
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
>From the MAN page:
The *host* 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.
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 /fixed-address/ declaration, or more than one *host*
statement may be specified matching the same client.
If client-specific boot parameters must change based on the network to
which the client is attached, then multiple *host* declarations should
be used. The *host* declarations will only match a client if one of
their /fixed-address/ statements is viable on the subnet (or shared
network) where the client is attached. Conversely, for a *host*
declaration to match a client being allocated a dynamic address, it must
not have any /fixed-address/ statements. You may therefore need a
mixture of *host* declarations for any given client...some having
/fixed-address/ statements, others without.
Seems to be perfectly viable.
On 30/03/13 18:26, Dean Gibson (DNS Administrator) wrote:
> 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 ?
>
> 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.
>
> _______________________________________________
> dhcp-users mailing list
> [email protected]
> https://lists.isc.org/mailman/listinfo/dhcp-users
--
Best regards
Sten Carlsen
No improvements come from shouting:
"MALE BOVINE MANURE!!!"
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.isc.org/pipermail/dhcp-users/attachments/20130330/b2126d0f/attachment-0001.html>
------------------------------
Message: 3
Date: Sat, 30 Mar 2013 18:24:48 -0700
From: "Dean Gibson (DNS Administrator)" <[email protected]>
To: Users of ISC DHCP <[email protected]>
Subject: Re: Multiple matching dhcpd.conf MAC addresses
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
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 ...
-- Dean
On 2013-03-30 11:45, Sten Carlsen wrote:
> From the MAN page:
>
> The *host* 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.
>
> 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 /fixed-address/ declaration, or more than one *host*
> statement may be specified matching the same client.
>
> If client-specific boot parameters must change based on the network to
> which the client is attached, then multiple *host* declarations should
> be used. The *host* declarations will only match a client if one of
> their /fixed-address/ statements is viable on the subnet (or shared
> network) where the client is attached. Conversely, for a *host*
> declaration to match a client being allocated a dynamic address, it
> must not have any /fixed-address/ statements. You may therefore need a
> mixture of *host* declarations for any given client...some having
> /fixed-address/ statements, others without.
>
>
> Seems to be perfectly viable.
>
>
> On 30/03/13 18:26, Dean Gibson (DNS Administrator) wrote:
>> 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 ?
>>
>> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.isc.org/pipermail/dhcp-users/attachments/20130330/7cb8ef6f/attachment-0001.html>
------------------------------
_______________________________________________
dhcp-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/dhcp-users
End of dhcp-users Digest, Vol 53, Issue 35
******************************************