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 > Microsoft Certification Forums > Server Exams
Home Forums Register Search Today's Posts Mark Forums Read

Maths

Post New ThreadReply
 
Thread Tools Display Modes
  #1  
Old 23-Sep-2008, 08:10 PM
craigie's Avatar
craigie craigie is offline
Premium Member
Posts: 815
Points: 1657 craigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 points
Power: 26
None
Join Date: 05 May 2008
Age: 31
Certifications: MCP, MCDST, MCTS:Vista, MCSA
WIP: MCSA: M
Maths

Just reading through the 70-291 Network Infrastructure Chapter 2 Understanding TCP/IP.

It's awesome to actually be using some of the Maths that I learnt in school back in the 1990's!

Gotta say, so far it's all going in, and makes sense, but is pretty intense.

Anyways, back to the maths err studying err learning about networks


70-284 January '09
70-293 March '09
70-294 May '09
70-297 July '09
ITIL v3 August '09
CCENT October '09
CCNA December '09

Study Guides : 70-271 : 70-272 : 70-620 : 70-290 : 70-291

 
Reply With Quote
  #2  
Old 24-Sep-2008, 11:25 AM
craigie's Avatar
craigie craigie is offline
Premium Member
Posts: 815
Points: 1657 craigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 points
Power: 26
None
Join Date: 05 May 2008
Age: 31
Certifications: MCP, MCDST, MCTS:Vista, MCSA
WIP: MCSA: M
Just finished the exercises in Chapter 2 of the 70-291 book.

I believe MS have made a mistake on Exercise 8, you need to convert Hosts into a Subnet Mask.

The requirement is 63 Hosts, which would convert to 64 (2 power of 6), 32- 6 = 26.

/26 equates to 255.255.255.192

In the MS book they give the answer as 255.255.255.128, I make that /25 which would give 128 Hosts.

Am I right?


70-284 January '09
70-293 March '09
70-294 May '09
70-297 July '09
ITIL v3 August '09
CCENT October '09
CCNA December '09

Study Guides : 70-271 : 70-272 : 70-620 : 70-290 : 70-291

 
Reply With Quote
  #3  
Old 24-Sep-2008, 11:48 AM
Qs's Avatar
Qs Qs is offline
Semi-Honorary Member
Posts: 1,359
Points: 1292 Qs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 points
Power: 27
None
Join Date: 13 May 2008
Location: Lichfield, West Midlands
Age: 21
Certifications: HND Applied IT, CCNA
WIP: MCDST, MCP, A+, N+
I calculate that with a 255.255.255.192 mask and a /26 count you'd get 64 possible hosts, 62 of which are available.

Depends how the question is worded as to whether it's correct or not. What specifically does it say?

EDIT - Forgot to add... Yeah you're semi correct. With a 255.255.255.128 mask and a /25 count you'd get 128 possible hosts, 126 of which are available.

Qs




Base 8 is just like Base 10, if you are missing two fingers.

Last edited by Qs : 24-Sep-2008 at 11:52 AM.
 
Reply With Quote
  #4  
Old 24-Sep-2008, 11:54 AM
craigie's Avatar
craigie craigie is offline
Premium Member
Posts: 815
Points: 1657 craigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 points
Power: 26
None
Join Date: 05 May 2008
Age: 31
Certifications: MCP, MCDST, MCTS:Vista, MCSA
WIP: MCSA: M
Quote:
Originally Posted by Qs View Post
I calculate that with a 255.255.255.192 mask and a /26 count you'd get 64 possible hosts, 62 of which are available.

Depends how the question is worded as to whether it's correct or not. What specifically does it say?

EDIT - Forgot to add... Yeah you're semi correct. With a 255.255.255.128 mask and a /25 count you'd get 128 possible hosts, 126 of which are available.

Qs
Cool, so in future, when I calculate, I will add +2 to the Host value to make sure that it falls within range.


70-284 January '09
70-293 March '09
70-294 May '09
70-297 July '09
ITIL v3 August '09
CCENT October '09
CCNA December '09

Study Guides : 70-271 : 70-272 : 70-620 : 70-290 : 70-291

 
Reply With Quote
  #5  
Old 24-Sep-2008, 11:58 AM
dmarsh dmarsh is offline
Lifetime Member
Posts: 1,399
Points: 3240 dmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 points
Power: 48
None
Join Date: 24 May 2007
Location: Hampshire
Age: 34
Certifications: One or two...
WIP: OU MST121
You lose two hosts for the broadcast and the network address.

So you have 1+2+4+8+16+32=63-2 = 61 possible hosts, Not enough !

1+2+4+8+16+32+64=127-2 = 125 possible hosts, Enough !

Leaving last bit 128 for network, 8+8+8+1 = 25 So its /25 or 255.255.255.128.

Each octet is 8 bits or 0-255, 128 64 32 16 8 4 2 1.

You can do it with powers of 2 direct but if you get confused just go back to simple math.

