APM-DHCP Access Policy Example and Detailed Instructions
I'm getting the following TCL error, i'm using this on v16.1.0:
Oct 10 22:43:20 bigip1 info tmm1[31525]: Rule /Common/ir-apm-policy-dhcp <ACCESS_POLICY_AGENT_EVENT>: sending DHCPDISCOVER to 172.18.0.5 172.18.0.255 for 895d4cdd, last try
Oct 10 22:43:20 bigip1 info tmm[31525]: Rule /Common/ir-apm-dhcp <CLIENT_ACCEPTED>: 172.18.0.33_0: about to parse 332-octet UDP msg from 172.18.0.5:67 for DHCP
Oct 10 22:43:20 bigip1 err tmm[31525]: 01220001:3: TCL error: /Common/ir-apm-dhcp <CLIENT_ACCEPTED> - can't read "dhcp_state": no such variable while executing "log local0.info "${me}: discarding surplus BOOTREPLY for ${xid} from ${relay}, dhcp_state=${dhcp_state}""
Oct 10 22:43:28 bigip1 err tmm1[31525]: Rule /Common/ir-apm-policy-dhcp <ACCESS_POLICY_AGENT_EVENT>: Timed out waiting for DHCPOFFER from DHCP server for 895d4cdd
DHCP server is seeing the request and replying:
Oct 11 05:46:35 ubuntu dhcpd[22648]: DHCPDISCOVER from 00:7f:dd:b9 (DESKTOP-O1H6UEP) via 172.18.0.33
Oct 11 05:46:35 ubuntu dhcpd[22648]: DHCPOFFER on 172.18.0.150 to 00:7f:dd:b9 (DESKTOP-O1H6UEP) via 172.18.0.33
BIG-IP is also getting the reply:
22:45:41.503847 IP localhost.localdomain.bootps > ubuntu.internal.cloudapp.net.bootps: BOOTP/DHCP, Request, length 328 out slot1/tmm0 lis= port=1.0 trunk=
22:45:42.506830 IP ubuntu.internal.cloudapp.net.bootps > 172.18.0.33.bootps: BOOTP/DHCP, Reply, length 332 in slot1/tmm0 lis= port=1.0 trunk=
DHCP server == 172.18.0.5; Virtual Server on BIG=IP is 172.18.0.33
Any pointers as to what might be going wrong?
Cheers,
Jimmy