×

Variable Length Subnet Masks (VLSMs)

Variable Length Subnet Masks (VLSMs)

  • A VLSM is a process of allocating IP addresses to the subnets according to the user’s need.
  • VLSM is introduced to avoid the wastage of IP addresses.
  • It allows you to divide big networks into smaller, different size networks.
  • It allows an organization to use more than one subnet mask within the same network address space.

Features of VLSMs

A list of features of VLSMs include –

  • Simple network configuration.
  • Network IP addressing through empty subnet filling.
  • Greater efficiency as compare to Fixed Length Subnet Masks (FLSMs) Subnetting.
  • Reduce the size of the routing table.

There are following routing protocols and services used by the VLSMs –

  • Intermediate System to Intermediate System Protocol (IS-IS)
  • Enhanced Interior Gateway Routing Protocol (EIGRP)
  • Open Shortest Path First (OSPF)
  • Border Gateway Protocol (BGP)

Implementing VLSM Networks

Example:

 An administrator has given IP space is 192.168.1.0/24. The slash 24 represents the number of bits used for a network address. The administrator has three different departments with a different number of computers. The development department has 120 computers, Production department has 57 computers, and Accounts has 28 computers. All departments are connected to each other via WAN links.

Show how VLSM can be used in order to allocate department-wise IP addresses in the above example:

Solution:

Step 1: Select the appropriate block size of each item.

Below table shows the list of possible block sizes for the above example:

Prefix        Subnet Mask     Hosts       Block Size
/24 255.255.255.0 254 256
/25 255.255.255.128 126 128
/26 255.255.255.192 62 64
/27 255.255.255.224 30 32
/28 255.255.255.240 14 16
/29 255.255.255.248 6 8
/30 255.255.255.252 2 4

Step 2: Sort the requirement of IPs in descending order.

           Development Department = 120

            Production Department = 57

              Accounts = 28

Step 3: Allocate the highest range of IPs to the highest requirement, so assign 192.168.1.0/25 (255.255.255.128) to the Development department. This IP subnet has 126 valid host IP addresses which can be easily assigned to all the computers of the Development department.

Step 4: Allocate the next highest range of IPs to the next highest requirement, i.e., Production department, so assign 192.168.1.0/26 (255.255.255.192) to the Production department. This IP subnet has 62 valid host IP addresses which can be easily assigned to all the computers of the Production department.

Step 5: Allocate the next highest range of IPs to the next most top requirement, i.e., Accounts, so assign 192.168.1.0/27 (255.255.255.224) to the Production department. This IP subnet has 30 valid host IP addresses which can be easily assigned to all the computers of the Accounts Department.

With the help of VLSM, the administrator can subnet the IP subnet in such a way that the least number of IP addresses are wasted.

Difference between FLSM Subnetting and VLSM Subnetting

FLSM (Fixed Length Subnet Masks) Subnetting         VLSM (Variable Length Subnet Masks) Subnetting
All subnets are equal in size. Subnets are different in size.
All subnets use the same subnet masks. All subnets use different subnet masks.
All subnets have an equal number of hosts. Subnets have a different number of hosts.
It wastages a lot of IP addresses. It wastages minimum IP addresses.
It is also known as classfull Subnetting. It is also known as classless subnetting.
It supports both classfull and classless routing protocols. It only supports classless routing protocols.

Related Topics

Download and Install the Cisco Packet Tracer

Download and Install the Cisco Packet Tracer Step1: -Download Cisco Packet Tracer from the link given below: https://arief-jr.blogspot.com/2016/01/download-cisco-packet-tracer-62-for.html Here we will download Cisco packet tracer for Windows OS, so for Windows, go for...

1 minute read.

Verifying OSPF Configuration

There are several ways to verify OSPF configuration and operations, which are: show ip route commandshow ip ospf commandshow ip ospf database commandshow ip ospf interface commandshow ip protocol commandshow ip ospf neighbor commanddebugging ospf Consider the following topology –We...