For example you notice that first part came out 63, turns out every summation of the max possible representation in the lower columns is (2 power N) -1. This is like our decimal number system which is (10 power N) -1.

Digits column max representation 9, its one less than next power of ten which is 10 and the value of a unit in the next column !

2 power 6 is 64, minus 1 gives 63, which is the maximum number you can represent in 5 bits or the result of the summation. The only problem was you forgot the -2 part.



Last edited by dmarsh : 24-Sep-2008 at 12:24 PM.
 
Reply With Quote
  #6  
Old 24-Sep-2008, 12:06 PM
craigie's Avatar
craigie craigie is offline
Premium Member
Posts: 815
Points: 1657 craigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 points
Power: 26
None
Join Date: 05 May 2008
Age: 31
Certifications: MCP, MCDST, MCTS:Vista, MCSA
WIP: MCSA: M
Quote:
Originally Posted by dmarsh26 View Post
You lose two hosts for the broadcast and the network address.

So you have 1+2+4+8+16+32=63-2 = 61 Not enough !

1+2+4+8+16+32+64=127-2 = 125 Enough !

Leaving last bit 128 for network, 8+8+8+1 = 25 So its /25 or 255.255.255.128.
Yep, when I was doing the calulations, I forgot the -2


70-284 January '09
70-293 March '09
70-294 May '09
70-297 July '09
ITIL v3 August '09
CCENT October '09
CCNA December '09

Study Guides : 70-271 : 70-272 : 70-620 : 70-290 : 70-291

 
Reply With Quote
  #7  
Old 24-Sep-2008, 12:23 PM
Qs's Avatar
Qs Qs is offline
Semi-Honorary Member
Posts: 1,359
Points: 1292 Qs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 points
Power: 27
None
Join Date: 13 May 2008
Location: Lichfield, West Midlands
Age: 21
Certifications: HND Applied IT, CCNA
WIP: MCDST, MCP, A+, N+
Quote:
Originally Posted by dmarsh26 View Post
You lose two hosts for the broadcast and the network address.

So you have 1+2+4+8+16+32=63-2 = 61 possible hosts, Not enough !

1+2+4+8+16+32+64=127-2 = 125 possible, hosts, Enough !
DMarsh is pretty much on the ball... but...

1+2+4+8+16+32= 64

then you minus the two for broadcast and network

64 - 2 = 62 available hosts

It still isn't enough and your concepts are correct, but your calculations are off.

Same with 1+2+4+8+16+32+64 = 128

128 - 2 = 126 available hosts

Unless I'm missing something here?

Qs




Base 8 is just like Base 10, if you are missing two fingers.
 
Reply With Quote
  #8  
Old 24-Sep-2008, 12:25 PM
craigie's Avatar
craigie craigie is offline
Premium Member
Posts: 815
Points: 1657 craigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 pointscraigie has over 1500 points
Power: 26
None
Join Date: 05 May 2008
Age: 31
Certifications: MCP, MCDST, MCTS:Vista, MCSA
WIP: MCSA: M
Quote:
Originally Posted by Qs View Post
DMarsh is pretty much on the ball... but...

1+2+4+8+16+32= 64

then you minus the two for broadcast and network

64 - 2 = 62 available hosts

It still isn't enough and your concepts are correct, but your calculations are off.

Same with 1+2+4+8+16+32+64 = 128

128 - 2 = 126 available hosts

Unless I'm missing something here?

Qs
Nope thats exactly right, on the calcualtion I just forgot the -2.


70-284 January '09
70-293 March '09
70-294 May '09
70-297 July '09
ITIL v3 August '09
CCENT October '09
CCNA December '09

Study Guides : 70-271 : 70-272 : 70-620 : 70-290 : 70-291

 
Reply With Quote
  #9  
