migrate from remotely located to central servers
Bill Shirley
bill at c3po.polymerindustries.biz
Wed Jul 29 18:51:35 UTC 2020
So, the DISCOVER is not matching any of your classes. Define another pool to issue
leases from that doesn't match any class:
pool {
deny members of "RegionX-RGMGMT-CPE-MODELx";
deny members of "RegionX-BOOT-CPE-MODELx";
deny members of "RegionX-INET";
deny dynamic bootp clients;
authoritative;
range 192.168.xxx.2 192.168.xxx.15;
}
This should issue a lease and trigger your 'on commit' log statement.
Bill
On 7/29/2020 12:35 PM, Jason Brooks wrote:
> Hello,
>
> I am having trouble relocating and upgrading a number of dhcp servers. I am upgrading from solaris running dhcpd 3.0.4 to
> centos 7's dhcp 4.2.5-77.
>
> The problem: when I test the config on the new dhcp servers, I get the following error: "No free leases".
>
> As I am still testing, I have not copied the leases thus it is not clear why there would be no free leases.
>
> As I have no lab equipment to test against, I am generating similar queries using the dhtest
> <https://sargandh.wordpress.com/2012/02/23/linux-dhcp-client-simulation-tool/>tool. I started with a packet capture on the
> live dhcp servers and constructed a dhcp discovery packet based on it. I have also started small, with the smallest
> configuration possible that should still work.
>
> The queries originate from DSL customer premises equipment (CPE), and are forwarded by a dsl shelf manager. The
> relevant fields in the forwarded queries are as follows:
> giaddr: <management ip of dsl shelf> (Please note this is NOT the ip address facing the CPE)
> chaddr: <mac of CPE>
> option 82.1: circuit id
> option 82.2: remote id
> option 60: vendor class identifier (only on boot and management classes)
>
> The current live system is running 8 pairs of dhcp servers in different regions. They have been successfully running for more
> than 8 years. At last count there are about 440,000 active leases.
>
> I am attempting to build a pair of centrally located servers. I am not trying to do HA yet.
>
> I am including a sanitized dhcpd.conf file for you to look at.
>
> Thank you all for your time!
>
> --jason
>
> _______________________________________________
> ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
>
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20200729/672a73d8/attachment.htm>
More information about the dhcp-users
mailing list