Sub-netting: How to split a network up
We have our IP address: 192.168.0.1
We also have the Subnet Mask: 255.255.255.0
Binary Subnet Mask: 11111111.11111111.11111111.00000000
Network Bits Host Bits
To split the network we need to change the subnet mask by changing the host bits
To create 4 networks out of our existing network
To do this we need to use a binary conversion chart
128 64 32 16 8 4 2 1
256 128 64 32 16 4 2
So if we want 4 networks we need to use 2 bits
So our subnet mask would look like this: 11111111.11111111.11111111.11000000
Converted back into decimal: 255.255.255.192
By counting all the network bits in the network mask the CIDR notation would by /26
Now we need to find our increment which tells us the range of the network in this case its the last network bit which converted is 64.
The First Network
192.168.1.0 - 192.168.1.63
The Second Network
192.168.1.64 - 192.168.1.127
The Third Network
192.168.1.128 - 192.168.1.191
The Fourth Network
192.168.1.192 - 192.168.1.255
All of the networks having the subnet mask of 255.255.255.192
Comments
Post a Comment