Discussion Locked

Subnetting Class C using /25 HELP!

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Anyone who knows how I can split up a Class C address using a /25 mask, I would appreciate some technical knowledge. In my book the subnet id's from this would result in the zero and broadcast ID's meaning you could not really use them. I am told that there are situations that you can. This is the only solution to my trouble, and I would like to find more information on how to do it, and specifically how to setup my Windows NT 4.0 DHCP server to hand the correct Addresses to each subnet.

Any help would be appreciated.

7 replies

by ckilday

Subnetting with a 25 bit mask will give you two subnets in your class C address space. The first subnet will have an address range of 0-127, with 0 being the network address and 127 being the broadcast address. That leaves you with addresses 1-126for your clients. The next subnet will have a network address of 128 and a broadcast address of 255. That leaves 129-254 available for use. For example, your two networks will be 172.16.8.0 255.255.255.128and 172.16.8.128 255.255.255.128

I don't know your network setup, but these networks will need to be identified to your router. Typically you would connect one subnet to an ethernet port and assign the port an address in the subnet with the right mask. The router then understands which group of addresses it is listening for. As an example, one ethernet interface would be assigned 172.16.8.1 255.255.255.128 and another interface would have an address of 172.16.8.129 255.255.255.128. If you have a switch with an internal routing module like a cisco 5000 series, you would apply these addresses to the VLANS you have configured.

For more information on this topic, go to www.cisco.com and do a search on IP subnetting, or VLSM (variable length subnet masking). You'll find a lot of information there.

Be sure to leave yourself some room for "fixed" or static ip addressing. You'll need some for the routers, switches and printers on your network. I'd like to be able to help you with your NT config, but I'm more of a router monkey. We use MetaIP here for our DHCP, and from what I understand, the administrator sets up the subnet and mask and identifies the range of addresses to be used for DHCP assignment. I hope this helps.

by 1networker

cdeclercq

Sorry, but I don't think that it is possible to do what you propose. The reason that I say this is when you subnet a network, you are unable to assign any hosts to the first or last subnet. I'm not totally sure why, but I've never seen it done. This affects you because you only have two subnets and therefore are unable to use either one of them. The way you can calculate the number of subnets you have available to you is this: "y = 2^x - 2". Y is the number of subnets available and X is the number bits of YOU borrowed (not in the original default mask). So for example, you only borrowed 1 more than the default, "2^X" is "2^1" which is 2, minus two (you can't use the first and last subnets) leaving you with 0 subnets.
The mask you propose is this:
255.255.255.128 - leaving no subnets available

If you borrowed one extra bit, you could make 2 subnets, the formula being "2^2 - 2" which is 2 avaiable.
The smallest possible mask is this: 255.255.255.192 - leaves you with 2 available

Sorry to disappoint you, but I've never seen it done before.

Hope this helps,

Jeff

by cdeclercq

Sorry missed the point. I know everything you said, and you are correct, however, you can use the two subnets, just not really conventional.

Thanks for the help.

by mel "blazing_saddles" dundee

If you are using a Cisco
Use IP sub-net zero
Not sure of syntax as I am not near a router at the moment.

This allows you to use the 1-126 subnet
I think vlsm now allows you to use all subnets unless you are running a classful routing protocol ie rip, igrp

This discussion is closed to new replies.