Can anyone help me decipher what is going on in this Option 82 class description in ISC DHCP conf? It's parsing the remote ID? How does this parse read? Where is a remote ID usually found?
Thanks!
class "GroupA" {
match if ((extract-int ( substring (suffix(option agent.remote-id, 18), 0 , 1), 8) = 24)
and (extract-int ( substring (suffix(option agent.remote-id, 18), 1 , 1), 8) = 54)
and (extract-int ( substring (suffix(option agent.remote-id, 18), 12 , 1), 8) = 0)
and (extract-int ( substring (suffix(option agent.remote-id, 18), 13 , 1), 8) = 1));
log(info, "matched class GroupA");
}
Thanks!
class "GroupA" {
match if ((extract-int ( substring (suffix(option agent.remote-id, 18), 0 , 1), 8) = 24)
and (extract-int ( substring (suffix(option agent.remote-id, 18), 1 , 1), 8) = 54)
and (extract-int ( substring (suffix(option agent.remote-id, 18), 12 , 1), 8) = 0)
and (extract-int ( substring (suffix(option agent.remote-id, 18), 13 , 1), 8) = 1));
log(info, "matched class GroupA");
}