BIND 10 #3343: Kea not responding when is configured only with subnet with client classification
BIND 10 Development
do-not-reply at isc.org
Wed Feb 19 15:42:58 UTC 2014
#3343: Kea not responding when is configured only with subnet with client
classification
-------------------------------------+-------------------------------------
Reporter: | Owner:
wlodekwencel | Status: new
Type: | Milestone: DHCP-Kea-
defect | proposed
Priority: | Keywords:
medium | Sensitive: 0
Component: dhcp | Sub-Project: DHCP
CVSS Scoring: | Estimated Difficulty: 0
Defect Severity: N/A | Total Hours: 0
Feature Depending on Ticket: |
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
Kea is not responding when it's configured with subnets that has client
classification activated. Dropping every message no matter if it has
vendor class option (with proper vendor ID) or not.
Example configuration files when kea is NOT responding:
{{{
config add Dhcp4/subnet4
config set Dhcp4/subnet4[0]/subnet "192.168.50.0/24"
config set Dhcp4/subnet4[0]/pool [ "192.168.50.1-192.168.50.1" ]
config set Dhcp4/subnet4[0]/client-class "my-own-class"
config commit
}}}
or
{{{
config add Dhcp4/subnet4
config set Dhcp4/subnet4[0]/subnet "192.168.50.0/24"
config set Dhcp4/subnet4[0]/pool [ "192.168.50.1-192.168.50.1" ]
config set Dhcp4/subnet4[0]/client-class "my-own-class"
config add Dhcp4/subnet4
config set Dhcp4/subnet4[1]/subnet "192.168.50.0/24"
config set Dhcp4/subnet4[1]/pool [ "192.168.50.10-192.168.50.10" ]
config set Dhcp4/subnet4[1]/client-class "my-other-class"
config commit
}}}
with such configuration Kea logging:
{{{
INFO [b10-dhcp4.dhcp4/13106] DHCP4_NO_SUBNET_FOR_DIRECT_CLIENT no
suitable subnet configured for a direct client sending packet with
transaction id 1443283, on interface eth1, received message is dropped
}}}
When Kea is configured with additional subnet without client-
classification it's responding on every message (with vendor class option
or not).
Example of configuration when Kea is responding:
{{{
config add Dhcp4/subnet4
config set Dhcp4/subnet4[0]/subnet "192.168.50.0/24"
config set Dhcp4/subnet4[0]/pool [ "192.168.50.1-192.168.50.1" ]
config set Dhcp4/subnet4[0]/client-class "my-own-class"
config add Dhcp4/subnet4
config set Dhcp4/subnet4[1]/subnet "192.168.50.0/24"
config set Dhcp4/subnet4[1]/pool [ "192.168.50.10-192.168.50.10" ]
config commit
}}}
or
{{{
config add Dhcp4/subnet4
config set Dhcp4/subnet4[0]/subnet "192.168.50.0/24"
config set Dhcp4/subnet4[0]/pool [ "192.168.50.1-192.168.50.1" ]
config set Dhcp4/subnet4[0]/client-class "my-own-class"
config add Dhcp4/subnet4
config set Dhcp4/subnet4[1]/subnet "192.168.50.0/24"
config set Dhcp4/subnet4[1]/pool [ "192.168.50.10-192.168.50.10" ]
config set Dhcp4/subnet4[1]/client-class "my-other-class"
config add Dhcp4/subnet4
config set Dhcp4/subnet4[2]/subnet "192.168.50.0/24"
config set Dhcp4/subnet4[2]/pool [ "192.168.50.100-192.168.50.100" ]
config commit
}}}
For reproduction of those tests pleas use Forge (for now v4 tests are
available on ip_v4_support branch, not master)
test names:
v4.client.classification.one.class.one-subnet
v4.client.classification.multiple.classes.two-subnets-different-chaddr
Also attaching logs/config files/captures of all failed tests and one
passed.
--
Ticket URL: <http://bind10.isc.org/ticket/3343>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list