Compare cert salaries and plan your next career move
m1chael wrote: » Thank you everyone for all your help, I really really appreciate it. Ok, so I now understand that if your confused go ahead and break down the # into binary: so 255.255.255.240 (so for 240 that would be 11000000) Got that part I also understand why we are using 128, 64, 32, 16, 8, 4, 2, 1 (powers of 2 and you read the binary # from right to left...correct?) From the examples above I am having a little difficulty with post # 2 Carlsaiyed and how to determine that 10.5.10.0 255.255.240.0 would give you the following: 10.5.0.1 - 10.5.15.254. 10.5.16.1 - 10.5.31.254 would be in the next network and separate from this one? I don't understand this? What am I missing?
m1chael wrote: » Carlsaiyed- First thanks for taking the time to assist me...I appreciate it...Second thanks for your lengthy examples in an attempt to break this down for me...sorry you have to "dumb" it down so much.... Your examples are helping but I am perplexed by a real world example: If I have a Class B IP address / 172.16.15.20 and a SNM of 255.255.255.192 how is this possible...I thought Class B IP addresses had to be associated with a Default SNM of 255.255.0.0? I don't understand....I thought it would be 255.255.192.0? Where am I going wrong with my train of thought.... Thanks...
CarlSaiyed wrote: » 10000000 = 128. 256-128 = 128 11000000 = 192. 256-192 = 64 11100000 = 224. 256-224 = 32 11110000 = 240. 256-240 = 16 11111000 = 248. 256-248 = 8 11111100 = 252. 256-252 = 4 11111110 = 254. 256-254 = 2 11111111 = 255. 256-255= 1 If you can commit this table to memory and really know this, subnetting questions become easy. So the first thing you do is take your mask and figure out your block size. Here's an example. 192.168.55.68 255.255.255.192. What network is this in? What is the broadcast address? What is the range of available addresses? We know that because the mask is 255.255.255.192, the first three octets will be part of the network address. 256-192 = 64. So we know that we are breaking up the fourth octet into chunks of 64. Now we count in blocks of 64. 0,64,128,192. We have divided our network address of 192.168.55.0 into four networks, which are 192.168.55.0, 192.168.55.64, 192.168.55.128, 192.168.55.192. In our example 192.168.55.68 falls within the second network which is 192.168.55.64. The broadcast address is always the last address in the range. We know that 192.168.55.128 is the next address, so the broadcast is 192.168.55.127. This leaves us with the available host addresses of 192.168.65-126. Your range is always block size - 2. (One for network, one for broadcast). Once you have this down you can learn how to calculate # of host addresses (easy, just know the powers of 2)
m1chael wrote: » Carlsaiyed / elderkai- Thanks for everyone's help...I took the weekend off just to give my brain a rest (especially after going home on Friday and watching Lammle again)...I think he is kind of confusing me even more....really I think with his info and the info I am getting off of here my mind is going a million miles a minute. Anyway...I decided to jump back on it this morning to see if anything sunk in....so I tried the following example: 192.168.55.24 / 255.255.255.240 So first... Block size of 16 (256-240) How many networks? 16 What network is this in? 192.168.55.16 Broadcast address? 192.168.55.31 Range of addresses available? 192.168.55.17 thru 192.168.55.30 # of host addresses? 16 This is where the powers of 2 come into play....so 240 is 11110000 (count of the # of zero's which is 4) so its 2 to the 4th power which is 16. Am I on the right track so far? Thanks....
MrXpert wrote: » :DYou are indeed on the right track. I will point out that the number of valid hosts would be 2^4-2=14.
lantech wrote: » m1cheal, You are on the right track. But I would suggest trying to do it in binary first. That way you'll have a better understanding of how the router is doing. Then look for other ways that are faster for you to do it. Course if you want to eat, breath and sleep binary you will eventually be able to do it in your head pretty fast.
DarthVader wrote: » 1 2 3 4 5 6 7 8 128 192 224 240 248 252 254 255 128 64 32 16 8 4 2 1 If you can understand these numbers and keep them in the back of your mind, you should never have a problem subnetting, think about it....
m1chael wrote: » I understand what you are saying with remembering the default SNM and the block sizes but not sure about 1 2 3 4 5 6 7 8 ?
sratakhin wrote: » For a class C network, the second octet has to be 168. You can use any number in the third and fourth octet though.
m1chael wrote: » So my question is about the second octet (second and third for class c)....is there usually a default number people use or a standard or can you address this any way you like?
For a class C network, the second octet has to be 168. You can use any number in the third and fourth octet though.
m1chael wrote: » Edit: I guess you can't use the 192.165.5.1 because it is not in the "private" range.....but I guess you could use 192.168.20.1 if you wanted?
Compare salaries for top cybersecurity certifications. Free download for TechExams community.