</>
ShikshaCSLearn. Code. Grow.
🔍
☕ Support Us
ShikshaCSPractice Problems
CNMediumSubnetting

Subnet a /24 Network into 4 Subnets

📋 Problem

You have the network 192.168.1.0/24. Divide it into 4 equal subnets and list their ranges.

🧭 Approach

A /24 network has 256 addresses. To split it into 4 equal parts, borrow 2 bits from the host portion (since 2² = 4), making each subnet a /26 (256/4 = 64 addresses each). The four subnets are: 192.168.1.0/26, 192.168.1.64/26, 192.168.1.128/26, and 192.168.1.192/26.

← Back to all Problems