{"id":1243,"date":"2025-07-30T13:31:17","date_gmt":"2025-07-30T13:31:17","guid":{"rendered":"https:\/\/www.zframez.com\/articles\/?p=1243"},"modified":"2025-07-30T13:31:22","modified_gmt":"2025-07-30T13:31:22","slug":"understanding-ip-addressing-cidr-subnet-masks-network-and-host-calculation","status":"publish","type":"post","link":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-ip-addressing-cidr-subnet-masks-network-and-host-calculation","title":{"rendered":"Understanding IP Addressing \u2013 CIDR, Subnet Masks, Network and Host Calculation"},"content":{"rendered":"<body>\n<p class=\"wp-block-paragraph\"><strong>Understanding IP Addressing \u2013 Network and Host, CIDR, and Address Calculations<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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 the other part tells us which device (or host) it is within that network.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The tricky thing is \u2013 you can\u2019t tell which part is which just by looking at the IP. You also need something called a <strong>subnet mask<\/strong> or <strong>CIDR value<\/strong> to make sense of it.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Network Part and Host Part<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">An IP address is a 32-bit number. Some bits are used to identify the <strong>network<\/strong>, and the remaining bits are used to identify the <strong>host<\/strong> inside that network.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>IP: 192.168.1.20<\/li>\n\n\n\n<li>Mask: 255.255.255.0 (or \/24 in CIDR)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">In this case, the first 24 bits are in network part and the last 8 bits are in host part, so:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The <strong>network part<\/strong> is 192.168.1<\/li>\n\n\n\n<li>The <strong>host part<\/strong> is 20<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">(This IP belongs to the network 192.168.1.0, and the device number is 20 within that network.)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>CIDR Value and Mask \u2013 How They Work<br><\/strong>Both CIDR Value and mask tell us how many bits are reserved for identifying the <strong>network part<\/strong>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You might have seen IP addresses written like 192.168.1.1\/24 \u2013 here, \/<strong>24<\/strong> means that the first 24 bits are used for the network part. This way of showing how many bits are in the network portion is called CIDR notation.<\/li>\n\n\n\n<li>The mask 255.255.255.0 is just another way of saying that 24 bits are in the network part. In this format, to understand how many bits are used for the network, you need to convert the mask to binary and count the number of 1s. For example, 255.255.255.0 in binary is 11111111.11111111.11111111.00000000 \u2013 if you count the number of 1s, there are 24. That means 24 bits are used for the network part.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How to Convert CIDR to Subnet Mask<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">CIDR notation (like \/24) tells us how many bits are used for the <strong>network part<\/strong>. The rest is for the <strong>host part<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Each IP address has 32 bits, divided into 4 blocks of 8 bits (called octets).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>To convert a CIDR value to a subnet mask, you start by writing that many 1s from the left (based on the CIDR number), then fill the remaining bits with 0s to complete 32 bits. Group them into 8-bit blocks to get the 4 octets of the mask.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s look at some examples:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\/24 \u2192 24 bits for network<br>So the first 3 octets are full 1s:<br>11111111.11111111.11111111.00000000<br>\u2192 Mask: <strong>255.255.255.0<\/strong><\/li>\n\n\n\n<li>\/26 \u2192 26 bits for network<br>That\u2019s 3 full octets and 2 extra bits in the 4th octet:<br>11111111.11111111.11111111.11000000<br>\u2192 Mask: <strong>255.255.255.192<\/strong><\/li>\n\n\n\n<li>\/30 \u2192 30 bits for network<br>3 full octets and 6 bits in the last one:<br>11111111.11111111.11111111.11111100<br>\u2192 Mask: <strong>255.255.255.252<\/strong><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">You don\u2019t have to memorize the binary, just remember:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Each <strong>8 bits of 1s<\/strong> = 255<\/li>\n\n\n\n<li>7 bits = 254, 6 bits = 252, 5 bits = 248, 4 bits = 240, and so on<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>CIDR Value<\/th><th>Subnet Mask<\/th><th>Number of IPs in Network<\/th><\/tr><\/thead><tbody><tr><td>\/30<\/td><td>255.255.255.252<\/td><td>4<\/td><\/tr><tr><td>\/29<\/td><td>255.255.255.248<\/td><td>8<\/td><\/tr><tr><td>\/28<\/td><td>255.255.255.240<\/td><td>16<\/td><\/tr><tr><td>\/27<\/td><td>255.255.255.224<\/td><td>32<\/td><\/tr><tr><td>\/26<\/td><td>255.255.255.192<\/td><td>64<\/td><\/tr><tr><td>\/25<\/td><td>255.255.255.128<\/td><td>128<\/td><\/tr><tr><td>\/24<\/td><td>255.255.255.0<\/td><td>256<\/td><\/tr><tr><td>\/23<\/td><td>255.255.254.0<\/td><td>512<\/td><\/tr><tr><td>\/22<\/td><td>255.255.252.0<\/td><td>1024<\/td><\/tr><tr><td>\/21<\/td><td>255.255.248.0<\/td><td>2048<\/td><\/tr><tr><td>\/20<\/td><td>255.255.240.0<\/td><td>4096<\/td><\/tr><tr><td>\/19<\/td><td>255.255.224.0<\/td><td>8192<\/td><\/tr><tr><td>\/18<\/td><td>255.255.192.0<\/td><td>16384<\/td><\/tr><tr><td>\/17<\/td><td>255.255.128.0<\/td><td>32768<\/td><\/tr><tr><td>\/16<\/td><td>255.255.0.0<\/td><td>65536<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Why CIDR or Mask is Important<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can\u2019t tell if two IPs are in the same network just by comparing the first few numbers. Here\u2019s an example:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>IP1: 10.1.1.5<\/li>\n\n\n\n<li>IP2: 10.1.1.200<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Are these two in the same network?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If the mask is \/24 (i.e., 255.255.255.0), then <strong>yes<\/strong>, both are in the network : 10.1.1.0\/24<\/li>\n\n\n\n<li>But if the mask is \/25 (i.e., 255.255.255.128), then:\n<ul class=\"wp-block-list\">\n<li>10.1.1.5 is in the network: \u00a010.1.1.0\/25<\/li>\n\n\n\n<li>10.1.1.200 is in the network: 10.1.1.128\/25<\/li>\n\n\n\n<li>So, <strong>they\u2019re in different networks if the mask is 25 and they\u2019re in same network if mask is 24.<\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s why the <strong>CIDR value or mask<\/strong> is essential for understanding IP addressing.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How to Check if Two IPs Are in the Same Network<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you\u2019re given two IP addresses and a subnet mask or CIDR value, here\u2019s how to check whether they belong to the same network.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Steps:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Convert each IP address to binary.<\/li>\n\n\n\n<li>Convert the subnet mask (or CIDR) to binary.<\/li>\n\n\n\n<li>Do a bitwise AND between the IP and the mask. This gives you the network address.<\/li>\n\n\n\n<li>If the network address of both IPs is the same, they are in the same network.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Example:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>IP1: 192.168.1.10<\/li>\n\n\n\n<li>IP2: 192.168.1.100<\/li>\n\n\n\n<li>Mask: \/24 \u2192 255.255.255.0<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Binary:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>IP1 \u2192 11000000.10101000.00000001.00001010<\/li>\n\n\n\n<li>IP2 \u2192 11000000.10101000.00000001.01100100<\/li>\n\n\n\n<li>Mask \u2192 11111111.11111111.11111111.00000000<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Now apply bitwise AND:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>IP1 AND Mask \u2192 11000000.10101000.00000001.00000000 \u2192 192.168.1.0<\/li>\n\n\n\n<li>IP2 AND Mask \u2192 11000000.10101000.00000001.00000000 \u2192 192.168.1.0<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Result: Both IPs are part of the 192.168.1.0\/24 network.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If their results were different, they\u2019d be in different networks.<br><br><strong>A Quicker Way to Check \u2013 Compare Network Part Bits<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The previous method is the proper and accurate way to check if two IPs are on the same network \u2013 apply the mask and compare the network addresses.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But here\u2019s a quicker way that gives the same result:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Convert both IPs to binary.<\/li>\n\n\n\n<li>Check only the first <em>n<\/em> bits, where <em>n<\/em> is the number of bits in the network part (CIDR value).<\/li>\n\n\n\n<li>If these <em>n<\/em> bits are the same in both IPs \u2192 they are in the same network.<\/li>\n\n\n\n<li>If they differ \u2192 they\u2019re in different networks.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Example using \/24:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>IP1: 192.168.1.10 \u2192 <strong>11000000.10101000.00000001<\/strong>.00001010<\/li>\n\n\n\n<li>IP2: 192.168.1.100 \u2192 <strong>11000000.10101000.00000001<\/strong>.01100100<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">For \/24, look at the first 24 bits. In both cases, the first 24 bits are the same, so they\u2019re in the same network.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is a handy mental trick when you get familiar with binary notation.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Network Address, Host Address, and Broadcast Address<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In any IP network, you\u2019ll always have three types of addresses:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Network address<\/strong> \u2013 Identifies the network itself. It\u2019s the first address in the range and cannot be assigned to any device.<\/li>\n\n\n\n<li><strong>Broadcast address<\/strong> \u2013 The last address in the range. It\u2019s used to send data to all hosts in that network.<\/li>\n\n\n\n<li><strong>Host addresses<\/strong> \u2013 All the IPs in between. These are assignable to devices like PCs, routers, etc.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How to Find the Network Address<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To find the network address:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Convert the given IP address to binary.<\/li>\n\n\n\n<li>Identify the <strong>host part<\/strong> based on the subnet mask or CIDR.<\/li>\n\n\n\n<li>Change all the bits in the host part to 0.<\/li>\n\n\n\n<li>Convert the binary back to decimal \u2013 that\u2019s your network address.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example 1:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>IP:<\/strong> 192.168.1.10<br><strong>CIDR:<\/strong> \/24 \u2192 means first 24 bits are network part<br><strong>Binary of IP:<\/strong><br>11000000.10101000.00000001.00001010<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, set all the last 8 bits (host part) to 0:<br>11000000.10101000.00000001.00000000<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Convert back to decimal:<br><strong>Network Address = 192.168.1.0<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How to Find the Broadcast Address<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To find the broadcast address:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Convert the IP to binary.<\/li>\n\n\n\n<li>Set all the bits in the host part to 1.<\/li>\n\n\n\n<li>Convert back to decimal \u2013 that\u2019s your broadcast address.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Using the same example:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Set the last 8 bits to 1:<br>11000000.10101000.00000001.11111111<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Convert to decimal:<br><strong>Broadcast Address = 192.168.1.255<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example 2:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>IP:<\/strong> 10.0.8.45<br><strong>CIDR:<\/strong> \/22 \u2192 first 22 bits are network, remaining 10 are host<br><strong>Binary of IP:<\/strong><br>00001010.00000000.00001000.00101101<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Network part (first 22 bits):<\/strong><br>00001010.00000000.000010<br><strong>Host part (last 10 bits):<\/strong><br>0000101101<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Set host part to 0:<br>00001010.00000000.00001000.00000000 \u2192 <strong>Network Address = 10.0.8.0<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Set host part to 1:<br>00001010.00000000.00001011.11111111 \u2192 <strong>Broadcast Address = 10.0.11.255<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How Many IPs in a Network?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The formula to calculate the number of usable IPs:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Usable IPs = 2^n \u2013 2<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Where n = number of bits in the host part.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Examples:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\/24 \u2192 32 \u2013 24 = 8 bits for host \u2192 2^8 = 256 \u2192 256 \u2013 2 = <strong>254 usable IPs<\/strong><\/li>\n\n\n\n<li>\/30 \u2192 2 bits for host \u2192 2^2 = 4 \u2192 4 \u2013 2 = <strong>2 usable IPs<\/strong><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The subtraction of 2 is because:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>One IP is reserved for the <strong>network address<\/strong><\/li>\n\n\n\n<li>One IP is reserved for the <strong>broadcast address<\/strong><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<p class=\"has-x-large-font-size wp-block-paragraph\"><strong>Practice Questions<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Question 1.<\/strong><br>IP Address: 192.168.10.34, CIDR: \/24<br>What is the <strong>network address<\/strong> and the <strong>broadcast address<\/strong>?<\/p>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>Show Answer<\/summary>\n<p class=\"wp-block-paragraph\">CIDR \/24 means the last octet is for host.<br>Broadcast address = 192.168.10.255<br>Network address = 192.168.10.0<\/p>\n<\/details>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Question 2.<\/strong><br>IP Address: 172.16.5.200, CIDR: \/20<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>How many <strong>usable IPs<\/strong> are available in this network?<\/li>\n\n\n\n<li>What is the <strong>network address<\/strong>?<\/li>\n<\/ol>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>Show Answer<\/summary>\n<p class=\"wp-block-paragraph\">\/20 leaves 12 bits for host \u2192 2^12 = 4096 IPs<br>\u2192 Usable = 4096 \u2013 2 = 4094<br>Network address = 172.16.0.0<\/p>\n<\/details>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Question 3.<\/strong><br>You need to create a subnet that supports <strong>at least 60 devices<\/strong>.<br>What <strong>CIDR<\/strong> should you use, and what will be the <strong>subnet mask<\/strong>?<\/p>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>Show Answer<\/summary>\n<p class=\"wp-block-paragraph\">You need at least 60 usable IPs \u2192 2^6 = 64<br>Subnet mask = 255.255.255.192<br>CIDR = \/26<\/p>\n<\/details>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Question 4.<\/strong><br>Given subnet mask: \/25<br>You have the following IPs:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>192.168.1.65<\/li>\n\n\n\n<li>192.168.1.80<\/li>\n\n\n\n<li>192.168.1.129<br>Which of these IPs are in the <strong>same subnet<\/strong>?<\/li>\n<\/ul>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>Show Answer<\/summary>\n<p class=\"wp-block-paragraph\">\/25 means ranges:<br>192.168.1.0 \u2013 192.168.1.127<br>192.168.1.128 \u2013 192.168.1.255<br>So, 65 and 80 are in the same subnet<br>129 is in a different one<\/p>\n<\/details>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Question 5.<\/strong><br>CIDR: \/29<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>How many <strong>usable IP addresses<\/strong> are there in this network?<\/li>\n\n\n\n<li>What is the <strong>subnet mask<\/strong>?<\/li>\n<\/ol>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>Show Answer<\/summary>\n<p class=\"wp-block-paragraph\">\/29 \u2192 3 bits for host<br>Total = 2^3 = 8<br>Usable = 6<br>Subnet mask = 255.255.255.248<\/p>\n<\/details>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Question 6.<\/strong><br>IP Address: 10.0.16.25, CIDR: \/20<br>What is the <strong>broadcast address<\/strong> of this network?<\/p>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>Show Answer<\/summary>\n<p class=\"wp-block-paragraph\">\/20 leaves 12 bits for host<br>Binary of 10.0.16.25 = 00001010.00000000.00010000.00011001<br>Set host bits to 1 \u2192 00001010.00000000.00011111.11111111<br>\u2192 Broadcast address = 10.0.31.255<\/p>\n<\/details>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n<\/body>","protected":false},"excerpt":{"rendered":"<p>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 the other part tells us [&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":[],"class_list":["post-1243","post","type-post","status-publish","format-standard","hentry","category-networking-fundamentals"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Understanding IP Addressing \u2013 CIDR, Subnet Masks, Network and Host Calculation - Tutorials<\/title>\n<meta name=\"description\" content=\"Learn how IP addresses are divided into network and host parts using subnet masks and CIDR notation. Includes examples, binary calculations, and practice questions.\" \/>\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-ip-addressing-cidr-subnet-masks-network-and-host-calculation\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"IP Addressing Made Simple \u2013 CIDR, Subnet Masks &amp; Calculations\" \/>\n<meta property=\"og:description\" content=\"Get a beginner-friendly explanation of IP addressing. Understand how to find network, host, and broadcast addresses using CIDR and subnet masks. Includes visual aids and practice problems\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-ip-addressing-cidr-subnet-masks-network-and-host-calculation\" \/>\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-07-30T13:31:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-30T13:31:22+00:00\" \/>\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=\"7 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-ip-addressing-cidr-subnet-masks-network-and-host-calculation#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-ip-addressing-cidr-subnet-masks-network-and-host-calculation\"},\"author\":{\"name\":\"sajith achipra\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#\\\/schema\\\/person\\\/8b3b88007644501771d2452d3cc80f41\"},\"headline\":\"Understanding IP Addressing \u2013 CIDR, Subnet Masks, Network and Host Calculation\",\"datePublished\":\"2025-07-30T13:31:17+00:00\",\"dateModified\":\"2025-07-30T13:31:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-ip-addressing-cidr-subnet-masks-network-and-host-calculation\"},\"wordCount\":1301,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#organization\"},\"articleSection\":[\"Networking Fundamentals\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-ip-addressing-cidr-subnet-masks-network-and-host-calculation#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-ip-addressing-cidr-subnet-masks-network-and-host-calculation\",\"url\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-ip-addressing-cidr-subnet-masks-network-and-host-calculation\",\"name\":\"Understanding IP Addressing \u2013 CIDR, Subnet Masks, Network and Host Calculation - Tutorials\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#website\"},\"datePublished\":\"2025-07-30T13:31:17+00:00\",\"dateModified\":\"2025-07-30T13:31:22+00:00\",\"description\":\"Learn how IP addresses are divided into network and host parts using subnet masks and CIDR notation. Includes examples, binary calculations, and practice questions.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-ip-addressing-cidr-subnet-masks-network-and-host-calculation#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-ip-addressing-cidr-subnet-masks-network-and-host-calculation\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-ip-addressing-cidr-subnet-masks-network-and-host-calculation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Tutorials\",\"item\":\"https:\\\/\\\/www.zframez.com\\\/articles\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Understanding IP Addressing \u2013 CIDR, Subnet Masks, Network and Host Calculation\"}]},{\"@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 IP Addressing \u2013 CIDR, Subnet Masks, Network and Host Calculation - Tutorials","description":"Learn how IP addresses are divided into network and host parts using subnet masks and CIDR notation. Includes examples, binary calculations, and practice questions.","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-ip-addressing-cidr-subnet-masks-network-and-host-calculation","og_locale":"en_US","og_type":"article","og_title":"IP Addressing Made Simple \u2013 CIDR, Subnet Masks & Calculations","og_description":"Get a beginner-friendly explanation of IP addressing. Understand how to find network, host, and broadcast addresses using CIDR and subnet masks. Includes visual aids and practice problems","og_url":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-ip-addressing-cidr-subnet-masks-network-and-host-calculation","og_site_name":"Tutorials","article_publisher":"https:\/\/www.facebook.com\/zframez\/","article_published_time":"2025-07-30T13:31:17+00:00","article_modified_time":"2025-07-30T13:31:22+00:00","author":"sajith achipra","twitter_card":"summary_large_image","twitter_creator":"@zframez","twitter_site":"@zframez","twitter_misc":{"Written by":"sajith achipra","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-ip-addressing-cidr-subnet-masks-network-and-host-calculation#article","isPartOf":{"@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-ip-addressing-cidr-subnet-masks-network-and-host-calculation"},"author":{"name":"sajith achipra","@id":"https:\/\/www.zframez.com\/articles\/#\/schema\/person\/8b3b88007644501771d2452d3cc80f41"},"headline":"Understanding IP Addressing \u2013 CIDR, Subnet Masks, Network and Host Calculation","datePublished":"2025-07-30T13:31:17+00:00","dateModified":"2025-07-30T13:31:22+00:00","mainEntityOfPage":{"@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-ip-addressing-cidr-subnet-masks-network-and-host-calculation"},"wordCount":1301,"commentCount":0,"publisher":{"@id":"https:\/\/www.zframez.com\/articles\/#organization"},"articleSection":["Networking Fundamentals"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-ip-addressing-cidr-subnet-masks-network-and-host-calculation#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-ip-addressing-cidr-subnet-masks-network-and-host-calculation","url":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-ip-addressing-cidr-subnet-masks-network-and-host-calculation","name":"Understanding IP Addressing \u2013 CIDR, Subnet Masks, Network and Host Calculation - Tutorials","isPartOf":{"@id":"https:\/\/www.zframez.com\/articles\/#website"},"datePublished":"2025-07-30T13:31:17+00:00","dateModified":"2025-07-30T13:31:22+00:00","description":"Learn how IP addresses are divided into network and host parts using subnet masks and CIDR notation. Includes examples, binary calculations, and practice questions.","breadcrumb":{"@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-ip-addressing-cidr-subnet-masks-network-and-host-calculation#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-ip-addressing-cidr-subnet-masks-network-and-host-calculation"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-ip-addressing-cidr-subnet-masks-network-and-host-calculation#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Tutorials","item":"https:\/\/www.zframez.com\/articles"},{"@type":"ListItem","position":2,"name":"Understanding IP Addressing \u2013 CIDR, Subnet Masks, Network and Host Calculation"}]},{"@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":1221,"url":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/networking-terminologies-a-beginners-guide-part-1","url_meta":{"origin":1243,"position":0},"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":1243,"position":1},"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":1281,"url":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-address-resolution-protocol-how-arp-works","url_meta":{"origin":1243,"position":2},"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":1265,"url":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/routing-table-fields-explained-next-hop-exit-interface-metric-and-gateway","url_meta":{"origin":1243,"position":3},"title":"Routing Table Fields Explained: Next Hop, Exit Interface, Metric, and Gateway","author":"sajith achipra","date":"August 2, 2025","format":false,"excerpt":"Next Hop, Exit Interface and Metric \u2013 Fields in a Routing Table In the previous tutorial, we discussed how network addresses are used in the routing table. In this one, we\u2019ll look into a few more fields you\u2019ll commonly see in a routing table - like Next Hop, Exit Interface,\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-from-R1s-POV.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-from-R1s-POV.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-from-R1s-POV.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-from-R1s-POV.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-from-R1s-POV.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-from-R1s-POV.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":1231,"url":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/networking-terminologies-a-beginners-guide-part-2","url_meta":{"origin":1243,"position":4},"title":"Networking Terminologies \u2013 A Beginner\u2019s Guide Part 2","author":"sajith achipra","date":"July 29, 2025","format":false,"excerpt":"This post continues from Part 1 and covers a few more important networking concepts. These terms often come up when learning how data moves through a network, especially when understanding how devices identify each other, how applications communicate, and how data is structured at each layer. 1. MAC Address \u2013\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":[]},{"id":1291,"url":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-dhcp-how-dynamic-ip-allocation-works","url_meta":{"origin":1243,"position":5},"title":"Understanding DHCP &#8211; How Dynamic IP Allocation Works","author":"sajith achipra","date":"August 21, 2025","format":false,"excerpt":"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\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\/DHCP-DORA-Process.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/DHCP-DORA-Process.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/DHCP-DORA-Process.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/DHCP-DORA-Process.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/DHCP-DORA-Process.png?resize=1050%2C600&ssl=1 3x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/posts\/1243","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=1243"}],"version-history":[{"count":5,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/posts\/1243\/revisions"}],"predecessor-version":[{"id":1250,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/posts\/1243\/revisions\/1250"}],"wp:attachment":[{"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/media?parent=1243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/categories?post=1243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/tags?post=1243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}