I was working on to get a network and wildcard for the below mentioned networks and I got this answer --> 192.49.166.0 4.255.1.255 which is untrue! The correct answer is 205.49.166.0 2.0.1.255
http://blog.ipexpert.com/2009/06/10/wild-card-masks/ 205.49.166.0/24 207.49.166.0/24 208.49.166.0/24 205.49.167.0/24 207.49.167.0/24 192.49.166.0/24 I'm writing the process I am following to do the ANDing and XORing operations of these networks, I'll take the first octet of all the networks. First the AND operations 208 -> 1 1 0 0 1 1 0 1 208 -> 1 1 0 0 1 1 0 1 207 -> 1 1 0 0 0 1 1 1 207 -> 1 1 0 0 0 1 1 1205 -> 1 1 0 0 0 1 0 1 192 -> 1 1 0 0 0 0 0 0 ---------------------------------------------------------------- -------------------------------------- AND->1 1 0 0 0 1 0 1 -> 208AND->1 1 0 0 0 1 0 1 ->208AND-> 1 1 0 0 0 0 0 0 -> 192 Now I am ANDing the results of first two and the result of this I'll AND with the result of third AND operation done above which is 192. 208 -> 1 1 0 0 0 1 0 1196-> 1 1 0 0 0 1 0 0 208-> 1 1 0 0 0 1 0 0192-> 1 1 0 0 0 0 0 0 ----------------------------------------------------------------- AND-> 1 1 0 0 0 1 0 0 -> 196AND->1 1 0 0 0 0 0 0 -> 192-> And hence the first octet of the network would be 192! Now the XOR operations. 208 -> 1 1 0 0 1 1 0 1 208 -> 1 1 0 0 1 1 0 1 207 -> 1 1 0 0 0 1 1 1 207 -> 1 1 0 0 0 1 1 1205 -> 1 1 0 0 0 1 0 1 192 -> 1 1 0 0 0 0 0 0 ---------------------------------------------------------------- -------------------------------------- XOR-> 0 0 0 0 1 0 1 0 ->10 AND-> 0 0 0 0 1 0 0 1 ->9AND-> 0 0 0 0 0 1 1 1 -> 7 Now I am XORing the results of first two and the result of this I'll XOR with the result of third XOR operation done above which is 7. 10 -> 0 0 0 0 1 0 1 0 3-> 0 0 0 0 0 0 1 1 9-> 0 0 0 0 1 0 0 1 7-> 0 0 0 0 0 1 1 1 ----------------------------------------------------------------- XOR->0 0 0 0 0 0 1 1 -> 3 AND->0 0 0 0 0 1 0 0 -> 4 -> And hence the first octet of the wildcard mask would be 4! So the first Octet of Network statement I get is 192 and the first octet of wildcard mask I get is 4! >>> The other question I have is about the wild card mask, in the answer it is >>> 2.0.1.255, here the second octet which has all zeros is written as a Zero >>> "0" rightly, but the last octet which is also all zeros is written as 255? >>> I found this a rather strange phenomenon!! While I am sure I am doing the AND and XOR operations correctly, I might be inadvertently deviating somewhere during the calculation! Requesting comments from all the experts in this forum. -RS _______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com Are you a CCNP or CCIE and looking for a job? Check out www.PlatinumPlacement.com http://onlinestudylist.com/mailman/listinfo/ccie_rs
