Prevent computers gaining IP Address
from DHCP Server if they are not authorized
A computer is authorized to obtain an IP
Address on network only when it is configured with DHCP Class ID where you have
implemented MS DHCP Server. This Class ID mechanism can be understood by MS DHCP
Servers only.
We have secured our DHCP Network using *MS
Class Options* (You can find this mechanism only in MS DHCP
Implementation).
Client machines can't get IP Address
from any DHCP server available on the network *IF* you have configured Class ID
on client machines using *Ipconfig /setclassid* command. A DHCP packet will be
dropped by DHCP server if *same Class ID* scope is not found on the network or
MS DHCP server.
This is what happen when you implement
Class ID on your network:
1. A computer plugs in your
network.
2. DHCP client service starts and
shouts on network to get an IP address (I assume this is a new computer and
configured with Class ID).
3. DHCP Server goes throught its
database or scopes check to see if it belongs to any Class ID scope, a simple
scope or superscope if request is coming from different network id:
a. If DHCP packet from client
machine contains Class ID information, DHCP Server goes through
the Class ID Scopes. If it doesn't find same class ID in its
database, the DHCP packet is dropped off. Exit Loop. Next, if DHCP server
finds the Class ID Scope, it leases out the IP address to client
machine and Exit Loop.
b. DHCP server goes to next
condiation available that is *DHCP Scope for same subnet*. HERE
DHCP server can lease out IP address from any scope if you
haven't configured client machine with Class ID. This is where DHCP
Security is failing. If DHCP server finds no other scope,
DHCP packet is dropped off. Exit Loop.
c. Next available condition is
to check in *DHCP Superscope for same or other subnet* or if
client doesn't belong to same subnet. B condition applies in this
case.
3. After checking above conditions, DHCP Server finally decides to
drop off packets therefore client obtains IP Address using APIPA (169.254.x.x).
This makes client out of network or it can't participate in network.
|