Adrian
Routers use inverse masks in access-lists so
192.168.0.0 subnet mask = 255.255.0.0
Subnet mask means the first 2 octets must match ie. 192.168.
The 3rd and 4th octet can be anything.
65.110.162.168 subnet mask 255.255.255.248
1st, 2nd, 3rd octect must match and only the last 3 bits in the last octet will change ie.
128 64 32 16 8 4 2 1
1 1 1 1 1 0 0 0 = 248
Last 3 bits ie. 4 + 2 + 1 = 7
Now an inverse mask is just the opposite of a subnet mask so
192.168.0.0 255.255.0.0 =
192.168.0.0 0.0.255.255
That one is easy because you just change 0 to 255 and 255 to 0
65.110.162.168 255.255.255.248 =
65.110.162.168 0.0.0.7 (7 because of the explanation above).
Now if that has totally confused you here is a quick way to do it
Whenever you see 255 change it to 0 and vice-versa.
Then
256 = 248 = 8 - 1 = 7
so 255.255.255.248 = 0.0.0.7
In the same way a subnet mask of 255.255.255.192 =
256 - 192 - 1 = 63 so inverse mask =
0.0.0.63
HTH
Jon