CC: | marketing@isc.org |
Subject: | Bug Submission Form - Version dhcpd 4.2.5 - Error handling overlapping prefix6 leases with different mask lengths |
Date: | Fri, 14 Feb 2014 16:30:42 +0000 |
To: | dhcp-bugs@isc.org |
From: | Mark Nejedlo <mark.nejedlo@tdstelecom.com> |
Bug Report from www.isc.org:
- Name: Mark Nejedlo
- Email: mark.nejedlo@tdstelecom.com
- Software Version: dhcpd 4.2.5
- OS: RHEL 6.5
- Subject:Error handling overlapping prefix6 leases with different mask lengths
Bug Detail
While testing various options for how to issue v6 leases, space which had been issueing /64 prefix delegations was changed to issue /56 delegations. This led to dhcpd attempting to issue overlapping leases.
The scenario:
The dhcp server was set up to serve "prefix6 2600:340X:YYY0:0000:: 2600:340X:YYYf:ffff:: /64" for a subnet. The next time a prefix delegation was requested, a lease was issued to the client device for 2600:340X:YYYf:ffff::/64.
Later we decided that we wanted to be able to issue both /56 and /64 leases, so 2600:340X:YYY0::/44 was split in to two prefix statements: "prefix6 2600:340X:YYY0:0000:: 2600:340X:YYY7:ffff:: /64" and "prefix6 2600:340X:YYY8:0000:: 2600:340X:YYYf:ff00:: /56".
So, we have a lease for a /64 in space which is now allocated to /56 assignments. I expected dhcpd to decline the next renewal and issue a new /64 lease out of 2600:340X:YYY0::/45, but instead it continued allowing 2600:340X:YYYf:ffff::/64.
The problem occurred later (after multiple max-lease-time had passed) when a /56 was requested. Despite the existing valid lease for 2600:340X:YYYf:ffff::/64, a lease was issued for 2600:340X:YYYf:ff00::/56, which the router promptly refused due to the new /56 delegation conflicting with the old, but valid, /64 delegation.
I'm currently running 4.2.5. I see that 4.2.6 and 4.3.0 came out earlier this month, but I have not yet upgraded. I don't see anything in the release notes to make me believe this issue (or anything related to prefix6) has been addressed.
---
This email was received through isc.org Bug Submission Form
All information within this email is considered confidential and for internal use only.