<div dir="ltr"><div dir="ltr"><div>Hi,</div><div><br></div><div>I am trying to assign client-class from hosts table in MySQL and then use it select a pool from a subnet.</div><div>In the first line of logs bellow you can see that the class Internet is assigned in the database </div><div>But in line four EVAL_DEBUG_MEMBER doesn’t find membership of Internet and the result expression is wrong</div><div><br></div><div>Should I add something in the configuration to include client-class from the database in the expression ?</div><div>Any other idea to achieve this other then the Radius hook ?</div><div><br></div><div><br></div><div>2018-12-28 00:00:53.363 DEBUG [kea-dhcp4.hosts/10767] HOSTS_MGR_ALTERNATE_GET4_SUBNET_ID_IDENTIFIER_HOST using subnet id 1 and identifier hwaddr=000C29745643, found in mysql host: hwaddr=000C29745643 ipv4_subnet_id=1 hostname=<a href="http://myhost.example.org">myhost.example.org</a> ipv4_reservation=(no) siaddr=(no) sname=<a href="http://server-name.example.org">server-name.example.org</a> file=(empty) key=(empty) ipv6_reservations=(none) dhcp4_class0=Internet</div><div>2018-12-28 00:00:53.363 DEBUG [kea-dhcp4.dhcp4/10767] DHCP4_CLASS_ASSIGNED [hwtype=1 00:0c:29:74:56:43], cid=[ff:2d:1a:a1:33:00:02:00:00:ab:11:9a:d7:8d:4c:9a:8f:86:4c], tid=0xc55f2574: client packet has been assigned to the following class(es): KNOWN</div><div>2018-12-28 00:00:53.363 DEBUG [kea-dhcp4.eval/10767] EVAL_DEBUG_MEMBER Checking membership of 'KNOWN', pushing result 'true'</div><div>2018-12-28 00:00:53.363 DEBUG [kea-dhcp4.eval/10767] EVAL_DEBUG_MEMBER Checking membership of 'Internet', pushing result 'false'</div><div>2018-12-28 00:00:53.363 DEBUG [kea-dhcp4.eval/10767] EVAL_DEBUG_AND Popping 'false' and 'true' pushing 'false'</div><div>2018-12-28 00:00:53.363 DEBUG [kea-dhcp4.options/10767] EVAL_RESULT Expression Internet_Class evaluated to 0</div><div><br></div><div>Thanks</div><div><br></div><div>Nitzan</div></div></div>