Hello and welcome to CertForums.co.uk, here we host free active certification forums with links to the best free resources for Microsoft's MCSA MCSE MCDBA Cisco's CCNA CCDA and CCNP, and CompTIA's A+ Network+ i-NET+ and Security+ certifications in the UK. If you wish to post or use other advanced features you will need to register first. Registration is absolutely free and takes only a few minutes to complete so sign up today!

If you have any problems with the registration process or your account login, please contact support

Go Back   CertForums > Certification Forums > Cisco Certification Forums > General
Home Forums Register Search Today's Posts Mark Forums Read

Subnetting Help!

Post New ThreadReply
 
Thread Tools Display Modes
  #1  
Old 09-Apr-2008, 01:07 PM
DevilsAdvocate's Avatar
DevilsAdvocate DevilsAdvocate is offline
New Member
Posts: 35
Points: 126 DevilsAdvocate has over 100 pointsDevilsAdvocate has over 100 points
Power: 3
None
Join Date: 12 Mar 2008
Location: West Midlands
Age: 21
Certifications: CCENT
WIP: CCNA, MCSE, Server+
Subnetting Help!

Hi guys,

Have just started subnetting now and I thought I was starting to get the hang of it, until this question popped up on the practice ones I'm doing.

Question: Which subnet does host 172.28.255.162/27 belong to?

Answer: 172.28.255.160

I don't know where to start with this one. How do I go about getting the answer shown? Any help is appreciated muchly! Thanks

Rob.

 
Reply With Quote
  #2  
Old 09-Apr-2008, 01:40 PM
BrotherBill's Avatar
BrotherBill BrotherBill is offline
Valued Member
Posts: 214
Points: 925 BrotherBill has disabled reputation
Power: 14
None
Join Date: 26 Aug 2007
Location: KCMO
Quote:
Originally Posted by DevilsAdvocate View Post
Question: Which subnet does host 172.28.255.162/27 belong to?

Answer: 172.28.255.160
172.28.255.162/27 is a classless subnet ID indicating that the first 27 bits of the address are your network address.

11111111.11111111.11111111.11100000 is your subnet mask and the equal of 172.28.255.160

11111111.11111111.11111111.11110000 is CIDR /28 and the equal of 172.28.255.176 and beyond the range that your address (162) is in.

Hope this doesn't confuse you more.


"Success is the small voice you hear within,
when you know you have done your best."

"One Man's Opinion"

Last edited by BrotherBill : 09-Apr-2008 at 01:41 PM.
 
Reply With Quote
  #3  
Old 09-Apr-2008, 01:44 PM
DevilsAdvocate's Avatar
DevilsAdvocate DevilsAdvocate is offline
New Member
Posts: 35
Points: 126 DevilsAdvocate has over 100 pointsDevilsAdvocate has over 100 points
Power: 3
None
Join Date: 12 Mar 2008
Location: West Midlands
Age: 21
Certifications: CCENT
WIP: CCNA, MCSE, Server+
Thanks for the reply. I understand it now. This is the first part of the CCNA i've struggled a little with, the more I read about subnetting the more confused I get! Thanks muchly

Rob.

 
Reply With Quote
  #4  
Old 09-Apr-2008, 07:41 PM
sunn's Avatar
sunn sunn is offline
Lifetime Member
Posts: 1,335
Points: 1057 sunn has over 1000 pointssunn has over 1000 pointssunn has over 1000 pointssunn has over 1000 pointssunn has over 1000 pointssunn has over 1000 pointssunn has over 1000 pointssunn has over 1000 points
Power: 25
None
Join Date: 15 Jan 2008
Location: Canada
Subnetting can be confusing at first, but once it clicks it will be good.
You need to understand how the Binary method works in terms of what each bit is resposible for in a given address.

Once you understand how the binary works look at this approach.


____
Sunn
 
Reply With Quote
  #5  
Old 09-Apr-2008, 07:48 PM
MacAllan's Avatar
MacAllan MacAllan is offline
Valued Member
Posts: 249
Points: 128 MacAllan has over 100 pointsMacAllan has over 100 points
Power: 6
None
Join Date: 05 Jul 2007
Certifications: A+, N+, CCNA
WIP: CCNP, Linux+
Well done DevilsAdvocate for understanding BrotherBill's explanation, because I didn't and I can do subnetting

/27 or binary 11100000 in the final octet is 224 decimal
256-224 = 32 (the 'magic number')
seq: 0 32 64 96 128 160 192 224 256

162 lies between 160 and 192 so is in the 160 subnet

