How to register v5.4.1 agent on IPv6 addresses?
"Ron Rader" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <6BA04340F278EB47AB42AAF2EED9CBBA03BC1AA0@dellserver.cipheroptics.local> |
I set up a v6 address on my device and can ping the link local address
from another host on the same link:
[on device running net-snmp v5.4.1 snmpd]
root# ip -6 addr show dev eth2
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1400 qlen 10000
inet6 2001::44/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::209:edff:fe00:16c9/64 scope link
valid_lft forever preferred_lft forever
[on my Windows workstation; has multiple interfaces so I specify the
correct source using "%5"]
C:\Temp>ping6 fe80::209:edff:fe00:16c9%5
Pinging fe80::209:edff:fe00:16c9
from fe80::214:22ff:fe33:8177%5 with 32 bytes of data:
Reply from fe80::209:edff:fe00:16c9%5: bytes=32 time=1ms
Reply from fe80::209:edff:fe00:16c9%5: bytes=32 time<1ms
Reply from fe80::209:edff:fe00:16c9%5: bytes=32 time<1ms
Reply from fe80::209:edff:fe00:16c9%5: bytes=32 time<1ms
Ping statistics for fe80::209:edff:fe00:16c9:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
When I try to add "agentaddress udp6:161" to snmpd.conf I get the
following errors:
snmpd[26454]: getaddrinfo: udp6 Temporary failure in name resolution
snmpd[26454]: Error opening specified endpoint "udp6:161"
snmpd[26454]: Server Exiting with code 1
How can I convince snmpd to listen to the v4 AND v6 interfaces? I
thought that "udp6:161" was appropriate considering the LISTENING
ADDRESSES section of the snmpd man page. Note that "agentaddress
udp:161" works fine on the v4 interface only.
Thanks,
Ron
The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting all copies. Thank you.
------------------------------------------------------------------------------
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