Skip to content

Commit

Permalink
add a mac address substring to recognize the cisco switches
Browse files Browse the repository at this point in the history
  • Loading branch information
tannoa2 committed May 23, 2016
1 parent 1c9160d commit 928f30d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dhcpd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ class "arista" {
match if substring (hardware, 1, 3) = 00:1c:73;
}
class "cisco" {
match if substring (hardware, 1, 3) = b0:aa:77;
match if substring (hardware, 1, 3) = b0:aa:77
or substring (hardware, 1, 3) = 00:c1:64
or substring (hardware, 1, 3) = 00:42:68;
}

subnet 10.1.1.0 netmask 255.255.255.0 {
Expand Down Expand Up @@ -56,3 +58,4 @@ subnet 10.1.1.0 netmask 255.255.255.0 {
option vendor-class-identifier "PXEClient";
}
}

0 comments on commit 928f30d

Please sign in to comment.