Skip to content
Related Articles

Related Articles

Implementation of FLSM in Cisco

View Discussion
Improve Article
Save Article
  • Last Updated : 22 Jun, 2022
View Discussion
Improve Article
Save Article

Pre-Requisite: Fixed Length and Variable Length Subnet Mask Numericals

When a block of addresses is separated into subnets all having an equal number of addresses, this type of subnetting is called Fixed Length Subnetting. The subnet masks used here will be the same for all the subnets as the number of addresses is equal for each subnet.

In this article, we will see the Implementation of FLSM in Cisco.

Steps to Configure and Verify FLSM in Cisco Packet Tracer:

Step 1: First, open the cisco packet tracer desktop and select the devices given below:

S.NODeviceModel NameUnit
1.pcpc3
2.switchPT-Switch3
3.routerPT-Router3

IP Addressing Table for PCs:

S.NODeviceIPv4 Address Subnet Mask(Fixed-Length)Default Gateway
1.PC0192.168.10.2255.255.255.242192.168.10.1
2.PC1192.168.10.34255.255.255.242192.168.10.33
3.PC2192.168.10.66255.255.255.242192.168.10.65
  • Then, create a network topology as shown below the image.
  • Use an Automatic connecting cable to connect the devices with others.

 

Step 2: Configure the PCs (hosts) with IPv4 address and Subnet Mask according to the IP addressing table given above.

  • To assign an IP address in PC0, click on PC0.
  • Then, go to desktop and then IP configuration and there you will IPv4 configuration.
  • Add IPv4 address and subnet mask.

 

Assigning IP address using the ipconfig command.

  • We can also assign an IP address with the help of a command.
  • Go to the command terminal of the PC.
  • Then, type ipconfig <IPv4 address><subnet mask><default gateway>(if needed)
Example: ipconfig 192.168.10.2  255.255.255.224 192.168.10.1

 

  • Repeat the same procedure with other PCs to configure them thoroughly.

Step 3: Configure router with IP address and subnet mask.

IP Addressing Table for Routers:

S.NODeviceInterfaceIPv4 AddressSubnet Mask
1.router0FastEthernet0/0192.168.10.1255.255.255.224
Serial 2/0192.168.10.97255.255.255.224
2.router1FastEthernet0/0192.168.10.33255.255.255.224
Serial 2/0192.168.10.98255.255.255.224
Serial 3/0192.168.10.129255.255.255.224
3.router2FastEthernet0/0192.168.10.65255.255.255.224
Serial 2/0192.168.10.130255.255.255.224
  • To assign an IP address in router0, click on router0.
  • Then, go to config and then Interfaces.
  • Then, configure the IP address in FastEthernet and serial ports according to IP addressing Table.
  • Add IPv4 address and subnet mask.

 

  • Repeat the same procedure with other routers to configure them thoroughly.

Step 4: After configuring all of the devices we need to assign the routes to the routers.

To assign static routes to the particular router:

  • First, click on router0 then Go to CLI.
  • Then type the commands and IP information given below.
CLI command : ip route <network id> <subnet mask><next hop>

Static Routes for Router0 are given below:

Router(config)#ip route 192.168.10.32 255.255.255.224 192.168.10.98
Router(config)#ip route 192.168.10.128 255.255.255.224 192.168.10.98
Router(config)#ip route 192.168.10.64 255.255.255.224 192.168.10.98

Static Routes for Router1 are given below:

Router(config)#ip route 192.168.10.0 255.255.255.224 192.168.10.97
Router(config)#ip route 192.168.10.64 255.255.255.224 192.168.10.130

Static Routes for Router2 are given below:

Router(config)#ip route 192.168.10.32 255.255.255.224 192.168.10.129
Router(config)#ip route 192.168.10.96 255.255.255.224 192.168.10.129
Router(config)#ip route 192.168.10.0 255.255.255.224 192.168.10.129

Step 5: Verifying the network by pinging the IP address of any PC.

we’ll use the ping command to do so.

  • First, click on PC0 then Go to the command prompt
  • then type ping <IP address of targeted node>
  • as we can see in the below image we are getting replies which means the connection is working very fine
Example : ping 192.168.10.34

 

  • A simulation of the experiment is given below we are sending PDU from  PC0 to PC1 and PC1 to PC2:

 

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!