Free guides, interview Q&As, and job responsibility breakdowns — curated by industry veterans to help you crack MNC interviews

Figure 1: The DORA process — Discover, Offer, Request, Acknowledge

Figure 2: Anatomy of a DHCP Scope — exclusion range, dynamic pool, and reservation
DHCP (Dynamic Host Configuration Protocol)
Definition: A client-server network protocol that automatically assigns IP addresses and other TCP/IP settings to devices on a network.
Day-to-Day Example: Like an automated check-in desk at a hotel that assigns you a room number the moment you arrive, instead of you picking and fighting over a room yourself.
DHCP Server
Definition: The system responsible for assigning IP addresses, managing scopes, controlling lease duration, and providing network configuration to clients.
Day-to-Day Example: Like the hotel's front-desk manager who actually holds the master key list and decides which room each guest gets.
DHCP Client
Definition: Any device — computer, laptop, phone, printer — that requests an IP address from a DHCP server.
Day-to-Day Example: Like a guest walking up to the front desk asking, "Do you have a room available for me?"
DHCP Scope
Definition: A defined range of IP addresses, along with subnet mask, gateway, DNS, and lease settings, that a DHCP server can hand out on a specific network.
Day-to-Day Example: Like the hotel's block of rooms set aside for guest check-ins — the front desk can only assign rooms from within that block.
DORA Process
Definition: The four-step DHCP communication sequence — Discover, Offer, Request, Acknowledge — used to assign an IP address to a client.
Day-to-Day Example: Like the back-and-forth of checking into that hotel: you ask for a room, they offer one, you accept it, and they confirm your booking.
Discover (DHCP)
Definition: The first DORA step, where the client broadcasts a message asking if any DHCP server is available.
Day-to-Day Example: Like shouting into a hotel lobby, "Is anyone at the front desk who can give me a room?"
Offer (DHCP)
Definition: The second DORA step, where the DHCP server responds with an available IP address and related settings.
Day-to-Day Example: Like the front desk calling back, "We have Room 204 available, here are the details."
Request (DHCP)
Definition: The third DORA step, where the client accepts the offered IP address and formally requests it.
Day-to-Day Example: Like the guest replying, "Yes, I'll take Room 204, please book it for me."
Acknowledge / ACK (DHCP)
Definition: The fourth DORA step, where the server confirms the lease and the client can now use the assigned IP.
Day-to-Day Example: Like the front desk handing over the room key and confirming, "You're checked in, Room 204 is yours."
Exclusion Range
Definition: IP addresses inside a scope that DHCP is told never to assign automatically, kept aside for static or manual configuration.
Day-to-Day Example: Like a hotel keeping a few rooms permanently blocked off for staff use, never handed out to guests at check-in.
Reservation
Definition: A configuration that always gives the same IP address to one specific device, identified by its MAC address.
Day-to-Day Example: Like a hotel's VIP guest who always gets assigned the exact same room every time they visit, even though check-in is still handled by the front desk.
Lease Duration
Definition: The length of time a client is allowed to keep an assigned IP address before it must renew or release it.
Day-to-Day Example: Like a hotel booking that's only valid for a set number of nights before you need to extend your stay.
DHCP Options
Definition: Extra configuration values a DHCP server sends to clients automatically, such as gateway, DNS server, or DNS suffix.
Day-to-Day Example: Like the welcome folder left in a hotel room that lists the Wi-Fi password, restaurant hours, and local directions, all handed over without you asking.
DHCP Authorization
Definition: The Active Directory requirement that a DHCP server be approved before it's allowed to assign IP addresses in the domain.
Day-to-Day Example: Like a hotel chain requiring every branch to be officially registered under its brand before it can issue room keys to guests.
APIPA (Automatic Private IP Addressing)
Definition: A fallback IP address in the 169.254.x.x range that Windows assigns itself when it can't reach any DHCP server.
Day-to-Day Example: Like a guest who can't reach the front desk and ends up sitting in the lobby with a temporary visitor badge instead of a real room key.
Scope Exhaustion
Definition: A situation where every IP address in a scope has already been leased out, leaving nothing available for new clients.
Day-to-Day Example: Like a fully booked hotel turning away new guests because every room in that block is already occupied.
IP Address Conflict
Definition: A situation where two devices end up using the same IP address at the same time, disrupting communication.
Day-to-Day Example: Like two guests being handed keys to the exact same hotel room by mistake, both trying to use it at once.
DHCP Relay Agent
Definition: A component that forwards DHCP broadcast requests from one subnet to a DHCP server on a different subnet.
Day-to-Day Example: Like a courier who carries a guest's room request from a small satellite check-in counter over to the main hotel's central booking office.
DHCP Failover
Definition: A high-availability setup using two DHCP servers, so if one fails the other continues assigning addresses without interruption.
Day-to-Day Example: Like a hotel having a backup front-desk system ready to take over instantly if the main check-in computer crashes.
DHCP-DNS Integration
Definition: A feature where DNS records update automatically whenever a DHCP client receives a new IP address.
Day-to-Day Example: Like the hotel directory automatically updating itself the moment a guest changes rooms, so staff can always find them under the right room number.

