Install libnet-subnets-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libnet-subnets-perl
Description:
module for IPv4 subnet calculations
Net::Subnets is a Perl module that provides a quick and simple method to perform miscellaneous operations with IP version 4 (IPv4) addresses. It can match a list of IP addresses against one or more CIDR (Classless Inter-Domain Routing) subnets. It also calculates ranges of IP addresses based on a subnet size, specified as a CIDR.
Homepage: http://backpan.perl.org/authors/id/K/KR/KRAIH/
Version: 1.02-1
Section: universe/perl