snmpd with IPv6

Michael Rapoport <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello.

We are using snmpd for the IPv4 and now we add the IPv6 support.
I've configured and compiled the release net-snmp-5.7.1 with the following flags:

./configure --with-default-snmp-version=2 --with-logfile=$HOME/temp/snmp/snmpd.log --with-sys-location= --with-sys-contact= --with-persistent-directory=$HOME/snmp --with-mibs=RFC1213-MIB --with-mibdirs= --disable-scripts --with-out-mib-modules=examples/ucdDemoPublic,mibII/system_mib --without-kmem-usage --disable-mibs --disable-mib-loading --disable-manuals --without-perl-modules --enable-shared --host=mips64-angstrom-linux --with-cc=mips64-angstrom-linux-gcc --target=mips64-angstrom-linux --disable-embedded-perl --with-ar=mips64-angstrom-linux-ar --with-mib-modules="ucd-snmp/dlmod" --enable-ipv6 --with-transports="UDP UDPIPv6"

But when I try to run the snmd in the simplest way:

snmpd -V -Lo udp6:[2003::100:18]:161

the address is available:

asil8xx:/usr/bin # ifconfig
eth3      Link encap:Ethernet  HWaddr 00:A0:0A:17:3B:C4
          inet addr:192.168.14.30  Bcast:192.168.15.255  Mask:255.255.248.0
          inet6 addr: fe80::2a0:aff:fe17:3bc4/64 Scope:Link
          inet6 addr: 2003::100:18/64 Scope:Global



I receive:

Error opening specified endpoint "udp6:[2003::100:18]:161"
Server Exiting with code 1

If I try to run snmpd w/o address:

asil8xx:/usr/bin # snmpd -V -q -Lo udp6:161

Warning: no access control information configured.
  (Config search path: /usr/local/etc/snmp:/usr/local/share/snmp:/usr/local/lib/snmp:/root/.snmp)
  It's unlikely this agent can serve any useful purpose in this state.
  Run "snmpconf -g basic_setup" to help you configure the snmpd.conf file for this agent.

getaddrinfo: udp6 Temporary failure in name resolution
Error opening specified endpoint "udp6:161"
Server Exiting with code 1
asil8xx:/usr/bin #

My concern and my question is - what may be the problem with the IPv6 "specified endpoint" ?

When I provide the IPv4 address to the same strings - it runs.

Thank you,
Sincerely,
Michael.

------------------------------------------------------------------------------

_______________________________________________
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.