A VPC subnet is created with CIDR 10.0.4.0/24 in AWS. How many IP addresses can actually be assigned to resources?
Correct answer
C. 251, because AWS reserves five addresses in every subnet for networking functions
13 views
C. 251, because AWS reserves five addresses in every subnet for networking functions
13 views
Subnet sizing subtracts five addresses from every AWS subnet: the network address, the VPC router, DNS, a future-use address and the broadcast address, so a /24 offers 251 usable ones. A /28, with 16 addresses, therefore yields only 11 assignable IPs. Overlapping CIDRs across VPCs cannot be routed together without re-addressing or a NAT layer.
Asked in: NTS, PPSC IT, Campus Interviews
Not sure why the answer is C? Ask here and get an explanation.