Variable Length Subnet Mask (VLSM)

Rene,

A good way to explain this subject that is a little confuse.
About challenge, I tried to solve it…

A network 10.0.0.0

One subnet for 600 hosts -> It’s need a block 1024
One subnet for 250 hosts. -> It’s need a block 256
One subnet for 120 hosts. -> It’s need a block 128
One subnet for 30 hosts. -> It’s need a block 32
One subnet for 2 hosts. -> It’s need a block 4

A block of 1024 is like 4x256, which is need 10 hosts bits.

So…

Subnet 1: (size 1024)

network address: 10.0.0.0/22
netmask: 255.255.252.0
first host: 10.0.0.1
last host: 10.0.3.254
broadcast address: 10.0.3.255

Subnet 2: (size 250)

network address: 10.0.4.0/24
netmask: 255.255.255.0
first host: 10.0.4.1
last host: 10.0.4.254
broadcast address: 10.0.4.255

Subnet 3: (size 120)

network address: 10.0.5.0/25
netmask: 255.255.255.128
first host: 10.0.5.1
last host: 10.0.5.126
broadcast address: 10.0.5.127

Subnet 4: (size 30)

network address: 10.0.5.128/27
netmask: 255.255.255.224
first host: 10.0.5.129
last host: 10.0.5.158
broadcast address: 10.0.5.159

Subnet 5: (size 2)

network address: 10.0.5.160/30
netmask: 255.255.255.252
first host: 10.0.5.161
last host: 10.0.5.162
broadcast address: 10.0.5.163

I hope I’m right…

When you have a free time, please, fix the details below.
“Subnet 2: 256 – 32 = <>” so the subnet mask is 255.255.255.224"
and
on subnet2 the last host IP should be 172.16.2.254

Hug and more a time, thanks for excellent work!!!

1 Like