Simple module which is basically a struct.
Stores eth number, ip address (optional) and mac address (optional).
Creates a new Attachment.
Usage:
my $interface = Interface->new ( eth => 0, ip => '10.0.0.2' );
Prints the Interface to selected file.
To install Netkit, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Netkit
CPAN shell
perl -MCPAN -e shell install Netkit
For more information on module installation, please visit the detailed CPAN module installation guide.