I learnt that private IPv4 address space is:
Class A 10.0.0.0 – 10.255.255.255
Class B 172.16.0.0 – 172.31.255.255
Class C 192.168.0.0 – 192.168.255.255
A private IP address is an IP address that cannot be accessed over the Internet and normally protected by firewall.
169.254.0.0
used by Microsoft machines but not assigned by IANA
In the below AWS VPC architecture(from here):
Public subnet is designated with subnet 10.0.0.0/24
, but this address is part of private address space(10.0.0.0 – 10.255.255.255
).
Why subnet(10.0.0.0/24
) is considered as public subnet?
Note: In AWS world, associating a subnet to a public route table makes it a public subnet. Route table entry having outbound traffic to IGW indicates a route table, a public route table