/28 or binary 11110000 in the final octet is 240 decimal, and hasn't really got anything to do with anything in answering the question posed.....


 
Reply With Quote
  #6  
Old 09-Apr-2008, 07:57 PM
BrotherBill's Avatar
BrotherBill BrotherBill is offline
Valued Member
Posts: 214
Points: 925 BrotherBill has disabled reputation
Power: 14
None
Join Date: 26 Aug 2007
Location: KCMO
Quote:
Originally Posted by MacAllan View Post
/28 or binary 11110000 in the final octet is 240 decimal, and hasn't really got anything to do with anything in answering the question posed.....
Well, you're probably right about my explanation being vague. No one else was helping, thought I'd give it a shot. And the 11110000 issue was an attempt to offer a pattern. Thanks for your help.


"Success is the small voice you hear within,
when you know you have done your best."

"One Man's Opinion"
 
Reply With Quote
  #7  
Old 09-Apr-2008, 09:18 PM
DevilsAdvocate's Avatar
DevilsAdvocate DevilsAdvocate is offline
New Member
Posts: 35
Points: 126 DevilsAdvocate has over 100 pointsDevilsAdvocate has over 100 points
Power: 3
None
Join Date: 12 Mar 2008
Location: West Midlands
Age: 21
Certifications: CCENT
WIP: CCNA, MCSE, Server+
Thanks for the help guys! Finding this pretty easy now. These are right, yes?

Which subnet does host 172.31.198.122 255.255.255.128 belong to?

256 - 128 = 128

0 | 128 | 256

Subnet = 172.31.198.0


Which subnet does host 192.168.219.161/28 belong to?

256 - 240 = 16

0 | 16 | 32 |....| 144 | 160 | 176

Subnet = 192.168.219.160


Which subnet does host 192.168.199.72 255.255.255.224 belong to?

256 - 224 = 32

| 0 | 32 | 64 |96

Subnet = 192.168.199.64

Thanks
Rob.

 
Reply With Quote
  #8  
Old 10-Apr-2008, 06:23 PM
MacAllan's Avatar
MacAllan MacAllan is offline
Valued Member
Posts: 249
Points: 128 MacAllan has over 100 pointsMacAllan has over 100 points
Power: 6
None
Join Date: 05 Jul 2007
Certifications: A+, N+, CCNA
WIP: CCNP, Linux+
You've got it!


 
Reply With Quote
  #9  
Old 11-Apr-2008, 01:45 AM
BrotherBill's Avatar
BrotherBill BrotherBill is offline
Valued Member
Posts: 214
Points: 925 BrotherBill has disabled reputation
Power: 14
None
Join Date: 26 Aug 2007
Location: KCMO
DevilsAdvocate,

I'm glad MacAllen came in when he did. My original response is rather hard to make sense of. It didn't come out at all the way I meant. Hope no harm was done. Now if I can remember what I was in the middle of when I made the post. I've got a feeling I screwed that up as well. Sorry for the confusion and Thanks again MacAllen.


"Success is the small voice you hear within,
when you know you have done your best."

"One Man's Opinion"
 
Reply With Quote
  #10  
Old 11-Apr-2008, 10:37 AM
DevilsAdvocate's Avatar
DevilsAdvocate DevilsAdvocate is offline
New Member
Posts: 35
Points: 126 DevilsAdvocate has over 100 pointsDevilsAdvocate has over 100 points
Power: 3
None
Join Date: 12 Mar 2008
Location: West Midlands
Age: 21
Certifications: CCENT
WIP: CCNA, MCSE, Server+
Hi BrotherBill,

No harm done mate. Just been doing question after question and it's starting to come easily now

Thanks guys!

Rob.

 
Reply With Quote
  #11  
Old 22-Apr-2008, 08:41 PM
Finkenstein's Avatar
Finkenstein Finkenstein is offline
Valued Member
Posts: 257
Points: 144 Finkenstein has over 100 pointsFinkenstein has over 100 points
Power: 5
None
Join Date: 21 Nov 2007
Location: Detroit, Mi
Age: 30
Certifications: MCP
WIP: MCSA/MCSE (70-290), CCNA
Quote:
Originally Posted by MacAllan View Post
Well done DevilsAdvocate for understanding BrotherBill's explanation, because I didn't and I can do subnetting

/27 or binary 11100000 in the final octet is 224 decimal
256-224 = 32 (the 'magic number')
seq: 0 32 64 96 128 160 192 224 256

162 lies between 160 and 192 so is in the 160 subnet

