Hi
How can I subnet this ip address?
100.20.10.0/24
Subnet A 2 hosts
Subnet B 80 hosts
http://puu.sh/l2ata/3b2d1e6d68.jpg
I think my solution not correct!
I appricate your help

    N ID             Subnetmask          First available              Last available                 Broadcast
100.20.10.128   255.255.255.128  100.20.10.129 PC B       120.10.10.130               120.10.10.131     
100.20.10.132    255.255.255.252    100.20.10.132  PC A     100.20.10.134                  100.20.10.135
100.20.10.136

So you want to divide up 100.20.10.0/24 into two subnets, one a /30, and one a . . . well, here we have a problem. There's no convenient way to have a single subnet that has just 80 hosts. But you could have one that has 126 hosts if you used a /25.

So here's what I recommend, assuming you don't need Subnet A to be first in the IP pool:

Subnet B: 100.20.10.0/25 (mask 255.255.255.128), 100.20.10.1 – 100.20.10.126
Subnet A: 100.20.10.128/30 (mask 255.255.255.252), 100.20.10.129 – 100.20.10.130

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.