Re: How to register v5.4.1 agent on IPv6 addresses?

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Thu, 10 Jun 2010 17:38:25 -0400, "Ron Rader" <[email protected]> said:

RR> C:\Temp>ping6 fe80::209:edff:fe00:16c9%5

RR> Pinging fe80::209:edff:fe00:16c9
RR> from fe80::214:22ff:fe33:8177%5 with 32 bytes of data:

RR> Reply from fe80::209:edff:fe00:16c9%5: bytes=32 time=1ms
RR> Reply from fe80::209:edff:fe00:16c9%5: bytes=32 time<1ms
RR> Reply from fe80::209:edff:fe00:16c9%5: bytes=32 time<1ms
RR> Reply from fe80::209:edff:fe00:16c9%5: bytes=32 time<1ms

RR> Ping statistics for fe80::209:edff:fe00:16c9:
RR> Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
RR> Approximate round trip times in milli-seconds:
RR> Minimum = 0ms, Maximum = 1ms, Average = 0ms

RR> When I try to add "agentaddress udp6:161" to snmpd.conf I get the
RR> following errors:

RR> snmpd[26454]: getaddrinfo: udp6 Temporary failure in name resolution
RR> snmpd[26454]: Error opening specified endpoint "udp6:161"
RR> snmpd[26454]: Server Exiting with code 1

RR> How can I convince snmpd to listen to the v4 AND v6 interfaces?  I
RR> thought that "udp6:161" was appropriate considering the LISTENING
RR> ADDRESSES section of the snmpd man page.  Note that "agentaddress
RR> udp:161" works fine on the v4 interface only.

Can you try something like 'udp6:[fe80::209:edff:fe00:16c9]:161' and see
if that works?

To open both v4 and v6, you need to use two specifies on the command
line.  EG "snmpd udp4:161 udp6:161"
-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.