Figure 3: A DHCP Relay Agent forwarding requests across subnets to a central server

Figure 4: DHCP Troubleshooting Cheat Sheet
1. Manual IP Configuration vs. DHCP (Automatic)
Feature Manual IP Configuration Automatic Configuration (DHCP) IP assignment Configured manually Assigned automatically Speed Time consuming Fast and automatic Conflict risk High chance of IP conflict Prevents IP conflicts Scalability Difficult in large networks Easy management at scale Typical use Servers, printers, network devices Computers, laptops, mobile/enterprise users
2. DHCP Server vs. DHCP Client
Feature DHCP Server DHCP Client Role Assigns IPs, manages scopes and leases Requests and uses an assigned IP Controls Scope, exclusions, reservations, options Local network configuration Example Windows Server DHCP role Computer, laptop, phone, printer
3. Exclusion Range vs. Reservation
Feature Exclusion Range Reservation Purpose Keeps specific IPs out of the assignable pool Always gives one device the same IP Based on A defined IP sub-range The device's MAC address Still managed by DHCP? No, address is skipped entirely Yes, still leased through DHCP Typical use Static devices, routers, firewalls Printers, servers, CCTV, network devices
4. Short Lease Duration vs. Long Lease Duration
Feature Short Lease Duration Long Lease Duration Best for High device turnover Stable, long-connected devices Example environments Public Wi-Fi, airports, hotels Offices, enterprise networks, data centers Benefit Faster reuse of IP addresses Reduced DHCP traffic, stable assignment
5. DORA Process Steps Compared
Aspect Discover Offer Request Acknowledge Sent by Client Server Client Server Type Broadcast Broadcast/Unicast Broadcast Broadcast/Unicast Purpose Find a DHCP server Propose an IP + settings Accept the offered IP Confirm the lease
6. DHCP Options Compared
Option Purpose Example Option 003 Router / Default Gateway 192.168.1.1 Option 006 DNS Server 192.168.1.2 Option 015 DNS Domain Suffix company.local
7. APIPA vs. Normal DHCP IP Assignment
Feature APIPA Normal DHCP Assignment IP range 169.254.x.x Defined by the DHCP scope Assigned by The client itself (self-assigned) The DHCP server Meaning DHCP communication has failed DHCP communication succeeded Internet access? Not functional Fully functional
8. Scope Exhaustion vs. IP Address Conflict
Feature Scope Exhaustion IP Address Conflict What happens No addresses left to assign Two devices share one address Common cause Small range, long leases, unused devices holding leases Static IP overlapping the DHCP range, bad reservation Fix Increase range, shorten lease, clean up leases Fix exclusions, correct overlapping static IPs
9. DHCP Relay Agent vs. Separate DHCP Server per Subnet
Feature DHCP Relay Agent Separate DHCP Server per Subnet Number of servers needed One central server One server per subnet Administration Centralized, easier Distributed, more overhead How broadcasts are handled Forwarded across routers Not needed — server is local to the subnet
10. DHCP Troubleshooting Commands Compared
Command Purpose ipconfig /all Displays complete TCP/IP configuration and DHCP/lease status ipconfig /release Releases the current IP address from the client ipconfig /renew Requests a new IP address from the DHCP server ping Checks basic network connectivity, e.g. to the gateway nslookup Tests DNS name resolution for a given domain
Q1. What is DHCP, and what does it provide to clients?
Answer: DHCP (Dynamic Host Configuration Protocol) is a client-server protocol that automatically assigns network settings — IP address, subnet mask, default gateway, and DNS server — to devices connecting to a network.
Q2. Why is DHCP required in networking?
Answer: Manual IP configuration risks duplicate addresses, wrong subnet masks, incorrect gateways, and heavy administrative effort, especially at scale; DHCP automates this and reduces human error.
Q3. What are the main benefits of DHCP in enterprise networks?
Answer: DHCP provides reliable IP configuration, reduces administrative workload, centralizes TCP/IP settings, prevents IP conflicts, scales well for large networks, and supports mobile and wireless devices.
Q4. What is a DHCP Scope, and what does it define?
Answer: A DHCP Scope is a range of IP addresses a server can assign on a given network. It defines the starting/ending IP, subnet mask, gateway, DNS settings, and lease duration.
Q5. What is the DORA process?
Answer: DORA is the four-step DHCP communication process: Discover (client searches for a server), Offer (server proposes an IP), Request (client accepts it), and Acknowledge (server confirms the lease).
Q6. What UDP ports does DHCP use, and for what?
Answer: DHCP uses UDP port 67 for the DHCP server and UDP port 68 for the DHCP client.
Q7. What is the difference between Exclusion Range and Reservation?
Answer: An Exclusion Range removes specific IPs from the assignable pool entirely for static use, while a Reservation keeps a device under DHCP management but always gives it the same IP based on its MAC address.
Q8. What is Lease Duration, and how does renewal work?
Answer: Lease Duration defines how long a client may keep an assigned IP. Around the halfway point of the lease, the client automatically contacts the server to renew it; if renewal fails, the client retries.
Q9. What are DHCP Options, and name three common ones with their purpose?
Answer: DHCP Options deliver extra configuration automatically. Common ones are Option 003 (default gateway), Option 006 (DNS server), and Option 015 (DNS domain suffix).
Q10. Why must a DHCP server be authorized in Active Directory?
Answer: Authorization prevents unauthorized or rogue DHCP servers from handing out incorrect IP configurations; only authorized servers are allowed to assign addresses in the domain.
Q11. What happens if a DHCP scope is not activated?
Answer: An inactive scope will not distribute any IP addresses — clients requesting an address from that scope will simply not receive one until it's activated.
Q12. What is APIPA, and when does a client receive an APIPA address?
Answer: APIPA (Automatic Private IP Addressing) is a self-assigned address in the 169.254.x.x range that Windows uses when a client cannot reach any DHCP server.
Q13. What is Scope Exhaustion, and what causes it?
Answer: Scope Exhaustion occurs when every IP address in a scope is already leased out. It's typically caused by a small IP range, too many devices, long lease durations, or unused devices still holding leases.
Q14. What is a DHCP Relay Agent, and why is it needed?
Answer: A DHCP Relay Agent forwards DHCP broadcast requests across routers to a central DHCP server, since broadcasts normally don't cross subnet boundaries — this lets one server support multiple subnets.
Q15. What is DHCP Failover, and what problem does it solve?
Answer: DHCP Failover uses two DHCP servers together for high availability; if one server fails, the other keeps assigning IP addresses, avoiding interruption to network communication.
Q1. A user has no internet access and their IP shows as 169.254.x.x. What's going on, and what would you check?
Answer: This is an APIPA address, meaning the client failed to reach a DHCP server. Check whether the DHCP server or service is down, whether the network cable/switch is functioning, and try ipconfig /release then ipconfig /renew.
Q2. A new device can't get an IP address, but existing devices are working fine. What is the likely cause?
Answer: The DHCP scope is likely exhausted — all available addresses are already leased. Solutions include increasing the IP range, shortening the lease duration, or removing unused/stale leases.
Q3. A printer needs to always receive the exact same IP address through DHCP. What feature should be configured?
Answer: Configure a DHCP Reservation using the printer's MAC address, so it always receives the same IP while still being managed centrally through DHCP.
Q4. A company has multiple subnets but only one central DHCP server. How can clients on every subnet still get IP addresses?
Answer: Configure a DHCP Relay Agent on each subnet's router to forward DHCP broadcast requests to the central DHCP server, so one server can support all subnets.
Q5. DHCP is installed in an Active Directory environment, but clients still aren't receiving IP addresses. What could be wrong?
Answer: The DHCP server is likely not authorized in Active Directory. Only authorized DHCP servers are permitted to assign IP addresses within a domain environment.
Q6. A client can ping a server's IP address successfully but can't reach it by server name. What should be checked?
Answer: This points to a DNS issue — check the DNS server configuration, DHCP Option 006 (DNS Server), DNS service status, and test resolution with nslookup.
Q7. A hotel Wi-Fi network has devices constantly connecting and disconnecting. Should lease duration be short or long, and why?
Answer: A short lease duration should be used so that IP addresses from disconnected guests are freed up and can be reused quickly by new devices checking in.
Q8. A company wants DHCP service to continue running even if one DHCP server goes down. What should be implemented?
Answer: DHCP Failover should be implemented using two DHCP servers, so if one fails, the other continues assigning IP addresses without interrupting the network.