Compare cert salaries and plan your next career move
miller811 wrote: » You always start with the largest to smallest.
hackmer wrote: » Thank you for it. I did not know that before.
binaryhat wrote: » I'm having difficulty with subnetting Class B addresses in Lammle's example. In chapter 3 examples 6B, 7B and 8B on Subnetting Practice Examples: Class B Addresses . In exampl 6B you have a Class B subnet mask of /25. What I'm not clear on is why you get two subnets for each third octet. In exampl 7B you have a Class B subnet mask of /26. What I'm not clear on is why you get four subnets for each third octet. In exampl 8B you have a Class B subnet mask of /27. What I'm not clear on is why you get eight subnets for each third octet. It seems that you are doubling the number of subnets for each third octet (class b address) as you change the subnet mask (starting at /25) Am I making any sense?
instant000 wrote: » I'm not familiar with this Lammle's example that you speak of,
binaryhat wrote: » The examples are in Chapter 3, between pages 130-133.
binaryhat wrote: » Okay let me expand on my subnetting problem/question: In example 6B: 172.16.0.0 = Network address 255.255.255.128 = Subnet mask (/25) Subnets? 2^9 = 512. Hosts? 2^7 – 2 = 126. Valid subnets? 256 – 255 = 1. 0, 1, 2, 3, etc. Now looking at the attachment, for every two subnets its 0.0 0.128 1.0 1.128.... I understand the valid subnets increase by 1 but I'm stuck on why every two subnets use the same number, 0.0, 0.128, 1.0, 1.128 etc? Is it because you are using an extra bit in the fouth octet? Hence 2^1=2 subnets...I'm confused....
binaryhat wrote: » A-ha! I see it now with the block size and # of subnets. When counting up in block size for by subnet you can't go over 256. 172.16.0.0 = Network address 255.255.255.128 = Subnet mask (/25) Subnets = 2^1=2 because you are borrowing an extra bit. 172.16.0.0 172.16.0.128 172.16.1.0 172.16.1.128 .... .........
You actually get two subnets for each third octet value, hence the 512 subnets. For example, if the third octet is showing subnet 3, the two subnets would actually be 3.0 and 3.128.
I see that he gave some explanation about incrementing by 1, and also incrementing by .128, and it didn't make sense to me. I can plainly see that adding .128 (to a class gives me that. Of course, if it was a class C, then you'd just have 2^1 = 2 subnets, and you'd do two increments of 128, and be done already . I think noting that the address is a Class B is the important thing here, and that is the difference you are seeing in the subnetting result.
binaryhat wrote: » Yes, you get 2^9=512 subnets but every two subnets are the same, hence 2^1=2(extra bit in the 4th octet): 0.0, 0.128, 1.0, 1.128, 2.0, 2.128, 3.0, 3.128.... In the next example 7B: every four subnets are the same, hence 2^2=4(2 extra bits in the 4th octet): 0.0, 0.64, 0.128, 0.192, 1.0, 1.64, 1.128, 1.192 (1024 total subnets) I'm just looking at the patterns and extra bit(s) in the 4th octet when using a class b subnet...
kamay44 wrote: » Thank you, i completly undertood everything, but now i have this problem.Question: How many subnets and hosts per subnet can you get from the network 172.29.0.0/25?Answer: 512 subnets and 126 hosts Why??? My aswers was 2 subnets and 126 host. The mask is /25, so we are working in the fourth octect right?? Why do they move to the third one??
j-man wrote: » Then you haven't completely understood everything in the prior posts. First rule about subnetting is to find the network portion. Remember your network classes: A, B and C This is a class B address which means the first two octets are network and the rest are hosts. Straight away a class B subnet mask will look like 255.255.0.0 or 11111111.11111111.00000000.00000000 Now look at your /25. This tells you 25 bits are used in the mask. In this case you ignore the first 2 octets because it is a class B network which means your subnet mask will now look like 255.255.255.128 or /25 notation (note the bold) 11111111.11111111.11111111.10000000 Count the number of bold to 2^n 2^9 = 512 subnets everything to the right of the last bold bit will be your hosts minus 2 126 hosts If you take anything away from this post, please remember that you should first identify the network class (A, B, or C). Those bits will never be counted in figuring out subnets.
Mason83 wrote: » This is an absolutely incredible thread and many thanks to the TS for taking the time to type this up. I do have a question and I've get stuck every time I see one of these: Question: How many subnets are available with the network 172.16.0.0/26? Answer: 1024 How do I get the answer?
cb3dwa wrote: » because 2^10 = 1026 subsets and 62 hosts 11111111.11111111.11111111.11000000
Moki99 wrote: » Okay, I think I'm getting close. The one thing I don't get is how to do some of these math problems quickly on the exam. For Example:Question: How many subnets and hosts per subnet can you get from the network 172.25.0.0 255.255.240.0?2^4 = subnets2^12 - 2 = Hosts How am I suppose to do 2^12 during the test with just a pen and paper? It would take forever. If theres a shortcut that everyone uses, I would appreciate it!
miller811 wrote: » just memorize the powers of 2 easy to memorize the first 8, then just double to the number 4 more times in this case or 2 ^ 10 = 1024 and double two more times.
Moki99 wrote: » How am I suppose to do 2^12 during the test with just a pen and paper? It would take forever. If theres a shortcut that everyone uses, I would appreciate it!
Compare salaries for top cybersecurity certifications. Free download for TechExams community.