I'm wondering if I can use the network and broadcast IP addresses of a /24 subnet, when the /24 subnet is included in a larger /22 subnet range for NAT?
PS: Please consider that 198.51.0.0/22 is Public IPv4 address for NAT.
For example, i have 4 times /24 subnets such as:
- 198.51.0.0/24
- 198.51.1.0/24
- 198.51.2.0/24
- 198.51.3.0/24
I'm using them all for NAT. In this case i'm using their only usable IPs such as:
-198.51.0.1 to198.51.0.254
-198.51.1.1 to198.51.1.254
-198.51.2.1 to198.51.2.254
-198.51.3.1 to198.51.3.254
But i wanted them to use aggregated/summarized like this: -198.51.0.0/22
Which means i have to use NAT like: -198.51.0.1 to198.51.3.254
In this case, Network and broadcast IPs such as:
198.51.0.255
198.51.1.0
198.51.1.255
198.51.2.0
198.51.2.255
198.51.3.0
are used for NAT. Is it really okay to use like this?