Question

Subnetting CCNA Cisco Activity 6.7.4

Asked by: chugarah

Hi, I know it has been alot of these kind of questons, but didnt find any solution that I undestood :S. I am currently trying to understand the process and the thinking behind of these activitys.

Inside the activity I have this problem that need to be solved.


// They are giving me an adress and subnetmask for the host ip.
Problem 1
Host IP Address
172.30.1.33
Subnet Mask
255.255.255.0

// This is what they want me to answer.
Anyone that has time to explain to me how to think and get answer to these questons below?
I tried ask the teacher and reading Cisco material but I dont understand the thinking.

A explanation is prefered when helping me answering this queston. Really want to understand this :)

Number of Subnet Bits
Number of Subnets
Number of Host Bits per Subnet
Number of Usable Hosts per Subnet
Subnet Address for this IP Address
IP Address of First Host on this Subnet
IP Address of Last Host on this Subnet
Broadcast Address for this Subnet

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-08-30 at 16:56:20ID24693694
Tags

Cisco

,

CCNA

,

Subnett

,

Subnet

,

Subnetting

Topics

Network Operations

,

Network Design & Methodology

Participating Experts
3
Points
500
Comments
9

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. CCNA
    Dear Sirs, I am planning to take up the CCNA Exam . Could you please explain me the areas where i have to be well prepared before attending the exam? I am not undergoing any course .... Could please tell me where i can get some questions and answers? Thanks in advance ss
  2. CCNA Self Study Materials
    So I have decided to pursue my CCNA over the coming months. I am going to be setting up a home networking lab to practice the techniques I'm learning, but here is the question I have for you all. What study materials (books, guides, web sites, etc) should I get/know about t...
  3. CCNA
    Does anybody know of any good (preferably free) resources for studying for the CCNA exam?
  4. CCNA
    I'm wanting to start on getting my CCNA, and while I've seen a few different book sets and stuff of that nature, I'm not really sure which are the best to get. But for those that have completed theirs in the past already, what would be the best way to go about beginning this...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: dosdet2Posted on 2009-08-30 at 18:17:52ID: 25220135

