- 论坛徽章:
- 0
|
net-snmp 5.4.2.1
ipv4访问正常,ipv6能接收到,但是不能返回
客户端:
# snmpget -v1 -c public udp6:[::1]:162 sysObjectID.0
Timeout: No Response from udp6:[::1]:162.
# snmpget -v1 -c public localhost:162 sysObjectID.0
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
服务器:
# /usr/local/sbin/snmpd -f -V -Lo udp:162,udp6:162
NET-SNMP version 5.4.2.1
Received SNMP packet(s) from UDP/IPv6: [::1]:4250
GET message
-- SNMPv2-MIB::sysObjectID.0
Received SNMP packet(s) from UDP: [127.0.0.1]->[127.0.0.1]:4250
GET message
-- SNMPv2-MIB::sysObjectID.0
模块:
# net-snmp-config --snmpd-module-list | tr " " "\n"|grep 6
ip-mib/ipv6InterfaceTable/ipv6InterfaceTable
ip-mib/ipv6InterfaceTable/ipv6InterfaceTable_interface
ip-mib/ipv6InterfaceTable/ipv6InterfaceTable_data_access
mibII/ipv6
端口:
# netstat -anp|grep snmp
udp 0 0 0.0.0.0:162 0.0.0.0:* 27171/snmpd
udp 0 0 :::162 :::* 27171/snmpd
地址:
# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
[ 本帖最后由 FunFreeBSD 于 2009-9-20 12:00 编辑 ] |
|