Install libnet-frame-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libnet-frame-perl
framework for crafting raw frames
Net::Frame is a Perl framework for crafting raw frames (Layers 2 through 7). Out of the box, it can be used to produce ARP, Ethernet, IPv4, PPP, TCP and UDP frames. It has an extensible design for new frame implementations. . This module only creates frames; Net::Write (see libnet-write-perl) can be used to write frames directly to wire.