Professional Documents
Culture Documents
(VLSM)
Objectives
Define VLSM
Describe the difference between classful subnetting
Describe the advantages of VLSM
Be able to perform VLSM operations on given IP
addresses
Classful subnetting exercise
172.80.0.0 255.255.248.0
Find
The first five subnet addresses
First host, last host and broadcast of each subnet
How many subnets can be made?
How many hosts per subnet?
VLSM defined
More than one subnet mask
Using classful subnetting wastes IP addresses
Why? 172.80.40.0
172.80.40.1 – 47.254
172.80.32.0 172.80.24.0
172.80.32.1 – 39.254 172.80.24.1 – 31.254
172.80.8.0
172.80.8.1 – 15.254
172.80.16.0
172.80.16.1 – 23.254
We need
An IP address to perform VLSM on
The number of hosts involved in each part of the
network
We will...
Create a number of subnet masks that suit our needs
more efficiently than a classful subnetting scheme could
Example using a Class C network address
192.168.1.0
60 hosts
120 hosts
30 hosts
Process
1. Find the segment with the largest number of hosts
connected to it
2. Find an appropriate subnet mask for the largest
segment
3. Write down the subnet addresses to fit the subnet
mask
4. Take one of the newly created subnet addresses and
apply a new subnet mask to it that is more appropriate
5. Write down the subnet addresses to fit the new subnet
mask
6. Repeat from step 4 for smaller segments
Example continued
1. Find the segment with the largest number of hosts
connected to it
In the example the largest segment has 120 hosts
connected so we must start with this segment
To accomodate120 hosts we need to use 7 bits from
the host portion of the address (27 - 2 = 126)
120 hosts
Example continued
2. Find an appropriate subnet mask for the largest
segment
If we have borrowed 7 bits for our hosts the subnet
mask (in binary) will be
11111111.1111111.1111111.1000000
Convert to prefix length and we get /25
Convert this to decimal and we get 255.255.255.128
Example continued
3. Write down the subnet addresses to fit the subnet
mask
Now we need to find the subnet addresses that this
subnet mask will create
256 – 128 = 128
Therefore the subnets would be 192.168.1.0 and
192.168.1.128
We can now assign 192.168.1.0/25 to accommodate the
120 hosts
And 92.168.1.128 to use for the other two segments
Remote D 30 hosts
Remote F 30 hosts
Remote G 30 hosts
Exercise
192.168.3.0
30 hosts
6 hosts
Backbone
126 hosts
6 hosts 30 hosts
6 hosts
30 hosts