Wireless Networks Thread, Subnetting math question. in Technical; Hi just a quick question i'm studying for my CCNA and have been trying to wrap my head around subnetting, ...
25th February 2008, 10:16 PM #1
- Rep Power
Subnetting math question.
Hi just a quick question i'm studying for my CCNA and have been trying to wrap my head around subnetting, as part of my study i've been pulling questions from online and one of the questions was :
identify the 125th subnet on a 10.0.0.0/18 (255.255.192.0)
and for hours now i've been trying to work out a quick way to work out the 125th but have no idea of easy ways.
i ended up doing:
10.0.0.0 is subnet 0
10.0.64.0 is subnet 1
10.0.128.0 is subnet 2
10.0.192.0 is subnet 3
10.1.0.0 is subnet 4
then i went "if subnet 4 is 10.1.0.0 then subnet 8 is 10.2.0.0 and so on"
and worked my way to subnet 125.
and my answer was 10.31.64.0
no idea if my answers are correct or not but can anyone point me in the right direction of an easy way to work out identifying specific subnet numbers?
25th February 2008, 11:20 PM #2
Yes you are indeed correct.
10.0.0.0 Private Class A address /18 or netmask 255.255.192.0
Gives you 1024 subnets with 16,382 hosts per subnet.
Subnet 125 would give you a network address of 10.31.64.0 and the broadcast address of 10.31.127.255.
25th February 2008, 11:48 PM #3
- Rep Power
Thanks for the reply, is there an easyer way to work out a specific subnet number? you seem to have done it alot easyer than i did!
26th February 2008, 09:02 AM #4
Originally Posted by nigel6666
not sure about an easy way, but the way i work these out is by using the method used by my ccna instructor, who was a particularly bright man...
draw out the four octets on a piece of paper
xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx
draw a dotted line down /18 to distinuish between the network portion and host portion of the address space..
xxxxxxxx xxxxxxxx xx|xxxxxx xxxxxxxx
working back from the right-most digit on network portion assign the following 1, 2, 4, 8, 16, 32, 64 etc. as below, we'll not need 128 as that exceeds the 125 you're trying to work out.
64 32 16 8 4 | 2 1
1 1 1 1 1 o 1
now simply 1 the numbers that are used to make up 125 (the 125th subnet you're looking for) as above
Then just adjust it by working in the correct order, so it then becomes ;
16 8 4 2 1 | 128 64
1 1 1 1 1 o 1
And now we just add up the ones in all octets
so the first octet is still 8 + 2 = 10
the second octed is now 16+8+4+2+1= 31
the third octet is just 64 = 64
the fourth octet is the host portion entirely so that's all = 0
for the broadcast just 1 the host portion so that becomes.....
i'm sure someones going to point out a mistake in my workings or show you an easier way, but it was a lot quicker working it out using this method than you'd think.
Last edited by torledo; 26th February 2008 at 09:10 AM.
27th February 2008, 09:42 PM #5
By wagnerk in forum MIS Systems
Last Post: 24th January 2008, 10:47 AM
By glennw in forum Windows
Last Post: 27th September 2007, 01:17 PM
By Kyle in forum Wireless Networks
Last Post: 3rd April 2007, 12:57 PM
By Dos_Box in forum Wireless Networks
Last Post: 3rd January 2007, 12:07 PM
By Elky in forum Recommended Suppliers
Last Post: 7th November 2006, 02:02 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)