<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jack brown</title>
    <description>The latest articles on DEV Community by Jack brown (@jack_brown_648fdeecb7401e).</description>
    <link>https://dev.to/jack_brown_648fdeecb7401e</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3221232%2Fa0b3601a-afc8-4430-9443-3f168cff1140.png</url>
      <title>DEV Community: Jack brown</title>
      <link>https://dev.to/jack_brown_648fdeecb7401e</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jack_brown_648fdeecb7401e"/>
    <language>en</language>
    <item>
      <title>🧠 Understanding CIDR and Subnetting: A Simple Guide for Beginners</title>
      <dc:creator>Jack brown</dc:creator>
      <pubDate>Thu, 29 May 2025 08:43:12 +0000</pubDate>
      <link>https://dev.to/jack_brown_648fdeecb7401e/understanding-cidr-and-subnetting-a-simple-guide-for-beginners-j86</link>
      <guid>https://dev.to/jack_brown_648fdeecb7401e/understanding-cidr-and-subnetting-a-simple-guide-for-beginners-j86</guid>
      <description>&lt;p&gt;If you're diving into networking, you’ve probably come across terms like CIDR, subnet masks, and IP ranges. In this post, we’ll break them down and show you how to master subnetting using a free online tool.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzrzbfy89d58caao6hu1e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzrzbfy89d58caao6hu1e.png" alt="Image description" width="800" height="379"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🌐 What is Subnetting?&lt;/p&gt;

&lt;p&gt;Subnetting is the process of dividing a large IP network into smaller, more manageable subnetworks or “subnets.” It helps with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;    Efficient IP address allocation&lt;/li&gt;
&lt;li&gt;    Improved network performance&lt;/li&gt;
&lt;li&gt;    Better security and isolation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For example, instead of giving 200 devices access to the full 192.168.1.0/24 network, you can split that into multiple smaller /26 or /28 networks and isolate traffic.&lt;/p&gt;

&lt;p&gt;🔢 &lt;strong&gt;What is CIDR?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;CIDR stands for Classless Inter-Domain Routing. Introduced to replace the old class-based IP system, CIDR allows you to define IP ranges more flexibly using the format:&lt;/p&gt;

&lt;p&gt;192.168.1.0/24&lt;/p&gt;

&lt;p&gt;Here, /24 is the CIDR notation, which tells you how many bits are used for the network portion. More bits = fewer hosts per subnet.&lt;br&gt;
CIDR    Subnet Mask Usable Hosts&lt;br&gt;
/24 255.255.255.0   254&lt;br&gt;
/26 255.255.255.192 62&lt;br&gt;
/28 255.255.255.240 14&lt;/p&gt;

&lt;p&gt;🛠️ &lt;strong&gt;Why Manual Subnetting Is a Pain&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Let’s be honest — calculating subnets, hosts, and address ranges by hand is time-consuming and error-prone. That’s where a good subnet calculator becomes your best friend.&lt;br&gt;
🚀 Try This Free &lt;a href="https://subnetcalculator.io/" rel="noopener noreferrer"&gt;Subnet Calculator&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you want to save time and avoid mistakes, check out my free online tool:&lt;br&gt;
👉 &lt;a href="https://subnetcalculator.io" rel="noopener noreferrer"&gt;https://subnetcalculator.io&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It helps you instantly:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;    Convert CIDR to subnet mask&lt;/li&gt;
&lt;li&gt;    See network &amp;amp; broadcast addresses&lt;/li&gt;
&lt;li&gt;    Find usable host ranges&lt;/li&gt;
&lt;li&gt;    Plan your IP allocations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Whether you're prepping for your CCNA, setting up a home lab, or managing a corporate network, this tool simplifies everything.&lt;br&gt;
💡 How to Use It&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Visit https://subnetcalculator.io

Enter an IP address or CIDR block (e.g. 192.168.10.0/24)

Instantly get:
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;        Subnet mask&lt;/li&gt;
&lt;li&gt;        Network address&lt;/li&gt;
&lt;li&gt;        Broadcast address&lt;/li&gt;
&lt;li&gt;        Total &amp;amp; usable hosts&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;👨‍💻 &lt;strong&gt;Pro Tip: Understand the Math Behind It&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;While tools are great, understanding the math gives you a deeper grip. CIDR notation just means "how many bits are fixed for the network."&lt;/p&gt;

&lt;p&gt;Example:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/24 = 255.255.255.0 → 256 total IPs, 254 usable

/26 = 255.255.255.192 → 64 total, 62 usable
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Every decrease in subnet size gives you fewer IPs, but better control.&lt;/p&gt;

&lt;p&gt;📚 &lt;strong&gt;TL;DR&lt;/strong&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;CIDR allows flexible subnetting beyond class A/B/C limits

Subnetting breaks networks into smaller segments for security and performance
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>subnet</category>
      <category>programming</category>
      <category>javascript</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