2 minutes read.

Checking Network Connectivity and Troubleshooting

As a Network Engineer, you must know that how to check network connectivity and troubleshoot a network. There are following commands are used in the network to check and troubleshoot the network connectivity – 1)...

3 minutes read.

Data Encapsulation and De-Encapsulation

Data Encapsulation It is the process of adding headers and trailers to data. When a host transmits data to another device over a network, the data is encapsulated, with protocol information...

5 minutes read.

Configure DHCP

 DHCP DHCP stands for Dynamic Host Configuration Protocol.It is a client server-based architecture which involves DHCP client and DHCP server.It is a messaging system for the communication between the DHCP server and DHCP client.It...

3 minutes read.

Configuring OSPF

Consider the topology given below – The initial IP configuration table is given below: Devices Interface IP address Router1 ...

2 minutes read.

The OSI Reference Model

OSI Reference Model OSI stands for Open System Interconnection. OSI provides a framework for creating and implementing networking standards, devices, and internetworking schemes. The following devices operate at the OSI model: Network...

6 minutes read.

Configuring EIGRP

Consider the topology given below – The initial IP configuration table is given below: Devices Interface IP address Router1 ...

2 minutes read.

TCP/IP and DoD Model

Introduction to TCP/IP Model TCP/IP model was introduced in 1974. TCP/IP stands for Transmission Control Protocol/Internet Protocol. TCP/IP is an underlying communication protocol used by internet and commercial networks. The Transmission Control Protocol (TCP)...

10 minutes read.

Configure IP address to Router and PC in Packet Tracer

Configure IP address to Router and PC in Packet Tracer As a Network Engineer, it is compulsory to know how to configure an IP Address on networking devices like Router, Switch, PC, and Server.Assigning...

3 minutes read.

Configure Password

Password configuration is an in-built feature of Cisco devices.Each Cisco device uses a password to authenticate users for accessing the device and also provides security to the Cisco devices. There are five types of the...

2 minutes read.

Routing Information Protocol

Routing Information Protocol (RIP) Routing Information Protocol is a distance-vector routing protocol. It uses hop count to determine the best way for the remote network. By default, it has a maximum hop count 15. In...

5 minutes read.

Switching

A switch is a network device which is used to connect multiple devices (routers, computers) inside the LAN (Local Area Network). It operates at Data Link Layer (Layer 2) of the OSI reference...

3 minutes read.

Configure Hostname

Configure a hostname on a router A hostname is a unique name given to a device (router or switch) on a network and is used to identify one device from another on a specific...

1 minute read.

Variable Length Subnet Masks (VLSMs)

Variable Length Subnet Masks (VLSMs) A VLSM is a process of allocating IP addresses to the subnets according to the user’s need.VLSM is introduced to avoid the wastage of IP addresses.It allows you to...

3 minutes read.

Routing Basics

Routing is the process of delivering a message across one or more networks by choosing the most appropriate path.It is performed by many kinds of networks like telephone network (Circuit Switching), electronic data networks...

2 minutes read.

EIGRP Basics

EIGRP stands for Enhanced Interior Gateway Routing Protocol. It is also called as the Hybrid routing protocol. It contains the features of both distance vector and link-state routing protocols. Characteristics of EIGRP There are the...

5 minutes read.

Subnetting

Subnetting is the process of dividing a big network into many small networks. Suppose there is a company which has four departments like Development, HR, Marketing, and Testing. We don't want that all...

5 minutes read.

Banner config

Banner config The banner is a little pool which is used in Cisco systems and also in other systems like Unix, Linux and so no.It permits a text that is displayed when you log in a...

1 minute read.

Cisco IOS Overview

Cisco IOS Overview Cisco Internetwork Operating System (IOS) is a multitasking operating system which controls all functions of Cisco routers and switches. Willaim Yeager wrote the first IOS in 1986.It is used to allocate resources and manages...

2 minutes read.