If the subnet mask is 255.255.252.0, then would 10.10.12.1 be on the same network as 10.10.14.1? Or would they require a NAT to communicate?
Asked
Active
Viewed 74 times
1
-
there are a lot of subnet calculator on web, just find one. it calculate for you everything related with binary math – emirjonb Jul 30 '15 at 08:34
-
everything you need to learn to calculate this is here. – Craig Constantine Aug 11 '15 at 10:09
2 Answers
2
Yes they are because when you do and operation
of both IPs with the subnet mask you will get the same result 10.10.12.0
so they belongs to same network 10.10.12.0
.

storm
- 208
- 2
- 9
2
I find that an easy way to calculate this is if you recall your mask combinations against their powers of 2 within the binary 8 bits of an octet:
In your example where you have 4 aligned to 252 (/22 mask = 255.255.252.0), then you have a range of 4 networks counting up from the network number. The octet where your mask changes from .255 will correspond to the octet of your host address. In this instance it is in the 3rd octet so you will have a range from 10.10.12.1 - 10.10.15.255/22, so yes they are within the same subnet.

MattE
- 2,087
- 4
- 24
- 34