main 168.24.0.0/16
Hosts / ip Address / Subnet mask
500
100
50
20
5
2
2
2
please help me understand how
main 168.24.0.0/16
Hosts / ip Address / Subnet mask
500
100
50
20
5
2
2
2
please help me understand how
Compact VLSM plan for 's 168.24.0.0/16 and the host groups (500, 100, 50, 20, 5, 2, 2, 2). Start with the largest requirement and give each group the smallest power-of-two block that contains its hosts (this follows and extends 's suggestion to begin with the biggest block).
Method: for each host count H, use H + 2 (network + broadcast), then pick the smallest power-of-two >= that value. Block size 512 → /23, 128 → /25, 64 → /26, 32 → /27, 8 → /29, 4 → /30. Assign subnets sequentially from 168.24.0.0 and always align on the prefix boundary so there are no overlaps.
168.24.0.0/23 mask 255.255.254.0 usable 168.24.0.1 - 168.24.1.254 broadcast 168.24.1.255 hosts 510
168.24.2.0/25 mask 255.255.255.128 usable 168.24.2.1 - 168.24.2.126 broadcast 168.24.2.127 hosts 126
168.24.2.128/26 mask 255.255.255.192 usable 168.24.2.129 - 168.24.2.190 broadcast 168.24.2.191 hosts 62
168.24.2.192/27 mask 255.255.255.224 usable 168.24.2.193 - 168.24.2.222 broadcast 168.24.2.223 hosts 30
168.24.2.224/29 mask 255.255.255.248 usable 168.24.2.225 - 168.24.2.230 broadcast 168.24.2.231 hosts 6
168.24.2.232/30 mask 255.255.255.252 usable 168.24.2.233 - 168.24.2.234 broadcast 168.24.2.235 hosts 2
168.24.2.236/30 mask 255.255.255.252 usable 168.24.2.237 - 168.24.2.238 broadcast 168.24.2.239 hosts 2
168.24.2.240/30 mask 255.255.255.252 usable 168.24.2.241 - 168.24.2.242 broadcast 168.24.2.243 hosts 2 Notes: pick a consistent gateway address (first or last usable), document VLAN/subnet tags and routing statements, and leave spare space if any site may grow (if growth is likely, choose the next-larger prefix). For point-to-point links, consider /31 (RFC 3021) where supported to save addresses. After these allocations the next free address is 168.24.2.244.
Explaining how the IP addresssing scheme and routing works in a single thread is really challenging.
In any event, what you are asking doesnt make much sense with regard to what you posted.
For example, you list 500 hosts. What do you want to know about this? I assume that you want to know how to divide 168.24.0.0/16 to accomodate 500 hosts per subnet?
If so, the network address and mask would be: 168.24.0.0/23. This gives you 510 hosts per subnet.
I think you need to do some reading and further research. Learning how to subnet takes time. I have a quick overview that you can refer to: CIDR and Subnetting
I also developed a simple online IP subnet calculator that you can reference. However, its not going to teach you how to do the process: IP Subnet Calculator. The calculator is not meant as tool for doing your homework.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.