Install libnet-ipaddress-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libnet-ipaddress-perl
Description:
Functions used to manipulate IP addresses, masks and FQDN's
Collection of helpful functions used to convert IP addresses to/from 32-bit integers, applying subnet masks to IP addresses, validating IP address strings, and splitting a FQDN into its host and domain parts.
Homepage: http://search.cpan.org/~sarenner/Net-IPAddress/
Version: 1.10-3
Section: universe/perl