The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

store_arp( \%host, $now? )

Stores a new entry to the node_ip table with the given MAC, IP (v4 or v6) and DNS host name. Host details are provided in a Hash ref:

 {
    ip   => '192.0.2.1',
    node => '00:11:22:33:44:55',
    dns  => 'myhost.example.com',
 }

The dns entry is optional. The update will mark old entries for this IP as no longer active.

Optionally a literal string can be passed in the second argument for the time_last timestamp, otherwise the current timestamp (now()) is used.