?
Solved

Subnetting Question about CIDR notation

Posted on 2016-09-07
3
Medium Priority
?
311 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 72

Assisted Solution

by:Qlemo
Qlemo earned 1000 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 1000 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

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In this article, the configuration steps in Zabbix to monitor devices via SNMP will be discussed with some real examples on Cisco Router/Switch, Catalyst Switch, NAS Synology device.
This article is about building a site to site VPN tunnels in Cisco CSR1000V router with IOS XE. There are two Policy Based IPsec VPN tunnels configured on CSR1000V router one with NAT and another without NAT.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

569 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