Skip to main content

Subnets

More
20 years 7 months ago #79 by GM
Subnets was created by GM
Hi, I need to resolve below.

Need to write Net ID & Host Names for 192.168.5.0 with 14 subnets & 5 host basis.
Can any body help? Tx
More
20 years 7 months ago #80 by Chris
Replied by Chris on topic Subnets
GM,

If I have understood your question correctly,
you would like to subnet a Class C network of 192.168.5.0 to 14 subnets, which will contain a max of 5 hosts per subnet;

The way to do this would be as follows:

We need to first calculate the amount of subnet bits we require to get 14 subnets...

2^3=8, no good.
2^4=16 ! This is what we want as its the closest to 14.

So we need 4 subnet bits reserved.

Analysis of last two octects of network/subnetmask in binary:

192.168.00000101.00000000
255.255.11111111.11110000

As you can see, the last octect contains 4 subnet bits (1111).

Here are the first few networks and ranges:

Network 1: 192.168.5.0
Range: 192.168.5.1 - 192.168.5.14
Broadcast: 192.168.5.15

Network 2: 192.168.5.16
Range: 192.168.5.17 - 192.168.5.30
Broadcast: 192.168.5.31

Network 3: 192.168.5.32
Range: 192.168.5.33 - 192.168.5.46
Broadcast: 192.168.5.47

Network 4: 192.168.5.48
Range: 192.168.5.49 - 192.168.5.62
Broadcast: 192.168.5.63


That should give you an idea on how its done!

Let us know if it worked out for you or if you have any problems.

Cheers,

Chris Partsenidis.
Founder & Editor-in-Chief
www.Firewall.cx
Time to create page: 0.138 seconds