Which information does the DHCP service (Dynamic Host Configuration Protocol) provide?
Answer
IP address – a unique address that identifies the device in the network.
Subnet mask – defines which network the address belongs to (network and host part).
Default gateway – the IP address of the router for traffic to other networks (e.g. the internet).
DNS server(s) – for resolving domain names into IP addresses; also the domain name.
Lease time – how long the address is valid before it must be renewed.
Further options: time server (NTP), TFTP server and boot file for PXE network boot / software deployment, WINS server (old Windows networks), proxy configuration via WPAD.
Diagram
Key vocabulary
Term
Meaning
Example
subnet mask
defines the network part of an IP address
The subnet mask is 255.255.255.0.
default gateway
the router used for other networks
Without a default gateway you cannot reach the internet.
DNS server
a server that turns names into IP addresses
The DNS server is 192.168.1.10.
NTP server
a server that provides the correct time
All clients sync their clocks with the NTP server.
PXE boot
starting a computer from the network
We install Windows on new PCs via PXE boot.
DHCP option
an extra setting sent by DHCP
Option 66 tells clients the TFTP server.
Useful phrases
to be handed out by DHCPThe DNS server is handed out by DHCP.
to boot from the networkThe thin clients boot from the network.
to synchronise the timeNTP keeps the time synchronised.
to check with ipconfig /allCheck the received values with ipconfig /all.
Talk about it
Run ipconfig /all (or imagine it): which values came from DHCP? Explain each one.
A PC can reach other PCs but not the internet. Which DHCP value might be wrong?
Why is it important that all computers in a domain have the correct time?