Book now with code EOY2025
mookytc wrote: Hi all, I am in the process of taking a network assesment test. This fall I am enrolled in some Cisco classes (quite excited about that). I have hit a road block while studying some material. I went to one of our gurus (at work) who explained how he figures it out. Back at home I am still getting something wrong so maybe someone can assist. It is in regards to figuring out the network and broadcast addresses when a prefix is used. Here is an example: 158.252.229.205 /19 The correct answer for this: network address: 158.252.224.0 broadcast address: 158.252.255.255 Can anyone explain to me their process for figuring this out? Need to get over this block to continue. Note: converting binary numbers is not an issue. Thanks! DC
tech-airman wrote: mookytc wrote: Hi all, I am in the process of taking a network assesment test. This fall I am enrolled in some Cisco classes (quite excited about that). I have hit a road block while studying some material. I went to one of our gurus (at work) who explained how he figures it out. Back at home I am still getting something wrong so maybe someone can assist. It is in regards to figuring out the network and broadcast addresses when a prefix is used. Here is an example: 158.252.229.205 /19 The correct answer for this: network address: 158.252.224.0 broadcast address: 158.252.255.255 Can anyone explain to me their process for figuring this out? Need to get over this block to continue. Note: converting binary numbers is not an issue. Thanks! DC mookytc, Q: What class of IP address is 158.252.229.205? Class A Class B Class C Class D Class E Other?
Plazma wrote: Well they generally ask you to pick out the broadcast and the network ID right? So the network ID is always the 1st IP in the range and the broadcast is always the last IP in the range (notice i said IP and not Usable IP)
mookytc wrote: tech-airman wrote: mookytc wrote: Hi all, I am in the process of taking a network assesment test. This fall I am enrolled in some Cisco classes (quite excited about that). I have hit a road block while studying some material. I went to one of our gurus (at work) who explained how he figures it out. Back at home I am still getting something wrong so maybe someone can assist. It is in regards to figuring out the network and broadcast addresses when a prefix is used. Here is an example: 158.252.229.205 /19 The correct answer for this: network address: 158.252.224.0 broadcast address: 158.252.255.255 Can anyone explain to me their process for figuring this out? Need to get over this block to continue. Note: converting binary numbers is not an issue. Thanks! DC mookytc, Q: What class of IP address is 158.252.229.205? Class A Class B Class C Class D Class E Other? Class B...
This is how I do it, mooky. Really really simple, just as explained in the ICND book (old CCNA version). Just remember the following numbers in bold (notice how the number os 1's just gets incremented): 12 8 - 1000 0000 19 2 - 1100 0000 22 4 - 1110 0000 24 0 - 1111 0000 24 8 - 1111 1000 25 2 - 1111 1100 25 4 - 1111 1110 25 5 - 1111 1111 Having the above numbers in mind, your questions says /19. Which means that 8 + 8 + 3 = 19. So you have 3 "ones" in your third octet. So from the above table, 3 "ones" are in 224. Therefore your mask is 255.255.224.0 Now for your broadcast address and network addresses: Look at your mask, the 3rd octet is the "interesting octet". Subtract the number in the interesting octet from 256. So in your case, 256-224= 32. So the "Magic Number" is 32. Now multiply 32 by a number starting from 1, then 2 , then 3 and so on till you are equal to or less than 229. So, the closest you can get is 32 * 7 = 224. Therefore your network number will be 224. You get network number = 158.252.254.0 (All numbers in the octets before the interesting octet are copied as is). For broadcast address: Add the "Magic Number" i.e. 32 in our case to the network number i.e. 224 and subtract 1 from it, which gives you 224+32 -1 = 255. So you have 255 in the third octet. The last usable number in the last octet is 255 which completes your broadcast addrress 158.252.255.255 Hope this has been informative for you and thank you for reading! Post any doubts you might have this method. I have found this easier than any other method, but I guess this is just personal preference as other posters have their own ways of going about subnetting.
Use code EOY2025 to receive $250 off your 2025 certification boot camp!