Rakesh Jain Profile picture
Jun 27 22 tweets 3 min read Twitter logo Read on Twitter
Mastering Subnetting from scratch!

A thread with examples 👇
1/10: Subnetting is the process of dividing a network into smaller subnetworks, called subnets. It allows efficient use of IP addresses and helps manage network resources effectively. #Subnetting101
2/10: To subnet, you need to understand IP addresses, specifically IPv4. An IPv4 address consists of four octets (or bytes), separated by periods. Each octet ranges from 0 to 255. For example, 192.168.0.1 is an IPv4 address. #IPv4Basics
3/10: Subnetting is based on a concept called the subnet mask. The subnet mask determines the network portion and the host portion of an IP address. It is represented using the same format as an IP address, using binary or slash notation. #SubnetMaskBasics
4/10: In binary, the subnet mask consists of 1s for the network portion and 0s for the host portion. For example, a subnet mask of 255.255.255.0 in binary is 11111111.11111111.11111111.00000000, or /24 in slash notation. #BinaryNotation
5/10: To subnet, you borrow bits from the host portion of the IP address and use them to create subnets. The number of borrowed bits determines the number of subnets you can create. #BorrowingBits
6/10: Let's say you have an IP address range 192.168.0.0/24 and you want to create 4 subnets. To do this, you need to borrow 2 bits from the host portion since 2^2 = 4. #Example
7/10: Borrowing 2 bits gives us 6 usable subnets:

192.168.0.0/26, 192.168.0.64/26, 192.168.0.128/26, 192.168.0.192/26, and two more subnets that follow.

The /26 represents the number of network bits. #UsableSubnets
8/10: The subnet mask for the /26 subnets is 255.255.255.192 in decimal or 11111111.11111111.11111111.11000000 in binary. This means we have 6 subnets, each with 62 usable host addresses (2^6 - 2). #SubnetMask
9/10: To determine the network address, you take the original network address and increment it based on the number of subnets. For example, 192.168.0.0 is the first network, then 192.168.0.64, 192.168.0.128, and so on. #NetworkAddresses
10/10: Subnetting allows for efficient allocation of IP addresses and better network management. It's an essential skill for network administrators. Remember, practice makes perfect! #NetworkingSkills #SubnettingMadeEasy
Here's an another example where we create six small networks out of a big /24 network 👇
1/8: Let's explore an example of subnetting a big /24 network into six smaller networks. We have the IP address range 192.168.0.0/24 and we want to create six subnets with equal-sized address ranges. #SubnettingExample
2/8: To create six subnets, we need to borrow 3 bits from the host portion of the IP address. This gives us 14 usable subnets. Each subnet will have 30 usable host addresses. #BorrowingBits
3/8: The subnet mask for the new subnets will be 255.255.255.224 or /27 in slash notation. This means the first two octets (192.168) remain the same, and the last octet will be divided into network and host portions. #SubnetMask
4/8: Let's assign the network addresses for the six subnets. The first subnet will be 192.168.0.0/27, the second will be 192.168.0.32/27, the third will be 192.168.0.64/27, and so on. #NetworkAddresses
5/8: Each subnet has 30 usable host addresses. Remember, we subtract 2 from the total (2^5) to account for the network address and the broadcast address. These addresses cannot be assigned to hosts. #UsableHostAddresses
6/8: So, for example, the first subnet (192.168.0.0/27) will have usable host addresses from 192.168.0.1 to 192.168.0.30. The second subnet will have addresses from 192.168.0.33 to 192.168.0.62, and so on. #UsableHostAddresses
7/8: With six smaller subnets, we can efficiently allocate IP addresses and manage our network resources. Subnetting helps optimize network utilization and facilitates better organization. #EfficientNetworking #SubnettingExample
8/8: Subnetting is a valuable skill for network administrators, enabling effective management of IP addresses and network resources. Practice subnetting to strengthen your networking expertise. #NetworkingSkills #SubnettingMadeEasy
I hope this example demonstrates how to subnet a big /24 network into six smaller networks. If you have any further questions or need more clarification, feel free to ask!
Retweet the thread if you find it useful. Thanks!

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Rakesh Jain

Rakesh Jain Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @devops_tech

Jun 26
Mastering Linux!

A step-by-step guide to become a Linux Expert! 👇
1/8 🐧💻 How to become a Linux expert? Here's a step-by-step guide! 🔥 #Linux #Expertise #OpenSource
2/8 📚 Start by learning the basics of Linux.
Understand its architecture, file system, and common commands. Practice using the terminal and exploring the command-line interface. #LearnLinux #Terminal
Read 20 tweets
Jun 24
Ansible vs Terraform

Explaining the differences and the better choice for you!

A Thread 👇
1/10: Welcome to the #TechDebate series! Today, we'll dive into the differences between Ansible & Terraform.

🤝 Both are popular tools used for managing infrastructure & automating deployments, but they have distinct purposes & features. Let's get started! #AnsibleVsTerraform
2/10: #Ansible, a powerful IT automation tool, focuses on configuration management and orchestration. It enables you to define and maintain the desired state of systems, making it ideal for tasks like sw installation, configuration, & ongoing system mgmt. #AnsibleVsTerraform
Read 24 tweets
Jun 22
What Prometheus is!

Step-by-step explanation on how to install Prometheus on Kubernetes!

A Thread 👇
1/8: 📢 Welcome to the #Prometheus thread!

🚀 Prometheus is an open-source monitoring and alerting system. Let's dive into what it is and why it's awesome!
2/8: #Prometheus was created at @SoundCloud to monitor their systems. It's designed for modern, cloud-native applications and has become a widely adopted monitoring solution in the #Kubernetes ecosystem.
Read 22 tweets
Jun 19
What is a CDN? 🌐

What is an Edge Location? 🌐

Explaining with examples 👇 PS: https://d1smxttentwwqu....
1/8: Hey folks! Today, let's talk about Content Delivery Networks (CDNs) and their significance in the online world.

🌍 CDN stands for Content Delivery Network, and it plays a vital role in ensuring fast and reliable content delivery to users around the globe. Let's dive in!
2/8: In simple terms, a CDN is a nw of servers strategically distributed across various locations worldwide. These servers store copies of websites, images, videos, and other web content. When a user requests this content, the CDN delivers it from the server closest to the user.
Read 29 tweets
Jun 18
Networking Basics 101! 🌐

A Thread 👇 Image
1/10: 🌐 Welcome to Networking Basics 101!

Let's start with IP addresses. 📡

An IP (Internet Protocol) address is a unique numerical identifier assigned to devices on a network. It's like a phone number for your device on the internet. #NetworkingBasics Image
2/10: 🔢 IP addresses are divided into two main versions: IPv4 and IPv6.

IPv4 uses a 32-bit address format (e.g., 192.168.0.1),
while IPv6 uses a 128-bit address format
(e.g., 2001:0db8:85a3:0000:0000:8a2e:0370:7334). #IPv4 #IPv6 PS: https://www.wpdownloadm...
Read 21 tweets
Jun 17
Roadmap to Learn Linux 🐧

A Thread 👇 Image
1/10: Getting Started

Start by understanding the basics of operating systems and their components. Familiarize yourself with Linux distributions such as Ubuntu, Fedora, or Debian. Choose one that suits your needs and install it on a virtual machine or a spare computer.
2/10: Command Line Basics

Linux relies heavily on the command line interface (CLI). Learn essential commands like ls, cd, mkdir, rm, and mv. Understand how to navigate the file system, create files and directories, and manage permissions.
Read 13 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(