Old 24-Sep-2008, 12:26 PM
dmarsh dmarsh is offline
Lifetime Member
Posts: 1,399
Points: 3240 dmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 points
Power: 48
None
Join Date: 24 May 2007
Location: Hampshire
Age: 34
Certifications: One or two...
WIP: OU MST121
You are missing something ! (Check with a calculator if you don't believe me 1+2+4+8+16+32=63) the (base power N) - 1 rule holds for all number systems, binary, octal, decimal, hexidecimal, etc.

Another way to think of it is like this, 32+32 = 64, Well if I could represent 32 in the columns below why do I need a 32 column ? I can only represent 0-31 in the columns below, thats why I need a 32 column ! 31+32=63

There a 32 possible numbers or representations including zero, but zero doesn't count !

Number of combinations of 8 bits is 2 power 8 = 256, but each octet can only contain 255 ! We lose one combination/representation to represent the zero.



Last edited by dmarsh : 24-Sep-2008 at 12:40 PM.
 
Reply With Quote
  #10  
Old 24-Sep-2008, 12:37 PM
Qs's Avatar
Qs Qs is offline
Semi-Honorary Member
Posts: 1,359
Points: 1292 Qs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 points
Power: 27
None
Join Date: 13 May 2008
Location: Lichfield, West Midlands
Age: 21
Certifications: HND Applied IT, CCNA
WIP: MCDST, MCP, A+, N+
*thinks*




Base 8 is just like Base 10, if you are missing two fingers.

Last edited by Qs : 24-Sep-2008 at 12:39 PM.
 
Reply With Quote
  #11  
Old 24-Sep-2008, 12:48 PM
dmarsh dmarsh is offline
Lifetime Member
Posts: 1,399
Points: 3240 dmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 points
Power: 48
None
Join Date: 24 May 2007
Location: Hampshire
Age: 34
Certifications: One or two...
WIP: OU MST121
Okay imagine I've only got three bits (three columns)...

4 2 1

These are my representations :=

000 = 0
001 = 1
010 = 2
011 = 3
100 = 4
101 = 5
110 = 6
111 = 7

Thats eight representations, but the highest representation is 7 because I lost one for the zero.

Hence

(2 power 3)-1 = 8-1
7 is highest number.

(2 power 3) = 8
8 is number of representations.


Same with decimal :-

With one column 0-9

0
1
2
3
4
5
6
7
8
9

10 power 1 representations, or 10.

But maximum number is only 9, (10 power1)-1.

Same holds for other number systems and numbers of columns, just as combinations go up examples get more tedious!



Last edited by dmarsh : 24-Sep-2008 at 12:57 PM.
 
Reply With Quote
  #12  
Old 24-Sep-2008, 01:38 PM
Qs's Avatar
Qs Qs is offline
Semi-Honorary Member
Posts: 1,359
Points: 1292 Qs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 points
Power: 27
None
Join Date: 13 May 2008
Location: Lichfield, West Midlands
Age: 21
Certifications: HND Applied IT, CCNA
WIP: MCDST, MCP, A+, N+
I get what you're saying dmarsh but I still believe you're wrong within the context of calculating available hosts.

Admittedly when you're adding numbers together then it follows your concept (I must have been having an off day when I previously calculated this!), for example:-

1+2+4+8+16+32 = 63

But...

2^6 (or 2*2*2*2*2*2) = 64

You don't add the individual components to calculate the available hosts on a subnet. That's the point.

You calculate the power and then minus 2 (for the broadcast and network address of each subnet.)

So in craig's original example:-

Calculating for 63 available hosts...

2^6 = 64 - 2 = 62 available hosts

2^7 = 128 - 2 = 126 available hosts

As the latter has the required 63 hosts and the former doesn't - then the subnet mask MS are looking for is 255.255.255.128/25.

If you don't believe me then check Cisco's Host and Subnet Quantities table - http://www.cisco.com/en/US/tech/tk36...3.shtml#classc

K?

Qs




Base 8 is just like Base 10, if you are missing two fingers.

Last edited by Qs : 24-Sep-2008 at 01:41 PM.
 
Reply With Quote
  #13  
Old 24-Sep-2008, 01:41 PM
dmarsh dmarsh is offline
Lifetime Member
Posts: 1,399
Points: 3240 dmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 pointsdmarsh has over 3000 points
Power: 48
None
Join Date: 24 May 2007
Location: Hampshire
Age: 34
Certifications: One or two...
WIP: OU MST121
Ok I see your point you are correct, the zero and network address are the same thing so no need to minus the one in this case.

Take this example :=

000 = 0 All zeros / network.
001 = 1
010 = 2
011 = 3
100 = 4
101 = 5
110 = 6
111 = 7 All ones broadcast.

So in this case its (2 power N) -2 for number of hosts, you are correct. Theres no need to minus the zero/network twice ! My Bad, I knew I shouldn't have got involved with a networks thread !



Last edited by dmarsh : 24-Sep-2008 at 01:48 PM.
 
Reply With Quote
  #14  
Old 24-Sep-2008, 01:50 PM
Qs's Avatar
Qs Qs is offline
Semi-Honorary Member
Posts: 1,359
Points: 1292 Qs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 pointsQs has over 1000 points
Power: 27
None
Join Date: 13 May 2008
Location: Lichfield, West Midlands
Age: 21
Certifications: HND Applied IT, CCNA
WIP: MCDST, MCP, A+, N+
Quote:
Originally Posted by dmarsh26 View Post
Ok I see your point you are correct, the zero and network address are the same thing so no need to minus the one in this case.

Take this example :=

000 = 0 All zeros / network.
001 = 1
010 = 2
011 = 3
100 = 4
101 = 5
110 = 6
111 = 7 All ones broadcast.

So in this case its (2 power N) -2 for number of hosts, you are correct. Theres no need to minus the zero/network twice ! My Bad !
Np. Thought I was losing it for a second there too, lol. I lost the ability to add! Show's what work can do eh? *passes dmarsh a beer*

Qs




Base 8 is just like Base 10, if you are missing two fingers.

Last edited by Qs : 24-Sep-2008 at 01:52 PM.
 
Reply With Quote