Having trouble understanding subnet masks

I've always configured my netmask as 255.255.255.0 - which I understand is equal to 10.1.1.0/24 and that gives me 256 IP addresses in my subnet.

I also understand that 255.255.252.0 = 10.1.1.0/22 which gives me 1024 IP adresses - but which IP addresses?

Does 10.1.1.0/22 mean that nodes on this subnet will have an IP range from 10.1.1.1 to 10.1.4.255?

If so, does that mean that any 10.1.1.x node can talk to any other node with a 10.1.2.x (or 10.1.3.x or 10.1.4.x) IP?

3 Replies