Book now with code EOY2025
Tricon7 wrote: Can someone show me the practical way to get the answer to this question? (The answer is a.) What is the broadcast address for the subnet that IP address 192.168.26.12 255.255.255.248 is a member of?a. 192.168.26.15 b. 192.168.26.255 c. 192.168.26.16 d. 192.168.26.8
milliamp wrote: Why do you confuse the issue by going back and forth from classful and CIDR addressing like they are interchangable?
milliamp wrote: The mask is not 255.255.255.0, it is 255.255.255.248 and was given right in the question.
milliamp wrote: Lets say I have an IP address of 10.10.10.45/25, what is my broadcast address? Is it 10.255.255.255 becasue it is a "class A" IP address? No, it is 10.10.10.127 becasue this is CIDR and not alphabet soup.
milliamp wrote: "Since the default mask is 255.255.255.0 , the subnetting is occuring in the fourth octet. " The default classful mask has nothing to do with it, take for example the above host (10.10.10.45/25). Since it is a "class A" IP address does the subnetting take place in the first octet?
milliamp wrote: When we break our subnet mask down into binary we get 11111111.11111111.11111111.10000000 That does not look like the first octet to me.
milliamp wrote: In short, Classful addressing = old and busted CIDR = New hotness. The fact that so few texts bother to make this distinction is a huge pet peeve of mine.
milliamp wrote: Which brings us to our next lesson kids... Don't smoke crack.
128 64 32 16 | 8 4 2 1 128 192 224 240 | 248 252 254 255 25 26 27 28 | 29 30 31 32
last octet (/25 through /32): Code: 128 64 32 16 | 8 4 2 1 128 192 224 240| 248 252 254 255 25 26 27 28 | 29 30 31 32
EdTheLad wrote: 256-248 = 8 subnets 0,8,16,24,32 etc ip address given is 192.168.26.12, so 12 falls in the middle of the .8 subnet, the last address in the .8 subnet is .15, this has been explained 1756 times on this forum, use the search engine or just browse the forum to learn more.
MrfixitRight wrote: Suddenly the fog has lifted!!! Great thread, very informative. last octet (/25 through /32): Code: 128 64 32 16 | 8 4 2 1 128 192 224 240| 248 252 254 255 25 26 27 28 | 29 30 31 32 Where did you get this? Good to have.
Block: 128 64 32 16 8 4 2 1 Mask: 128 192 224 240 248 252 254 255 CIDR: /25 /26 /27 /28 /29 /30 /31 /32 CIDR: /17 /18 /19 /20 /21 /22 /23 /24 CIDR: /9 /10 /11 /12 /13 /14 /15 /16
iproute wrote: MrfixitRight wrote: Suddenly the fog has lifted!!! Great thread, very informative. last octet (/25 through /32): Code: 128 64 32 16 | 8 4 2 1 128 192 224 240| 248 252 254 255 25 26 27 28 | 29 30 31 32 Where did you get this? Good to have. This is the chart I use to subnet as well, but I also include some lower CIDR numbers:Block: 128 64 32 16 8 4 2 1 Mask: 128 192 224 240 248 252 254 255 CIDR: /25 /26 /27 /28 /29 /30 /31 /32 CIDR: /17 /18 /19 /20 /21 /22 /23 /24 CIDR: /9 /10 /11 /12 /13 /14 /15 /16 When necessary, I bust out the 2^N and 2^H-2. You can use the above chart to count host/network bits. For example, if it's a /27, you can see that there are 3 network bits and 5 host bits. If it's a /22, you can see that there are 6 network bits and 10 host bits.
MrfixitRight wrote: iproute wrote: MrfixitRight wrote: Suddenly the fog has lifted!!! Great thread, very informative. last octet (/25 through /32): Code: 128 64 32 16 | 8 4 2 1 128 192 224 240| 248 252 254 255 25 26 27 28 | 29 30 31 32 Where did you get this? Good to have. This is the chart I use to subnet as well, but I also include some lower CIDR numbers:Block: 128 64 32 16 8 4 2 1 Mask: 128 192 224 240 248 252 254 255 CIDR: /25 /26 /27 /28 /29 /30 /31 /32 CIDR: /17 /18 /19 /20 /21 /22 /23 /24 CIDR: /9 /10 /11 /12 /13 /14 /15 /16 When necessary, I bust out the 2^N and 2^H-2. You can use the above chart to count host/network bits. For example, if it's a /27, you can see that there are 3 network bits and 5 host bits. If it's a /22, you can see that there are 6 network bits and 10 host bits. Sorry, just a bit confused again. The top line is the block, 2nd the mask, got that. What I guess I'm not seeing is the bits, or at least how you arrive at the number of network/host bits by using this chart. /22 would be 255.255.252.0? 6 network bits and 10 host bits, right? So, a /9 mask would be 23 host bits and 9 network bits? Right? I just don't see that in the chart. I just count up the network bits and what is left are host bits. Now I have to get VLSM down, and route sumarization! (3 subnets into 1. /27, /27, /28 = /25?)
iproute wrote: While I've been testing this method for about 2 weeks now with 100% accuracy, I'm still not 100% confident in it, so I'll try to explain and we'll let the more experienced individuals identify any flaws. First, each CIDR row is like a reference to the octet that you're subnetting in. If you're in the top row, you're dealing with a mask value in the last octet, if you're in the second row you're dealing with a mask value in the third octet, and so on. Each CIDR number is simply a reference to a number of network bits. For example, a /27's (taking place in the first row, thus the last octet) would look like this in binary: NNNHHHHH. You can count the number of network bits by counting the /27, and the numbers to the left (so, /27, /26, /25 - there are 3 in total). You can then count the host bits by counting all numbers to the right of the /27 (/28, /29, /30, /31, and /32 - there are 5 in total). For a /22, it would look more like this: NNNNNNHH.HHHHHHHH
The simple fact is some people like to make things complicated and other like the straight forward approach.
Use code EOY2025 to receive $250 off your 2025 certification boot camp!