DHCP
DHCP
DHCP
Dynamic Host Configuration Protocol (DHCP) is a network protocol that enables a server to
automatically assign an IP address to a computer from a defined range of numbers (i.e., a scope)
configured for a given network.
3. The router directs the DISCOVER packet to the correct DHCP server.
4. The server receives the DISCOVER packet. Based on availability and usage policies set on
the server, the server determines an appropriate address (if any) to give to the client. The
server then temporarily reserves that address for the client and sends back to the client an
OFFER (or DHCPOFFER) packet, with that address information. The server also configures
the client’s DNS servers, WINS servers, NTP servers, and sometimes other services as well.
5. The client sends a REQUEST (or DHCPREQUEST) packet, letting the server know that it
6. The server sends an ACK (or DHCPACK) packet, confirming that the client has a been given
Multicast Scope – Used to assign IP address ranges for Class D networks. Multicast scopes do not
have subnet masks, reservation or other TCP/IP options.
Multicast scope address ranges require that a Time To Live (TTL) value be specified (essentially the
number of routers a packet can pass through on the way to its destination).
Superscope – Essentially a collection of scopes grouped together such that they can be enabled
and disabled as a single entity.
1. If a DHCP server is to operate within an Active Directory domain (and is not running on a
2. This can be achieved either as part of the DHCP Server role installation, or subsequently
using either DHCP console or at the command prompt using the netsh tool.
3. If the DHCP server was not authorized during installation, invoke the DHCP console (Start ->
5. To achieve the same result from the command prompt, enter the following command:
In the above command syntax, serverID is replaced by the IP address or full UNC name of system
on which the DHCP server is installed.
Safe and reliable configuration.DHCP avoids configuration errors caused by the need to manually
type in values at each computer. Also, DHCP helps prevent address conflicts caused by a previously
assigned IP address being reused to configure a new computer on the network.
Using DHCP servers can greatly decrease time spent to configuring and reconfiguring computers on
your network. Servers can be configured to supply a full range of additional configuration values
when assigning address leases.
These values are assigned using DHCP options. Also, the DHCP lease renewal process helps
assure that where client configurations need to be updated often (such as users with mobile or
portable computers who change locations frequently), these changes can be made efficiently and
automatically by clients communicating directly with DHCP servers.
The following section covers issues that affect the use of the DHCP Server service with other
services or network configurations. Using DNS servers with DHCP Using Routing and Remote
Access servers with DHCP Multihomed DHCP servers.
o When prompted, type the name or IP address of the DHCP server to be authorized, and then click
OK.
What Is Dhcpinform?
DHCPInform is a DHCP message used by DHCP clients to obtain DHCP options. While PPP remote
access clients do not use DHCP to obtain IP addresses for the remote access connection, Windows
2000 and Windows 98 remote access clients use the DHCPInform message to obtain DNS server IP
addresses, WINS server IP addresses, and a DNS domain name.
The DHCPInform message is sent after the IPCP negotiation is concluded. The DHCPInform
message received by the remote access server is then forwarded to a DHCP server. The remote
access server forwards DHCPInform messages only if it has been configured with the DHCP Relay
Agent.
DHCP integration with DNS allows the aggregation of these tasks across devices, enabling a
company’s network services to scale in step with the growth of network users, devices, and policies,
while reducing administrative operations and costs. This integration provides practical operational
efficiencies that lower total cost of ownership.
Creating a DHCP network automatically creates an associated DNS zone, for example, reducing the
number of tasks required of network administrators. And integration of DNS and DHCP in the same
database instance provides unmatched consistency between service and management views of IP
address-centric network services data.
Such communication is the purpose of the “server to server protocol”. It is possible that some server
vendors have addressed this issue with their own proprietary server-to-server communication.
Unlike the IP number, it includes no indication of where your computer is located. In DHCP’s typical
use, the server uses a requesting computer’s MAC address to uniquely identify it.
MAY support BOOTP clients,” (section 2). The word “MAY” indicates such support, however useful,
is left as an option. A source of confusion on this point is the following statement in section 1.5 of
RFC 1541: “DHCP must provide service to existing BOOTP clients.”
However, this statement is one in a list of “general design goals for DHCP”, i.e. what the designers
of the DHCP protocol set as their own goals. It is not in a list of requirements for DHCP servers.
In any case, in order for DHCP to function, you must be certain that no other client is using the client
ID you choose, and you must be sure the DHCP server will accept it.
During a 2- day outage, new users cannot get new leases, but no lease will expire for any computer
turned on at the time that the outage commences. Another factor is that the longer the lease the
longer time it takes for client configuration changes controlled by DHCP to propogate.
This is sometimes called doing DHCP by proxy for the client. I know that Windows NT’s remote
access support does this. A feature of DHCP under development (DHCPinform) is a method by
which a DHCP server can supply parameters to a client that already has an IP number. With this, a
PPP client could get its IP number using IPCP, then get the rest of its parameters using this feature
of DHCP. SLIP has no standard way in which a server can hand a client an IP address, but many
communications servers support non-standard ways of doing this that can be utilized by scripts, etc.
Thus, like communications servers supporting PPP, such communications servers could also
support the use of DHCP to acquire the IP addressees to give out. The DHCP protocol is capable of
allocating an IP address to a device without an IEEE-style MAC address, such as a computer
attached through SLIP or PPP, but to do so, it makes use of a feature which may or may not be
supported by the DHCP server: the ability of the server to use something other than the MAC
address to identify the client. Communications servers that acquire IP numbers for their clients via
DHCP run into the same roadblock in that they have just one MAC address, but need to acquire
more than one IP address.
One way such a communications server can get around this problem is through the use of a set of
unique pseudo-MAC addresses for the purposes of its communications with the DHCP server.
Another way (used by Shiva) is to use a different “client ID type” for your hardware address. Client
ID type 1 means you’re using MAC addresses. However, client ID type 0 means an ASCII string.
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesDHCPServerParameters
What Is Bootp?
BOOTP (bootstrap protocol) is a host configuration protocol. It is developed before DHCP.
2. On Receiving DHCP Discover, Server sends a DHCP OFFER message to the client. The
DHCPOFFER is a proposed configuration that may include IP address, DNS server address,
and lease time. This message will be unicast and have the destination mac address of
DHCP client's mac address. The source mac address will be that of the DHCP server.[S.Mac
3. If the Client finds the Offer agreeable, it sends DHCP REQUEST Message requesting those
particular IP parameters. This message will be a Broadcast message. [Source Mac - Mac
4. The Server on receiving the DHCP REQUEST makes the configuration official by sending a
5. [Source Mac - Mac address of Server, Destination Mac - Mac address of Host]
What Information A Dhcp Server Can Provide To A Host?
DHCP server can provide following information -
o IP address
o Subnet mask
o Default gateway
o WINS information
Who Created Dhcp? How Was It Created?
DHCP was created by the Dynamic Host Configuration Working Group of theInternet Engineering
Task Force (IETF; a volunteer organization which definesprotocols for use on the Internet). As such,
it's definition is recorded in anInternet RFC and the Internet Activities Board (IAB) is asserting its
status as toInternet Standardization.
As of this writing (June 1998), DHCP is an Internet Draft Standard Protocol and is Elective. BOOTP
is an Internet Draft StandardProtocol and is recommended. For more information on Internet
standardization,see RFC2300 (May 1998)
RARP is a protocol used by Sun and other vendors that allows a computer to findout its own IP
number, which is one of the protocol parameters typically passedto the client system by DHCP or
BOOTP. RARP doesn't support other parametersand using it, a server can only serve a single LAN.
DHCP and BOOTP aredesigned so they can be routed
The part of such a router (or server actingas a router) that does this is called a "BOOTP forwarding
agent". Typically youhave to enable it on the interface to the subnet to be served and have
toconfigure it with the IP address of the DHCP or BOOTP server. On a Cisco router,the address is
known as the "UDP Helper Address".