The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

LinkLocal::IPv4::Interface - Moose-based network interface object wrapper

SYNOPSIS

  use LinkLocal::IPv4::Interface;
  
  my $if = LinkLocal::IPv4::Interface->new('eth0');
  $if->get_next_address(); 

DESCRIPTION

Link-Local addresses provide a means for network attached devices to participate in unmanaged IP networks. Based upon IETF standard RFC 3927, LinkLocal::IPv4::Interface provides a simple and lightweight framework for dynamic configuration of network interfaces with IPv4 Link-Local addresses.

# TODO Add additional/proper POD

ATTRIBUTES

EXPORT

        PROBE_WAIT          =>  1 second
        PROBE_NUM           =>  3
        PROBE_MIN           =>  1 second
        PROBE_MAX           =>  2 seconds
        ANNOUNCE_WAIT       =>  2 seconds
        ANNOUNCE_NUM        =>  2
        ANNOUNCE_INTERVAL   =>  2 seconds
        MAX_CONFLICTS       => 10
        RATE_LIMIT_INTERVAL => 60 seconds
        DEFEND_INTERVAL     => 10 seconds

SEE ALSO

Refer to RFC-3927, "Dynamic Configuration of IPv4 Link-Local Adresses", the complete text of which can be found in the top level of the package archive.

perl, IO::Interface::Simple, Moose

This project is also hosted on github at: git@github.com:raymroz/LinkLocal--IPv4.git

AUTHOR

Ray Mroz, <mroz@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2010 Ray Mroz

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.