OK Chugarah,
I'm going to attempt this.  First of all, Subnetting, masks, host bits, Network bits - the whole thing drills down to binary.  Once in binary, it should easily make sense.  I'll assume you know how to convert from decimal to binary and back.  If you don't know ho to do this, you need to learn this first or you will always be confused on this issue.
I'm using the tern `network bits' which is the same thing as `subnet bits' as far as this explanation goes.

Lets start with the Mask.  That is where all the magic comes from.
Convert the mask to binary:
255 . 255 . 255 . 0    equals...
11111111  .  11111111  .  11111111  .  00000000
In the mask, the network bits are all the ones starting from the left - working right until you hit your 1st zero.  The rest are host bits.
Here you have 24 network bits, leaving 8 host bits.  Referred to as /24 in IP notation

For 2 IP addresses to be in the same subnet, they MUST match all the network bits.
Using the mask you used above, which is a standard Class C mask, is teally very easy.
The network bits split from the Host bits at the octet split, which means that you know that to be in the same subnet, 2 IP numbers must have the same values in the first 3 octets.  So with this mask:
10.10.1.25
10.10.1.255  - same subnet
192.168.55.0
192.168.55.199 - same subnet
172.31.30.2
172.31.31.5 - not the same subnet - the 1st 3 octets do not match.

Given the first subnet above:  10.10.1.25 = host IP address.  
What is the very first and the very last  address possible to still stay in this subnet?
This should be easy given that the host portion of this IP address is the entire 4 octet.

Octets go from 0 to 255 so the first address possible would be: 10.10.1.0  and the very last possible address would be 10.10.1.255  - correct?
So the number of total possible addresses would be 255 + 1 (when you count the zero address).
So 256 total possible addresses can be in the above subnet.

Now with that said, the subnet needs a name to identify it, so the subnet steals the first possible address of every subnet to be it's identifying name.  By doing this, it makes that first address un-useable by a host.  This identifying address is called the subnet address.

Also, every subnet needs a broadcast IP to enable Hosts & routers to find their peers and discovers who is on their subnet.  You can't communicate with someone on your subnet unless you can find them.  The last possible address in the subnet is also stolen to act as this broadcast address.

So out of every subnet, the first and last possible addresses are stolen bu the subnet and cannot be used for hosts.  
So the first HOST address on the subnet is the 2nd possible subnet IP, and the last HOST address on the subnet is the 2nd to the last possible subnet IP.

Does this help?

 

by: jayasankerPosted on 2009-08-30 at 18:34:55ID: 25220172

Please have a look at another example

http://glennavendano.com/CISCO/Exploration1/page6-7-4ans.pdf

 

by: jayasankerPosted on 2009-08-30 at 18:36:01ID: 25220175

 

by: Andy_QuaeyhaegensPosted on 2009-08-31 at 02:37:50ID: 25221482

I had a simple answer ready, but after reading dosdet2's comment - there is nothing to add.

Like he said, it's math. Binary (or Boolean) algebra to be exact. When you get some experience in the subject, you'll be able to "calculate" subnets on-the-fly.
Also, a liitle heads-up, when they use a suffix to specify an address, like 192.168.0.1/24, the /24 points out how many network bits are used in the subnet (24 divided by 8 is 3, so the first three octets are used, leaving 8 host bits).

For the CCNA, you need to be VERY aware of how subnet networks are calculated, so do a lot of exercises on these things.

Good luck on the exam!

 

by: chugarahPosted on 2009-08-31 at 06:11:02ID: 25222446

dosdet2:
Thanks for your answerl Dosdet2 :), It start to make cense now. Analyzing your answer^^
Greate answer ^^.

oO Interesting, so the subnet mask decides how many networks bits and host bits it is in a
ip-adress? Your example as you explained so well



""172.31.30.2
172.31.31.5 - not the same subnet - the 1st 3 octets do not match.""
You do mean with?: doesnt match with the current subnet mask? (255.255.255.0)
Did you use ANDing? (1 and 0 = 0,  1 and 1 =0). Didnt understand that ^^

""Given the first subnet above:  10.10.1.25 = host IP address.  
What is the very first and the very last  address possible to still stay in this subnet?
This should be easy given that the host portion of this IP address is the entire 4 octet.""
Is it becouse its an A-class adress or is it becouse the subnetmask says it?


""Octets go from 0 to 255 so the first address possible would be: 10.10.1.0  and the very last possible address would be 10.10.1.255  - correct?""
You mean network adress right? or? Trying to follow you hehe.

""172.31.30.2
172.31.31.5 - not the same subnet - the 1st 3 octets do not match.""
Bit will 172.31.30.255 match? I see that we are using a subnetmask
with 24bits of networks, that means 172.31.30 is static while only
the last octet can be host bits or borrowed to create new subnets? (my head spins..lol)

""Now with that said, the subnet needs a name to identify it, so the subnet steals the first possible address of every subnet to be it's identifying name.  By doing this, it makes that first address un-useable by a host.  This identifying address is called the subnet address.""
I dont understand this? You mean a network bit in the last octet or DNS? or?
Ex; xxxxxxx.xxxxxxxx.xxxxxxxx.0xxxxxxB?
B= BroadCast?
0= Networkbit?

""So out of every subnet""
What do you mean with every subet? You talking about
different subnet mask in different adresses or talking
subnetting further then the default subnet mask?


""Does this help?""
Hehe trust me i does :). I am currently just trying to understand more from your answer.
Everthing weill be so cleared if explanation behind each process, take information
from the subnetmask, or take from ip host adress, using ANDing method to determinate
network adress, I just dont understand why the activity call it Subnet adress?.

>>jayasanker<<
Thanks :); its good to see if I have done correct. :) I have tried to read these
kind of information, dont really understand the thinking behind it.

>>Andy_Quaeyhaegens:<<
Cool :), yes I follow you there, understand.:)
Btw thanks, I will need it :).


 

by: dosdet2Posted on 2009-08-31 at 08:54:30ID: 25223804

172.31.30.2 - 172.31.31.5 - not the same subnet - the 1st 3 octets do not match.
You do mean with?: doesnt match with the current subnet mask? (255.255.255.0)
Did you use ANDing? (1 and 0 = 0,  1 and 1 =0). Didnt understand that ^^
*** Actually they don't match each other (the subnet bits), but using the subnet mask to determine which are subnet bits and must match.  The Mask determines which bits are subnet bits and which are host bits.  If the subnet bits match (using ANDing) then they are in the same network.  If I changed the Mask to 255.255.0.0 - then they would be in the same network because I reduced the number of subnet bits that must match.  Try ANDing these two addresses and apply the 2 masks and I think it will become more clear.


Given the first subnet above:  10.10.1.25 = host IP address.  
What is the very first and the very last  address possible to still stay in this subnet?
This should be easy given that the host portion of this IP address is the entire 4 octet.
Is it becouse its an A-class adress or is it becouse the subnetmask says it?
***  It IS a class A address, but we have applied a more restrictive mask.  A standard class A address (255.0.0.0) allows for fewer subnets and more hosts. Since we do not want 16 million hosts on each subnet, we use a more restrictive mask to get more subnets and fewer hosts per subnet.  Because our Mask (255.255.255.0) says that all 3 of the first octets will be subnet bits, that leaves 256 possible IP addresses for each subnet.  Minus 2 (one for subnet name [first] and one for broadcast [last]) that leaves 254 addresses available for Hosts in each subnet.

""Octets go from 0 to 255 so the first address possible would be: 10.10.1.0  and the very last possible address would be 10.10.1.255  - correct?""
You mean network adress right? or? Trying to follow you hehe.
****  Here I was talking about just IP address numbers.  The very first possible IP address with the subnet bits (first 3 octets) matching and the very last one that also matches.  The next statement was showing that the first and last IP numbers in each subnet are reserved and not available to assign to hosts.

172.31.30.2   172.31.31.5 - not the same subnet - the 1st 3 octets do not match.""
Bit will 172.31.30.255 match? I see that we are using a subnetmask
with 24bits of networks, that means 172.31.30 is static while only
the last octet can be host bits or borrowed to create new subnets? (my head spins..lol)
****  Static is probably not the best word to use for this, but I see how it kind of fits.  The IPs listed are Class B so the default mask is 255.255.0.0.  We have applied the mask 255.255.255.0 so we have borrowed 8 bits from the host side to use on the subnet side.  But by doing that, we have said that any different numbers in the 3rd octet will be on a different subnet. That is why the two Ip addresses listed are in different subnets.


""Now with that said, the subnet needs a name to identify it, so the subnet steals the first possible address of every subnet to be it's identifying name.  By doing this, it makes that first address un-useable by a host.  This identifying address is called the subnet address.""
I dont understand this? You mean a network bit in the last octet or DNS? or?
Ex; xxxxxxx.xxxxxxxx.xxxxxxxx.0xxxxxxB?
B= BroadCast?
0= Networkbit?
****  First Item - DNS is above layer3.  It only matches english type names (URLs) to IP numbers.  It has NO place of effect in defining subnets.
****  Second - I said the first possible address, not the last host bit.  For example, the subnet that contains the address 10.10.10.10 with a mask of 255.255.255.0.  According to this mask, the first 3 octets are subnet bits and cannot be touched.  See binary representation below.
00001010 . 00001010 . 00001010 .  00001010   = 10.10.10.10
subnet bits to here --------------->  |                      - so this subnet must contain 10.10.10 for the first 3 octets in order to be in the sane subnet as 10.10.10.10.
So the first possible address in this subnet is:
00001010 . 00001010 . 00001010 . 00000000   - The same first 3 octets, with the lowest possible number in the 4th octet - or 10.10.10.0
Also the last possible address would be:
00001010 . 00001010 . 00001010 . 1111111    - The same first 3 octets, with the highest possible number in the 4th Octet - or 10.10.10.255
Remember if things don't make sense, convert them to binary.  That is the secret to understanding subnets.  There is no way to understand this without going to binary.



""So out of every subnet""
What do you mean with every subet? You talking about
different subnet mask in different adresses or talking
subnetting further then the default subnet mask?
****  The mask defines where the subnets starts and ends. - remember binary.  I can tell by your questions that you are trying to understand this without going to binary.  I can't stress enough that binary is key to understanding this.  If you aren't willing to go to binary, I suggest choosing another field because you will be fighting to understand this all the way.
****  The subnet Mask defines how many bits are subnet bits and how many are host bits.  With the
mask 255.255.255.0, you have the capability or over 16 million subnets.  Example using this mask.
              Subnet bits  =    | < -----------------------------------> |     Hosts
10.10.0.0 = one subnet  (00001010 . 00001010 . 00000000 . 00000000
10.10.1.0 = one subnet  (00001010 . 00001010 . 00000001 . 00000000
10.10.2.0 = one subnet  (00001010 . 00001010 . 00000010 . 00000000
10.10.3.0 = one subnet  (00001010 . 00001010 . 00000011 . 00000000
10.10.4.0 = one subnet  (00001010 . 00001010 . 00000100 . 00000000
And so on....



 

by: chugarahPosted on 2009-08-31 at 14:35:10ID: 25226759

Greate really greate, :), I will work with binary for sure, the last example really give me a simple way to see it :).

Thanks alot dosdet2 ^^,

 

by: chugarahPosted on 2009-08-31 at 14:37:56ID: 31622317

It was greate that you gave me answer for this, you are so right, thinking in binary gives me less head pain ^^, and it helpes. :)

 

by: chugarahPosted on 2009-08-31 at 14:38:50ID: 25226777

Thanks for your help guys ^^. The answer in PDF file and the info that dosdet2 have solved my problem.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...