Nat – Block of 64 public IP’s, how many usable

nat;

We have been assigned a block of 64 IP's by ARIN (/26). We have a private range that is a /22. Every time we get a new block of public IP's we NAT them to the next available addresses in that range, so no new private subnets being made for this new /26 block.

My question is: how many will be usable by hosts? Normally I'd say 61 (1 for network, 1 for gateway, 1 for broadcast) but with a public block not sure.

Best Answer

IP addresses are IP addresses are IP addresses. Until (and unless!) you end up with an assignment of IP addresses in an ethernet (or ethernet-like) network, there is no concept of "network address" "broadcast address" and the like.

NAT functions are not "an ethernet(-like) network", so all IP addresses in a block like that are usable in a NAT configuration.

There's a very strong argument to be made for not setting NAT configurations up like that, though. If you're just mapping one set of IP addresses up as 1-1 NAT mappings to another "private" (air-quotes intended) set of IP addresses, then why not just assign the public addresses directly onto the systems and eliminate the NAT altogether?

Related Topic