Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Option 82 in ISC DHCP

Status
Not open for further replies.

PigSnack

MIS
Mar 31, 2001
1
US
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");
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top