ipv4calc

Perl extension for manipulating IPv4 addresses

Install

All systems
curl cmd.cat/ipv4calc.sh
Debian Debian
apt-get install libnetwork-ipv4addr-perl
Ubuntu
apt-get install libnetwork-ipv4addr-perl
Arch Arch Linux
pacman -S perl-Net-IPv4Addr
image/svg+xml Kali Linux
apt-get install libnetwork-ipv4addr-perl
Windows (WSL2)
sudo apt-get update sudo apt-get install libnetwork-ipv4addr-perl
Raspbian
apt-get install libnetwork-ipv4addr-perl

libnetwork-ipv4addr-perl

Perl extension for manipulating IPv4 addresses

Net::IPv4Addr provides functions for parsing IPv4 addresses both in traditional address/netmask format and in the new CIDR format. There are also methods for calculating the network and broadcast address and also to see check if a given address is in a specific network.

perl-Net-IPv4Addr

addresses