[CentOS] Dhcp 3.0.5 on 5.x

Nico Kadel-Garcia nkadel at gmail.com
Tue Mar 1 02:47:25 UTC 2011


On Mon, Feb 28, 2011 at 4:56 PM, Jason Pyeron <jpyeron at pdinc.us> wrote:
> I am looking to use the update-conflict-detection false; directive in the
> dhcpd.conf.
>
> It is supported in EL6 or and dhcp >=3.1.0a1.
>
> Since I am not going to get permission to switch to EL6 or dhcp 3.1 what are my
> options?
>
> Background:
>
> I have a DNS/DHCPD system which its conf files are generated automagically.
> Depending on which network a device is on the ip address will change. It is
> always required to have an A record for every device.
>
> I see my only 2 possible options to be:
>
> 1, trick dhcpd into thinking that the records in dns are its, hence updatable.
>
> 2, backport the update-conflict-detection false logic into dhcp-3.0.5-23.el5_5.2

Set A records, and PTR's, for the addresses in your DHCP range. The
client becomes "dhcp-0-101.example.com" for IP address 10.0.0.101 in
the first DHCP range, and "dhcp-1-101" for IP address 10.0.1.101 in
the second range.

There's a lot you can do with this, but hat is key.

The other useful trick is to set DHCP reservations: Reserve a
particular IP address for a particular MAC address when it's plugged
into a specific zone, so the same client always gets the same IP
addresses in that zone and SSH and SSL keys remain consistent with
that client host.

> Any suggestions?
>
> TIA
>
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> -                                                               -
> - Jason Pyeron                      PD Inc. http://www.pdinc.us -
> - Principal Consultant              10 West 24th Street #100    -
> - +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
> -                                                               -
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> This message is copyright PD Inc, subject to license 20080407P00.
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



More information about the CentOS mailing list