Re: NET-SNMP version: 5.7.3 and IPv6

Bill Fenner <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <CAF4SogbyTishGyJO7_1a6O7wiEJ8VrnMJ+f_orpgY49CVaYGOQ@mail.gmail.com>
Simon,

Can you try with global addresses? I wouldn't be horribly surprised if
scope zones were not supported properly.  (Global v6 addresses have worked
for me in net-snmp for years.)

  Bill


On Mon, Jan 15, 2018 at 2:37 PM, Simon Chamlian <[email protected]>
wrote:

> Hi,
>
> Just recompiled the agent by enabling IPv6 (  --enable-ipv6).
>
> The agent is working fine but don't seem to be able to use IPv6.
>
> Example:
>
> # snmpget -v 3 -u Admin -a MD5 -A Admin-00 -l authNoPriv 172.27.42.199
> MPBC-1RU-MIB::mpbc1RUNEID.0 -Oqv
> "TestNew"
>
> works fine.
>
>
> In Ipv6:
>
> # snmpget -v 3 -u Admin -a MD5 -A Admin-00 -l authNoPriv
> udp6:'[fe80::6eff:beff:fe02:d0%eth0]':161 MPBC-1RU-MIB::mpbc1RUNEID.0 -Oqv
> snmpget: Timeout
>
> I also tried without the port
> # snmpget -v 3 -u Admin -a MD5 -A Admin-00 -l authNoPriv
> udp6:'[fe80::6eff:beff:fe02:d0%eth0]' MPBC-1RU-MIB::mpbc1RUNEID.0 -Oqv
> snmpget: Timeout
>
>
> Gives me timeout. What am I doing wrong? Do I need any special
> instructions in snmpd.conf file?
>
> Note that when I launch the agent, I get the following error message in
> the log:
> Error opening specified endpoint ""
> Server Exiting with code 1
>
> But the agent works fine with IPv4.
>
> Thanks,
> S
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Net-snmp-coders mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
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.