Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Net-snmp supports ipv6

Shulou Source: shulou.com Published: 2022-06-01 03:44:28 10月06日 Update

Net-snmp supports ipv6

When net-snmp supports ipv6, add a line to / usr/local/share/snmp/snmpd.conf

Agentaddress udp6:161

But at startup, there is an error log.

[root@localhost sbin] # / snmpd-f-Le-C-c / usr/local/share/snmp/snmpd.conf2018-08-20 16:05:44 Error opening specified endpoint "udp6:161" 2018-08-20 16:05:44 Server Exiting with code 1

After looking at the configure file, it is found that net-snmp has an option to enable ipv6.

-- enable-ipv6 Generate IPv6 ready version.

So in the net-snmp configure process, you can specify this parameter.

. / configure-- enable-ipv6 gets the following result-Net-SNMP configuration summary:-- -SNMP Versions Supported: 1 2c 3 Building for: linux Net-SNMP Version: 5.7.3 Network transport support: Callback Unix Alias TCP UDP TCPIPv6 UDPIPv6 IPv4Base SocketBase TCPBase UDPIPv4Base UDPBase IPv6Base SNMPv3 Security Modules: usm Agent MIB code: default_modules = > snmpv3mibs mibII ucd_snmp notification notification-log-mib target agent_mibs agentx disman/event disman/schedule utilities host MYSQL Trap Logging: unavailable Embedded Perl support: enabled SNMP Perl modules: building-- embeddable SNMP Python modules: disabled Crypto support from: crypto Authentication support: MD5 SHA1 Encryption support: DES AES Local DNSSEC validation: disabled---makemake install

So net-snmp supports ipv6.

Tags: Support one line parameters files logs times results procedures errors Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology MySQL Microsoft macOS MariaDB