Compare cert salaries and plan your next career move
control wrote: » To anyone working in the networking field, do you actually do all this in your head, or always use a calculator when the need arises?
Monkerz wrote: » Well I would start with the fact you need 32 subnets. Usually you will turn 32 decimal to binary to figure out how many bits you will need, I can't remember the actual rule but when needing 128, 64, 32, 16, 8, 4, 2 and such, you have to subtract 1 from the number. 31 = 11111 It looks like you will need 5 bits to use as subnet bits. Now convert your given mask into binary. /25 => 255.255.255.128 => 11111111.11111111.11111111.10000000 To make this a little easier on the eyes I like to identify each bit with a letter to show it's role: N=Network, S=Subnet and H=Host Original Mask: NNNNNNNN.NNNNNNNN.NHHHHHHH You need to allow for 32 subnets, so you need to convert some host bits to subnet bits. You will start at the rightmost network bit and go right. New Mask: NNNNNNNN.NNNNNNNN.NSSSSSHH Now that you have reserved bits for your subnets, you can convert the mask back. N's and S's will be 1's and H's will be 0's. 11111111.11111111.11111111.11111100 => 255.255.255.252 => /30 So you will be using /30 to get 32 subnets out of your /25 you had to start: Subnet 1 = 2.2.2.0/30 Subnet 2 = 2.2.2.4/30 Subnet 3 = 2.2.2.8/30 Subnet 4 = 2.2.2.12/30 Subnet 5 = 2.2.2.16/30 Subnet 6 = 2.2.2.20/30 Subnet 7 = 2.2.2.24/30 Subnet 8 = 2.2.2.28/30 Subnet 9 = 2.2.2.32/30 Subnet 10 = 2.2.2.36/30 Subnet 11 = 2.2.2.40/30 Subnet 12 = 2.2.2.44/30 Subnet 13 = 2.2.2.48/30 Subnet 14 = 2.2.2.52/30 Subnet 15 = 2.2.2.56/30 Subnet 16 = 2.2.2.60/30 Subnet 17 = 2.2.2.64/30 Subnet 18 = 2.2.2.68/30 Subnet 19 = 2.2.2.72/30 Subnet 20 = 2.2.2.76/30 Subnet 21 = 2.2.2.80/30 Subnet 22 = 2.2.2.84/30 Subnet 23 = 2.2.2.88/30 Subnet 24 = 2.2.2.92/30 Subnet 25 = 2.2.2.96/30 Subnet 26 = 2.2.2.100/30 Subnet 27 = 2.2.2.104/30 Subnet 28 = 2.2.2.108/30 Subnet 29 = 2.2.2.112/30 Subnet 30 = 2.2.2.116/30 Subnet 31 = 2.2.2.120/30 Subnet 32 = 2.2.2.124/30
THA_DOC wrote: » You seem have complete understand of subnetting, so how long did take you completely know subnet table and what did/how practice until it all came together.
control wrote: » Is there an easy way to count up in increments "quicker" or some sort of formula I'm missing, e.g when the block size is going up in 4 and they are asking about an address in the 220 range.
SharkDiver wrote: » I don't know about anyone else, but I honestly have never used a subnet calculator. I always do it in my head. Keeps it fresh.
MAC_Addy wrote: » I was over-complicating it in my head. I went into it thinking "oh my god, subnetting is so difficult, how on earth am I going to be able to do it". And with that thought I had a hard time learning it.
Compare salaries for top cybersecurity certifications. Free download for TechExams community.