Install libnet-iptrie-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libnet-iptrie-perl
Perl module for building IPv4 and IPv6 address space hierarchies
Net::IPTrie uses a radix tree (or trie) to quickly build the hierarchy of a given address space (both IPv4 and IPv6). This allows the user to perform fast subnet or routing lookups. It is implemented exclusively in Perl.