ipv4calc
Perl extension for manipulating IPv4 addresses
Install
- All systems
-
curl cmd.cat/ipv4calc.sh
- Debian
-
apt-get install libnetwork-ipv4addr-perl
- Ubuntu
-
apt-get install libnetwork-ipv4addr-perl
- Arch Linux
-
pacman -S perl-Net-IPv4Addr
- 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
- Dockerfile
- dockerfile.run/ipv4calc
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.