mrtg-ipv6 (1)
Leading comments
Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07) Standard preamble: ========================================================================
NAME
mrtg-ipv6 - IPv6 support in MRTGOVERVIEW
USAGE
Enabling IPv6
IPv6 is currently disabled by default and must be explicitly enabled. InIf IPv6 is disabled,
IPv6 support requires the Socket6 and
Specifying IPv6 targets
IPv6 targets may be specified by name or IPv6 address. Numeric IPv6 addresses may be used with both cfgmaker andFor example, a target could be specified as:
public@[2001:760:4::]:161
Hostnames work as expected: first an IPv6 name lookup is tried, then an IPv4 lookup.
Targets that do not support SNMP over IPv6
Many targets (this currently includes all Cisco routers) do not yet support
To query these targets, use the IPv4Only per-target option, which tells
cfgmaker does fall back from IPv6 to IPv4. If IPv6 is enabled and cfgmaker is given a hostname that resolves to both an IPv6 and an IPv4 address, it first tries to query the target over IPv6. If it receives no answer, it tries again using IPv4. If the target answers, cfgmaker sets the IPv4Only option in the generated config file.
IPv6 LIBRARIES
Libraries required
IPv6 support requires the Socket6 andsearch.cpan.org/author/UMEMOTO/Socket6
search.cpan.org/author/MONDEJAR/INET6
If you use Debian, you will need the packages libsocket6-perl and libio-socket-inet6-perl, which are (or should soon be) in unstable.
So far, IPv6 support has been tested on Linux only, and only with Socket6 version 0.12. Also note that IPv6 won't work at all if you don't have
Installing the libraries
Building and installing Socket6 and
perl Makefile.PL make
and then:
su make install
If you have installed the libraries successfully, cfgmaker and mrtg should automatically detect them and allow IPv6 support to be enabled.