/28 or binary 11110000 in the final octet is 240 decimal, and hasn't really got anything to do with anything in answering the question posed.....
That's awesome. I never knew that "pattern". That saves about 5 minutes from figuring out subnets... NICE!!!

 
Reply With Quote
  #12  
Old 22-Apr-2008, 09:12 PM
purplejade's Avatar
purplejade purplejade is offline
Registered Member
Posts: 61
Points: 0 purplejade has no points
Power: 2
None
Join Date: 26 Oct 2007
Location: london
Certifications: CCNA N+
WIP: A+
Subnetting

whenever you are doing subnetting, specially in exams, U have very little time to figure it out

I have used following table, which I would jot down on the pad thats given before the exams,

1
128 64 32 16 8 4 2 1 = Binary values for each Host bit or Octet.
128 192 224 240 248 252 254 255 = the block sizes corresponding to the bits


* please ignore this I will need to add spacing...


Last edited by purplejade : 22-Apr-2008 at 09:51 PM.
 
Reply With Quote
  #13  
Old 22-Apr-2008, 09:46 PM
purplejade's Avatar
purplejade purplejade is offline
Registered Member
Posts: 61
Points: 0 purplejade has no points
Power: 2
None
Join Date: 26 Oct 2007
Location: london
Certifications: CCNA N+
WIP: A+
Subnetting

whenever you are doing subnetting, specially in exams, U have very little time to figure it out

I have used following table, which I would jot down on the pad thats given before the exams,

1-----2----3----4-----5----6----7----8 = No of bits that can be borrowed
128--64---32---16----8----4----2----1 = Binary values for each Host bit or Octet.
128--192--224--240--248--252--254-255 = the incremental values corresponding to the bits borrowed

if one needs to determine the subnet id, the no of subnets, hosts etc just check on the corresponding values
for each bits and it becomes easier specially when the CIDR is not given.

lets take your example,

172.28.255.162/27

the subnet mask will be

255.255.255.224 since CIDR is 27 ie 8*3=24+3=27

host bits borrowed = 3 the value that correspondes to 3 in above table = 224

to determine the block size, apply the magic number ie 256-224 = 32

which means that your subnets will be in increment of 32.

ie 0-31,32-63,64-95.......and so on

to arrive at the subnet id for above ip address, just select the nearest value which is in increment of 32 to the given Octet but not greater than... or divide 162/32= 5.06,

5*32= 160.

hence the answer 172.28.255.160.

Once you are used to it and practice, you would just look at the reference table and will be able to calculate mentally...

Hope this helps..


 
Reply With Quote
  #14  
Old 23-Apr-2008, 11:13 AM
Finkenstein's Avatar
Finkenstein Finkenstein is offline
Valued Member
Posts: 257
Points: 144 Finkenstein has over 100 pointsFinkenstein has over 100 points
Power: 5
None
Join Date: 21 Nov 2007
Location: Detroit, Mi
Age: 30
Certifications: MCP
WIP: MCSA/MCSE (70-290), CCNA
Quote:
Originally Posted by purplejade View Post
whenever you are doing subnetting, specially in exams, U have very little time to figure it out

I have used following table, which I would jot down on the pad thats given before the exams,

1
128 64 32 16 8 4 2 1 = Binary values for each Host bit or Octet.
128 192 224 240 248 252 254 255 = the block sizes corresponding to the bits


* please ignore this I will need to add spacing...
Purplejade, This was the same way I got comfortable with subnetting. A lot of this I can do in my head now after beating it in with a bat. I think I can subnet better than I can dial my cell phone.

 
Reply With Quote
Post New ThreadReply Spread this thread: Submit this thread to digg Submit this thread to del.icio.us


Go Back   CertForums > Certification Forums > Cisco Certification Forums > General


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Subnetting Mark-K Network+ 5 18-Mar-2008 08:25 AM
Subnetting - Required for 70-270? mad_maxx Client Exams 7 15-Mar-2008 06:31 AM
Subnetting Question kammodo Routing & Switching 8 13-Feb-2008 05:15 PM
N+ and subnetting fuzzyness dominoe Network+ 5 18-Oct-2007 09:27 PM
Problems subnetting ? Headache General 5 13-Feb-2007 05:21 PM


All times are GMT. The time now is 11:16 PM.

Powered by vBulletin® Version 3.6.11
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
CertForums.co.uk (C) copyright 2003-2007 All Rights Reserved. Content published on CertForums.co.uk requires permission for reprint.
Hosted by Lunarpages