Hello, I'm trying to wrap my head around one of my CCNA lab's wildcard mask that they used versus what I believed to be correct.
Basically it goes like this, they wanted only the 10.10.2.0/24 and 10.10.3.0/24 networks to be allowed to communicate between 3 routers with an ACL permitting only the two mentioned networks. Later they show one way to find this out by laying out all of the common bits, and I did that.
10.10.2.0/24: 00001010.00001010.00000010.00000000
10.10.3.0/24: 00001010.00001010.00000011.00000000
If we were basing this off of the common bits, the only common bit would be the 2^1 bit, or the bit with the value of 2. Translate this into a wildcard mask (and to my knowledge netmasks must be contiguous but wildcard masks do not need to be contiguous) would be, in my mind:
00000000.00000000.00000010.11111111 or 0.0.2.255. This should cover the 10.10.3.0/24 and 10.10.2.0/24 networks, right? Edit: They also want the wildcard mask to include as little IPv4 addresses as possible
The lab however used the wildcard mask 0.0.1.255 which only covers the 10.10.3.0/24 network, in my mind.
Am I wrong or is the lab using 0.0.1.255 wrong? Can anyone explain to me what I'm missing this is actually making me lose my mind.
No comments:
Post a Comment