XOR for Computing ACL Masks
I have been looking at the following example on how to calculate an appropriate mask. http://www.internetworkexpert.com/resources/01700370.htm. While I understand the process that was use (and it works well) I cannot figure out how the mask was calculated using XOR in example 2. If I understand XOR correctly anytime there are an even number of 1’s in a computation the result of XOR will be 0. When there are an odd number of 1’s the result will be 1. This does not seem to hold true in the example. Can someone please help me understand how XOR was applied to come up with the mask in example 2. Specifically the second octet is where the confusion comes in. The only conclusions I can draw are that this is not truly an XOR or I do not understand XOR. By the way I tried to XOR 0011 in the MS calculator and the result is 0. Thanks!
























