Subnetting leading to VLSM Ed Deacon
Splitting up a network you own If you have been given a network address eg /24 You require addresses for 4 classrooms. There are 2 ways to approach this. – The number of subnetworks required? – The number of hosts required in each subnetwork?
Number of Subnetworks Workout the number of bits required to make the number of subnets In this case – bits will make the number 4 but in this case we can’t use the last subnet which has it’s broadcast address which is 255 so we must use 3 bits Look where the last one indicates this case 32 which will give 32 hosts (30 useable the first network id and last broadcast addresses are not useable host addresses)
Number of hosts Each classroom has 25 PC in them See where the number of host fits with binary bits again. In this case I require 5 bits to make the number 25 eg = 5 bits Host bits are ‘0’s so fill in the ‘0’ and what is left fill with ‘1’s the column with the furthest to the right ‘1’ the number above will indicate the total number of hosts ( in this case 32 but remember 30 useable the first network id and last broadcast addresses are not useable host addresses) 25
or /27 This is known as a /27 network because 255 = and 224 = so =27 So if we look at the possible network ID’s = = = = = = = = 224 (because it has 255 as its broadcast address)
Design the networks Sub networkNetwork IDFirst UseableLast useableBroadcast Address *** 255 So the first sub network will have an ID of the second sub network ID and so on. So the first sub network will have the host addresses of up to 30 the second sub network the host addresses of up to 62 and so on. So the first sub network will have a broadcast address of the second sub network broadcast address of and so on.
Then add labels to your design
In this example we had spare sub networks that we could use in the future But if we looked at this again we could this differently if the number of host require was different classroom A, B, C has 50 hosts each, classroom D has 10. We need 4 sub networks = 2 bits = 64 host 3 sub networks require / This give me 64 total hosts Get a blank sheet of A4 to do this exercise.
0 In the top left corner put ‘0’ this is the network ID for this /24 so you need to put ‘255’ in the bottom right this is the broadcast address of this C class network Now fold the paper in half this is to represent subnetting the network to a /25 network now do the same put the sub netowk ID and Broadcast. You will see the 256 addresses have been split into 2 networks with 128 addresses 126 of which can be assigned. We need 50 hosts so fold the paper in half again to represent a /27 network 255
We can’t use this sub network as it has the Broadcast address for the whole C class network. But we could subnet it again to create a smaller network that doesn’t contain ’255’ (subnet a subnet)
Subnetting is not hard It is logical! If you convert the address into binary and do a logical AND with the subnet mask, this will give you the Network ID. In Networking the network ID and subnet mask is the most important information and from that we can work out all other information (that is why it is called Networking not Hosting) like Routers you are only interested in the network information there could be millions of hosts but they belong to “a network”