Solved

Subnetting Question about CIDR notation

Posted on 2016-09-07
3
110 Views
Last Modified: 2016-09-09
This is a follow up question to this one:
https://www.experts-exchange.com/questions/28967640/Subnetting-Network-with-six-subnets.html?anchor=a41784308#a41784308

I have the IP address 192.168.50.0 and I create 8 subnets.

Is the broadcast address really 192.168.50.31 - even though it's in the first subnet?

I see in online calculators that the CIDR notation is 192.168.50.0/27 Why 27?

It is unfortunately not mentioned in my network book.

Thanks for your help
0
Comment
Question by:Massimo Scola
3 Comments
 
LVL 69

Assisted Solution

by:Qlemo
Qlemo earned 250 total points
ID: 41788640
192.168.50.0/27 builds 8 subnets based on 192.168.50.0/24, that much is true. /27 because you use 3 more bits starting from 24, for 8 subnets (2^3 = 8).

The broadcast address is the last one in each subnet - 192.168.50.31, 192.168.50.63, 192.168.50.95 aso.
0
 
LVL 57

Accepted Solution

by:
giltjr earned 250 total points
ID: 41788919
An IP V4 address is made up of 32 bits.  The address i broken into 2 parts.  The network part, which is common to all hosts within the same IP network/subnet. Then the host part which is unique to each host within the IP network/subnet.

When you see a /##, like /24 or /27, the number after the slash tells you how many of the 32-bit address represents the IP network/subnet.  What is left over represents the host part.

So if you have a /24, 32-24 = 8, so you have 8 bits to represent each host within the network.  With 8 bits you have 256 addresses, but 1 (the lowest number) represents the network, and 1 (the highest number) is used as the broadcast address.

With a /27, the network is represented by the 1st 27 bits in the address.  For hosts you would do 32-27 = 5, so you have 5 bits to represent hosts within your network.
0
 

Author Closing Comment

by:Massimo Scola
ID: 41791036
Thanks so much. This was so helpful making me understand the concept of CIDR. Something which should have been mentioned a bit more in detail in the book.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question