Hi folks,

My site has servers and workstations running Debian squeeze. I've got  
Cacti running on one server and it uses snmp to query all of the hosts  
it can access using IPv4. That works fine. But, there are workstations  
in remote locations that the Cacti server can only reach if I do lots  
of tunneling or use IPv6. The latter seems a better idea to me, so I'm  
attempting to get snmpd to respond to IPv6 requests, but am not having  
much luck.

So far I've tried configuring /etc/snmp/snmpd.conf with, for example:

    agentAddress udp:6161,tcp6:161,udp6:1616

Which gives:

    ~# netstat -lpn |grep snmp
    tcp6     0     0 :::161            :::*         LISTEN   3163/snmpd
    udp      0     0 0.0.0.0:50305     0.0.0.0:*             3163/snmpd
    udp      0     0 0.0.0.0:58502     0.0.0.0:*             3163/snmpd
    udp      0     0 0.0.0.0:6161      0.0.0.0:*             3163/snmpd
    udp6     0     0 :::1616           :::*                  3163/snmpd
    ~# _

That looks okay, and the IPv4 UDP port responds as expected:

    ~# snmpstatus -v2c -c public localhost:6161
    [UDP: [127.0.0.1]:6161->[0.0.0.0]]=>[Linux gwz-21 2.6.32-5-686 #1
    SMP Mon Jun 13 04:13:06 UTC 2011 i686] Up: 0:01:42.98
    Interfaces: 3, Recv/Trans packets: 185737/316683 | IP: 169467/305191
    1 interface is down!
    ~# _

But, the IPv6 ports do not -- all I get from them is timeouts:

    ~# snmpstatus -v2c -c public tcpipv6:[::1]:161
    Timeout: No Response from tcpipv6:[::1]:161
    ~# snmpstatus -v2c -c public udpipv6:[::1]:1616
    Timeout: No Response from udpipv6:[::1]:1616
    ~# _

I'm probably missing something. Can anyone help?

Thanks,

Jaap

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to