You are picking a private range for a new company network. Which RFC 1918 range do you choose and why?
BeginnerScenarioAddressing, CIDR & Routing
Answer
Situation read → Three ranges exist: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16. The wrong choice causes future conflicts.
What I'd do →
- Choose from 10.0.0.0/8 because it gives the most room to subdivide by region and environment
- Avoid 192.168.0.0/16 and 172.17.0.0/16 because home routers and Docker use them
- Pick a non-obvious slice such as
10.84.0.0/14rather than starting at 10.0.0.0 - Register it in an IPAM tool so nobody else reuses it
Why → Remote engineers on home networks and Docker bridges commonly collide with 192.168.x.x and 172.17.x.x, breaking VPN access.
Interview tip → Say you plan addressing for merges and multi-cloud before the first VPC is created.
More on Addressing, CIDR & Routing
You own 10.0.0.0/16 for a new VPC and need separate /24 subnets for dev, QA and prod across two AZs. How do you carve it up?BeginnerA host is configured as 192.168.1.130/25. What network does it belong to and what is the broadcast address?BeginnerHow many usable IPs does an AWS subnet of /28 have?BeginnerA route table has 10.0.0.0/16 -> local and 10.0.1.0/24 -> vpn-gw. Where does a packet to 10.0.1.5 go?BeginnerA newly built server can ping everything in its subnet but nothing outside. What is the first thing you check?BeginnerA server has two NICs and traffic to 10.20.0.0/16 is leaving through the wrong one. How do you see and fix the route?Beginner