{"id":1291,"date":"2025-08-21T11:49:08","date_gmt":"2025-08-21T11:49:08","guid":{"rendered":"https:\/\/www.zframez.com\/articles\/?p=1291"},"modified":"2025-08-21T15:08:25","modified_gmt":"2025-08-21T15:08:25","slug":"understanding-dhcp-how-dynamic-ip-allocation-works","status":"publish","type":"post","link":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-dhcp-how-dynamic-ip-allocation-works","title":{"rendered":"Understanding DHCP &#8211; How Dynamic IP Allocation Works"},"content":{"rendered":"<body>\n<h1 class=\"wp-block-heading has-large-font-size\"><strong>Understanding DHCP \u2013 Dynamic Host Configuration Protocol<\/strong><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">When a host gets connected to a network, it needs some basic configurations like IP address, subnet mask, gateway IP, DNS server\u2019s IP and so on. These can be given manually, but it will be difficult to do this every time, especially when the device moves from one network to another. This is where <strong>DHCP<\/strong> helps. It will provide all these parameters automatically when a host connects to the network.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In a DHCP setup, we will have a <strong>DHCP server<\/strong> with a pool of IP addresses. From this pool, the server will allocate IPs to the clients who request them. Along with the IP, the server will also provide other details like mask, gateway, DNS, and lease time. DHCP works on UDP, with port <strong>67<\/strong> used at the server side and <strong>68<\/strong> at the client side.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-large-font-size\"><strong>How the DHCP process works<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"1024\" height=\"847\" src=\"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/DHCP-DORA-Process.png?resize=1024%2C847&#038;ssl=1\" alt=\"DHCP DORA process diagram showing Discover, Offer, Request, and Acknowledge packet flow with broadcast, unicast, and port numbers between client and server.\" class=\"wp-image-1292\" loading=\"lazy\" srcset=\"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/DHCP-DORA-Process.png?resize=1024%2C847&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/DHCP-DORA-Process.png?resize=300%2C248&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/DHCP-DORA-Process.png?resize=768%2C635&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/DHCP-DORA-Process.png?w=1139&amp;ssl=1 1139w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">DHCP DORA Process<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">When a client connects to a network (like switching on a computer, turning on Wi-Fi, or plugging in a cable), the DHCP client inside the device will automatically start. It will send a <strong>DHCP Discover<\/strong> packet to request an IP. This is sent as a broadcast packet, so every device on the network will receive it. But only the DHCP server, which listens on port 67, will respond.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The server replies with a <strong>DHCP Offer<\/strong> packet, which contains all the details needed for the client to start working: IP, mask, gateway, DNS, etc.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In many networks, there will be more than one DHCP server for redundancy. So the client may get multiple Offer packets. Normally, the client will choose the first offer it receives. But here is a point to note: every server that sent an offer will temporarily reserve one IP for that client. Now the client has to inform the servers which offer it has accepted. For this, it sends a <strong>DHCP Request<\/strong> packet, where it mentions the IP it is accepting and also the server\u2019s IP.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The server from which the client accepted the IP will then send back a <strong>DHCP Acknowledgement<\/strong> packet. At this point, the process is complete and the client starts using the allocated IP.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This entire sequence: <strong>Discover, Offer, Request, Acknowledge<\/strong> is what we call the <strong>DORA process<\/strong> in DHCP.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example in real life<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Take your home Wi-Fi router. The router acts as a DHCP server. When you connect your phone:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The phone sends a Discover message.<\/li>\n\n\n\n<li>The router replies with an Offer (with an IP something like 192.168.1.1)<\/li>\n\n\n\n<li>The phone sends a Request asking to use that IP.<\/li>\n\n\n\n<li>The router replies with an Acknowledgement.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Now the phone has an IP and is ready to use the internet. You didn\u2019t configure anything \u2013 DHCP did it for you.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<h2 class=\"wp-block-heading has-large-font-size\"><strong>DHCP Lease Time and Renewal<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When a DHCP server gives an IP address to a client, it is not permanent. The IP is given only for a fixed duration, and this period is called the <strong>lease time<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If the client wants to continue using the same IP for longer, it must <strong>renew<\/strong> the lease. This renewal process also helps the server keep track of whether the client is still connected to the network. If the client disconnects and does not renew, the server can take back that IP and assign it to someone else.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Renewal Timers \u2013 T1 and T2<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">DHCP uses two important timers for the renewal process: <strong>T1<\/strong> and <strong>T2<\/strong>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>T1 (Renewal Timer)<\/strong>\n<ul class=\"wp-block-list\">\n<li>This is set at <strong>50% of the lease time<\/strong>.<\/li>\n\n\n\n<li>When the client has completed half of its lease period, it sends a <strong>DHCP Request<\/strong> packet directly to the server (unicast).<\/li>\n\n\n\n<li>If the server is available and willing to renew, it replies with a <strong>DHCP Acknowledgement (ACK)<\/strong>.<\/li>\n\n\n\n<li>The client can then continue using the IP for the extended lease time mentioned in this ACK.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>T2 (Rebinding Timer)<\/strong>\n<ul class=\"wp-block-list\">\n<li>If the server does not respond to the T1 attempt, the client waits until <strong>87.5% of the lease time<\/strong> is completed.<\/li>\n\n\n\n<li>At this point, it tries again, but this time by sending the request as a <strong>broadcast<\/strong>.<\/li>\n\n\n\n<li>This way, if there are any other DHCP servers on the network, they can also respond and renew the IP for the client.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Lease Expiry<\/strong>\n<ul class=\"wp-block-list\">\n<li>If both renewal attempts fail (at T1 and T2), then once the lease time is completely over, the client will give up the IP.<\/li>\n\n\n\n<li>The IP is set back to 0.0.0.0, and the client restarts the <strong>DORA process<\/strong> to get a fresh IP from the network.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Suppose the DHCP lease time is 24 hours:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>At the <strong>12th hour (50%)<\/strong>, the client tries to renew using T1.<\/li>\n\n\n\n<li>If no reply, at the <strong>21st hour (87.5%)<\/strong>, it tries again using T2 (broadcast).<\/li>\n\n\n\n<li>If still no reply, at the end of 24 hours, the client loses the IP and has to start DORA again.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<h2 class=\"wp-block-heading has-large-font-size\"><strong>Other DHCP Packet Types<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">So far we have seen the main packets in the DORA process. But DHCP also uses a few more packet types for different situations.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>DHCP Decline<\/strong>\n<ul class=\"wp-block-list\">\n<li>If a client receives an IP from the server but finds that the IP is already in use (for example, by checking with an ARP probe), it will send a <strong>Decline<\/strong> message back to the server.<\/li>\n\n\n\n<li>This tells the server that the offered IP is not usable, and the server should mark it as bad and pick another IP for allocation.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>DHCP Release<\/strong>\n<ul class=\"wp-block-list\">\n<li>When a client no longer needs an IP (for example, when shutting down or moving to another network), it can send a <strong>Release<\/strong> message to the server.<\/li>\n\n\n\n<li>This informs the server to put that IP back into the available pool so it can be assigned to another client.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>DHCP Inform<\/strong>\n<ul class=\"wp-block-list\">\n<li>Sometimes a client may already have an IP address (manually configured or otherwise) but still needs other network parameters like DNS or gateway.<\/li>\n\n\n\n<li>In this case, the client can send a <strong>DHCP Inform<\/strong> message, and the server will reply with the required details without assigning a new IP.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>DHCP Nak (Negative Acknowledgement)<\/strong>\n<ul class=\"wp-block-list\">\n<li>If a client tries to use an IP that is not valid in the server\u2019s network or if the IP has expired, the server can respond with a <strong>Nak<\/strong>.<\/li>\n\n\n\n<li>This tells the client to stop using that IP and start the DORA process again to get a new valid IP.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<h2 class=\"wp-block-heading has-large-font-size\"><strong>DHCP Relay Agent<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In small networks, the DHCP server is usually in the same LAN as the clients, so the Discover message (which is a broadcast) can directly reach the server. But in large enterprise networks, you cannot keep a DHCP server in every LAN or VLAN.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The issue here is that broadcast packets do not cross routers. So if the DHCP server is in a different network, the client\u2019s <strong>DHCP Discover<\/strong> will never reach it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To solve this, we use a <strong>DHCP Relay Agent<\/strong>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The relay agent is usually configured on the router or Layer-3 switch that connects the client\u2019s network to the DHCP server\u2019s network.<\/li>\n\n\n\n<li>When the client sends a Discover message as a broadcast, the relay agent will capture it.<\/li>\n\n\n\n<li>The relay agent then forwards this request as a <strong>unicast<\/strong> packet to the DHCP server. It will also add the information about which network the request came from (using the giaddr field in the DHCP packet).<\/li>\n\n\n\n<li>The DHCP server, after preparing an Offer, will send the reply back to the relay agent.<\/li>\n\n\n\n<li>Finally, the relay agent forwards this reply back to the client in the original LAN.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This way, even if the server is in a different network, clients can still get IP addresses automatically.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example<\/strong>:<br>Suppose you have 10 different VLANs in an office but only one DHCP server in the data center. Instead of keeping 10 servers, you configure each router interface as a DHCP relay agent. Now all client requests from the VLANs will be forwarded to the central DHCP server, and the server will assign the correct IPs based on the VLAN they came from.<br><br><br><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<h2 class=\"wp-block-heading has-large-font-size\"><strong>Configuring DHCP on a Cisco Router<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"1024\" height=\"446\" src=\"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-21-170735.png?resize=1024%2C446&#038;ssl=1\" alt=\"Network topology showing a router configured as DHCP server at 1.1.1.1\/24 connected to a switch and two hosts.\" class=\"wp-image-1293\" loading=\"lazy\" srcset=\"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-21-170735.png?resize=1024%2C446&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-21-170735.png?resize=300%2C131&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-21-170735.png?resize=768%2C334&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-21-170735.png?w=1409&amp;ssl=1 1409w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">Example topology for DHCP configuration with a router as DHCP server and two client hosts<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In the above topology, we have a router with the IP address 1.1.1.1\/24. The network is 1.1.1.0 255.255.255.0 and we want to configure this router as a DHCP server so that it can assign IPs to the clients automatically.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Gateway (default-router):<\/strong> 1.1.1.1<\/li>\n\n\n\n<li><strong>DNS server:<\/strong> 4.4.4.4<\/li>\n\n\n\n<li><strong>Lease time:<\/strong> 10 minutes (0 days 0 hours 10 minutes)<\/li>\n\n\n\n<li><strong>Excluded IPs:<\/strong> 1.1.1.1 to 1.1.1.10 (these will not be assigned to clients)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 1: Exclude the IP range<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First, we exclude the IPs that should not be given to clients. These are usually reserved for routers, switches, servers, or static devices.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Router(config)# ip dhcp excluded-address 1.1.1.1 1.1.1.10<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 2: Create the DHCP pool<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now we create a pool and give it a name (for example, OfficeNetwork)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Router(config)# ip dhcp pool OfficeNetwork<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 3: Define the network range<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here we tell the router which network this pool belongs to.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Router(dhcp-config)# network 1.1.1.0 255.255.255.0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 4: Configure the default gateway<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is the IP that clients will use as their gateway (in this case, the router itself).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Router(dhcp-config)# default-router 1.1.1.1<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 5: Configure the DNS server<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We can give the clients a DNS server. Here we set it to 4.4.4.4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Router(dhcp-config)# dns-server 4.4.4.4<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 6: Configure the lease time<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Finally, we set the lease time to <strong>10 minutes<\/strong>. The format is <strong>days hours minutes<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Router(dhcp-config)# lease 0 0 10<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now the DHCP configuration is complete. When any client connects to this network, it will get an IP from the range 1.1.1.11 \u2013 1.1.1.254 (because .1 to .10 are excluded). Along with the IP, it will also receive the mask, gateway, DNS server, and lease time.<\/p>\n<\/body>","protected":false},"excerpt":{"rendered":"<p>Understanding DHCP \u2013 Dynamic Host Configuration Protocol When a host gets connected to a network, it needs some basic configurations like IP address, subnet mask, gateway IP, DNS server\u2019s IP and so on. These can be given manually, but it will be difficult to do this every time, especially when the device moves from one [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"wp-custom-template-post-with-sidebar2","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[330],"tags":[390,380,385,389,387,386,388,391,337],"class_list":["post-1291","post","type-post","status-publish","format-standard","hentry","category-networking-fundamentals","tag-cisco-dhcp-configuration","tag-computer-networks","tag-dhcp","tag-dhcp-dora-process","tag-dhcp-lease-time","tag-dhcp-relay-agent","tag-dynamic-host-configuration-protocol","tag-ip-addressing","tag-networking-basics"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Understanding DHCP - How Dynamic IP Allocation Works - Tutorials<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-dhcp-how-dynamic-ip-allocation-works\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DHCP Guide \u2013 How DORA Works, Lease Time, and Configuration\" \/>\n<meta property=\"og:description\" content=\"Learn DHCP in a simple way. Understand how IPs are assigned automatically with the DORA process, how lease timers work, the role of relay agents, and how to configure DHCP on a Cisco router.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-dhcp-how-dynamic-ip-allocation-works\" \/>\n<meta property=\"og:site_name\" content=\"Tutorials\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/zframez\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-21T11:49:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-21T15:08:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/DHCP-DORA-Process.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1139\" \/>\n\t<meta property=\"og:image:height\" content=\"942\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"sajith achipra\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@zframez\" \/>\n<meta name=\"twitter:site\" content=\"@zframez\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"sajith achipra\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-dhcp-how-dynamic-ip-allocation-works#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-dhcp-how-dynamic-ip-allocation-works\"},\"author\":{\"name\":\"sajith achipra\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#\\\/schema\\\/person\\\/8b3b88007644501771d2452d3cc80f41\"},\"headline\":\"Understanding DHCP &#8211; How Dynamic IP Allocation Works\",\"datePublished\":\"2025-08-21T11:49:08+00:00\",\"dateModified\":\"2025-08-21T15:08:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-dhcp-how-dynamic-ip-allocation-works\"},\"wordCount\":1580,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-dhcp-how-dynamic-ip-allocation-works#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/DHCP-DORA-Process-1024x847.png\",\"keywords\":[\"Cisco DHCP configuration\",\"computer networks\",\"DHCP\",\"DHCP DORA process\",\"DHCP lease time\",\"DHCP relay agent\",\"Dynamic Host Configuration Protocol\",\"IP addressing\",\"networking basics\"],\"articleSection\":[\"Networking Fundamentals\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-dhcp-how-dynamic-ip-allocation-works#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-dhcp-how-dynamic-ip-allocation-works\",\"url\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-dhcp-how-dynamic-ip-allocation-works\",\"name\":\"Understanding DHCP - How Dynamic IP Allocation Works - Tutorials\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-dhcp-how-dynamic-ip-allocation-works#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-dhcp-how-dynamic-ip-allocation-works#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/DHCP-DORA-Process-1024x847.png\",\"datePublished\":\"2025-08-21T11:49:08+00:00\",\"dateModified\":\"2025-08-21T15:08:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-dhcp-how-dynamic-ip-allocation-works#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-dhcp-how-dynamic-ip-allocation-works\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-dhcp-how-dynamic-ip-allocation-works#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.zframez.com\\\/articles\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/DHCP-DORA-Process.png?fit=1139%2C942&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.zframez.com\\\/articles\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/DHCP-DORA-Process.png?fit=1139%2C942&ssl=1\",\"width\":1139,\"height\":942},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-dhcp-how-dynamic-ip-allocation-works#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Tutorials\",\"item\":\"https:\\\/\\\/www.zframez.com\\\/articles\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Understanding DHCP &#8211; How Dynamic IP Allocation Works\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#website\",\"url\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/\",\"name\":\"zframez tutorials\",\"description\":\"Learn networking bit by bit\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#organization\",\"name\":\"zframez technologies\",\"url\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.zframez.com\\\/articles\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/zframez-logo.jpg?fit=864%2C864&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.zframez.com\\\/articles\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/zframez-logo.jpg?fit=864%2C864&ssl=1\",\"width\":864,\"height\":864,\"caption\":\"zframez technologies\"},\"image\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/zframez\\\/\",\"https:\\\/\\\/x.com\\\/zframez\",\"https:\\\/\\\/www.instagram.com\\\/zframez_technologies\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#\\\/schema\\\/person\\\/8b3b88007644501771d2452d3cc80f41\",\"name\":\"sajith achipra\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3d9f27c5311500982b6f19d03d0506f1c328f30f51d8d5f73f46577687fd81f8?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3d9f27c5311500982b6f19d03d0506f1c328f30f51d8d5f73f46577687fd81f8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3d9f27c5311500982b6f19d03d0506f1c328f30f51d8d5f73f46577687fd81f8?s=96&d=mm&r=g\",\"caption\":\"sajith achipra\"},\"sameAs\":[\"http:\\\/\\\/www.zframez.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Understanding DHCP - How Dynamic IP Allocation Works - Tutorials","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-dhcp-how-dynamic-ip-allocation-works","og_locale":"en_US","og_type":"article","og_title":"DHCP Guide \u2013 How DORA Works, Lease Time, and Configuration","og_description":"Learn DHCP in a simple way. Understand how IPs are assigned automatically with the DORA process, how lease timers work, the role of relay agents, and how to configure DHCP on a Cisco router.","og_url":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-dhcp-how-dynamic-ip-allocation-works","og_site_name":"Tutorials","article_publisher":"https:\/\/www.facebook.com\/zframez\/","article_published_time":"2025-08-21T11:49:08+00:00","article_modified_time":"2025-08-21T15:08:25+00:00","og_image":[{"width":1139,"height":942,"url":"https:\/\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/DHCP-DORA-Process.png","type":"image\/png"}],"author":"sajith achipra","twitter_card":"summary_large_image","twitter_creator":"@zframez","twitter_site":"@zframez","twitter_misc":{"Written by":"sajith achipra","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-dhcp-how-dynamic-ip-allocation-works#article","isPartOf":{"@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-dhcp-how-dynamic-ip-allocation-works"},"author":{"name":"sajith achipra","@id":"https:\/\/www.zframez.com\/articles\/#\/schema\/person\/8b3b88007644501771d2452d3cc80f41"},"headline":"Understanding DHCP &#8211; How Dynamic IP Allocation Works","datePublished":"2025-08-21T11:49:08+00:00","dateModified":"2025-08-21T15:08:25+00:00","mainEntityOfPage":{"@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-dhcp-how-dynamic-ip-allocation-works"},"wordCount":1580,"commentCount":0,"publisher":{"@id":"https:\/\/www.zframez.com\/articles\/#organization"},"image":{"@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-dhcp-how-dynamic-ip-allocation-works#primaryimage"},"thumbnailUrl":"https:\/\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/DHCP-DORA-Process-1024x847.png","keywords":["Cisco DHCP configuration","computer networks","DHCP","DHCP DORA process","DHCP lease time","DHCP relay agent","Dynamic Host Configuration Protocol","IP addressing","networking basics"],"articleSection":["Networking Fundamentals"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-dhcp-how-dynamic-ip-allocation-works#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-dhcp-how-dynamic-ip-allocation-works","url":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-dhcp-how-dynamic-ip-allocation-works","name":"Understanding DHCP - How Dynamic IP Allocation Works - Tutorials","isPartOf":{"@id":"https:\/\/www.zframez.com\/articles\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-dhcp-how-dynamic-ip-allocation-works#primaryimage"},"image":{"@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-dhcp-how-dynamic-ip-allocation-works#primaryimage"},"thumbnailUrl":"https:\/\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/DHCP-DORA-Process-1024x847.png","datePublished":"2025-08-21T11:49:08+00:00","dateModified":"2025-08-21T15:08:25+00:00","breadcrumb":{"@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-dhcp-how-dynamic-ip-allocation-works#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-dhcp-how-dynamic-ip-allocation-works"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-dhcp-how-dynamic-ip-allocation-works#primaryimage","url":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/DHCP-DORA-Process.png?fit=1139%2C942&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/DHCP-DORA-Process.png?fit=1139%2C942&ssl=1","width":1139,"height":942},{"@type":"BreadcrumbList","@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-dhcp-how-dynamic-ip-allocation-works#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Tutorials","item":"https:\/\/www.zframez.com\/articles"},{"@type":"ListItem","position":2,"name":"Understanding DHCP &#8211; How Dynamic IP Allocation Works"}]},{"@type":"WebSite","@id":"https:\/\/www.zframez.com\/articles\/#website","url":"https:\/\/www.zframez.com\/articles\/","name":"zframez tutorials","description":"Learn networking bit by bit","publisher":{"@id":"https:\/\/www.zframez.com\/articles\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.zframez.com\/articles\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.zframez.com\/articles\/#organization","name":"zframez technologies","url":"https:\/\/www.zframez.com\/articles\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.zframez.com\/articles\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/zframez-logo.jpg?fit=864%2C864&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/zframez-logo.jpg?fit=864%2C864&ssl=1","width":864,"height":864,"caption":"zframez technologies"},"image":{"@id":"https:\/\/www.zframez.com\/articles\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/zframez\/","https:\/\/x.com\/zframez","https:\/\/www.instagram.com\/zframez_technologies\/"]},{"@type":"Person","@id":"https:\/\/www.zframez.com\/articles\/#\/schema\/person\/8b3b88007644501771d2452d3cc80f41","name":"sajith achipra","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3d9f27c5311500982b6f19d03d0506f1c328f30f51d8d5f73f46577687fd81f8?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3d9f27c5311500982b6f19d03d0506f1c328f30f51d8d5f73f46577687fd81f8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3d9f27c5311500982b6f19d03d0506f1c328f30f51d8d5f73f46577687fd81f8?s=96&d=mm&r=g","caption":"sajith achipra"},"sameAs":["http:\/\/www.zframez.com"]}]}},"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":1281,"url":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-address-resolution-protocol-how-arp-works","url_meta":{"origin":1291,"position":0},"title":"Understanding Address Resolution Protocol \u2013 How ARP Works","author":"sajith achipra","date":"August 11, 2025","format":false,"excerpt":"ARP \u00a0- Address Resolution Protocol ARP is used to find the MAC address of the next device to which the packet should be sent. When a device creates a packet, in the Ethernet header we need two MAC addresses - source MAC and destination MAC.The source MAC will always be\u2026","rel":"","context":"In &quot;Networking Fundamentals&quot;","block_context":{"text":"Networking Fundamentals","link":"https:\/\/www.zframez.com\/articles\/category\/networking-fundamentals"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-11-220219.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-11-220219.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-11-220219.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-11-220219.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-11-220219.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":1307,"url":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/introduction-to-tcp","url_meta":{"origin":1291,"position":1},"title":"Introduction to TCP","author":"sajith achipra","date":"September 12, 2025","format":false,"excerpt":"Introduction to TCP TCP and UDP are two transport layer protocols used to carry port numbers. We use these protocols to connect one process on a system to another process on the other side. Normally when a device sends a packet to a destination, it is meant to be collected\u2026","rel":"","context":"In &quot;Networking Fundamentals&quot;","block_context":{"text":"Networking Fundamentals","link":"https:\/\/www.zframez.com\/articles\/category\/networking-fundamentals"},"img":{"alt_text":"A diagram of the TCP three-way handshake showing the sequence of segments with SYN, SYN-ACK, and ACK flag bits.","src":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/09\/TCP-three-way-connection-establishment.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/09\/TCP-three-way-connection-establishment.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/09\/TCP-three-way-connection-establishment.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/09\/TCP-three-way-connection-establishment.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/09\/TCP-three-way-connection-establishment.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/09\/TCP-three-way-connection-establishment.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":1221,"url":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/networking-terminologies-a-beginners-guide-part-1","url_meta":{"origin":1291,"position":2},"title":"Networking Terminologies \u2013 A Beginner\u2019s Guide Part 1","author":"sajith achipra","date":"July 29, 2025","format":false,"excerpt":"Understanding how computer networks work starts with learning a few essential terms. This post introduces some of the core networking concepts in a simple and practical way. If you're just getting started with networking or brushing up on the basics, this will give you a solid foundation to build on.\u2026","rel":"","context":"In &quot;Networking Fundamentals&quot;","block_context":{"text":"Networking Fundamentals","link":"https:\/\/www.zframez.com\/articles\/category\/networking-fundamentals"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/07\/OSI-vs-TCP-IP-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/07\/OSI-vs-TCP-IP-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/07\/OSI-vs-TCP-IP-1.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/07\/OSI-vs-TCP-IP-1.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":1256,"url":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-network-addresses-and-routing-tables-in-ip-networks","url_meta":{"origin":1291,"position":3},"title":"Understanding Network Addresses and Routing Tables in IP Networks","author":"sajith achipra","date":"August 1, 2025","format":false,"excerpt":"Understanding Network Addresses and Their Role in Routing When we assign an IP address to a device, like 1.2.3.4\/24, it's not just about identifying a single machine. That IP belongs to a network, and the address 1.2.3.0 in this case is known as the network address. But why do we\u2026","rel":"","context":"In &quot;Networking Fundamentals&quot;","block_context":{"text":"Networking Fundamentals","link":"https:\/\/www.zframez.com\/articles\/category\/networking-fundamentals"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-of-a-PC-with-2-interfaces.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-of-a-PC-with-2-interfaces.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-of-a-PC-with-2-interfaces.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-of-a-PC-with-2-interfaces.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-of-a-PC-with-2-interfaces.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-of-a-PC-with-2-interfaces.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":509,"url":"https:\/\/www.zframez.com\/articles\/protocol-testing\/protocol-testing-interview-questions-and-answers-part-1","url_meta":{"origin":1291,"position":4},"title":"Protocol Testing Interview Questions and Answers: Part 1","author":"sajith achipra","date":"August 4, 2024","format":false,"excerpt":"Protocol Testing Interview Questions and Answers If you\u2019re preparing for a job in network protocol testing, these protocol testing interview questions and answers will help you get ready. Protocol testing interview questions typically revolve around specific terms used in protocol testing, general software testing concepts, testing tools, test cases, test\u2026","rel":"","context":"In &quot;interview questions and answers&quot;","block_context":{"text":"interview questions and answers","link":"https:\/\/www.zframez.com\/articles\/category\/interview-questions-and-answers"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-04-124635.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-04-124635.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-04-124635.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-04-124635.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-04-124635.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-04-124635.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":1243,"url":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-ip-addressing-cidr-subnet-masks-network-and-host-calculation","url_meta":{"origin":1291,"position":5},"title":"Understanding IP Addressing \u2013 CIDR, Subnet Masks, Network and Host Calculation","author":"sajith achipra","date":"July 30, 2025","format":false,"excerpt":"Understanding IP Addressing \u2013 Network and Host, CIDR, and Address Calculations When we look at an IP address like 192.168.1.20, it just looks like a bunch of numbers. But the truth is, that address is made up of two parts: one part tells us which network it belongs to, and\u2026","rel":"","context":"In &quot;Networking Fundamentals&quot;","block_context":{"text":"Networking Fundamentals","link":"https:\/\/www.zframez.com\/articles\/category\/networking-fundamentals"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/posts\/1291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/comments?post=1291"}],"version-history":[{"count":2,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/posts\/1291\/revisions"}],"predecessor-version":[{"id":1295,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/posts\/1291\/revisions\/1295"}],"wp:attachment":[{"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/media?parent=1291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/categories?post=1291"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/tags?post=1291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}