Solved

Subnetting Question about CIDR notation

Posted on 2016-09-07
3
82 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:mscola
3 Comments
 
LVL 68

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:mscola
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Let’s list some of the technologies that enable smooth teleworking. 
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now