How to get ipv6 address
Nguyen Quoc Dinh <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
I am quite new to network administration and snmp, hence sorry if I put
a dump question here!
I want to use netsnmp to monitor ipv6 addresses. I try from my local
host (Ubuntu 12.04):
snmpwalk -v 2c -c public localhost 1.3.6.1.2.1.55
iso.3.6.1.2.1.55.1.1.0 = INTEGER: 1
iso.3.6.1.2.1.55.1.2.0 = INTEGER: 64
iso.3.6.1.2.1.55.1.3.0 = Gauge32: 2
iso.3.6.1.2.1.55.1.5.1.2.1 = STRING: "lo"
iso.3.6.1.2.1.55.1.5.1.2.3 = STRING: "wlan0"
iso.3.6.1.2.1.55.1.5.1.3.1 = OID: ccitt.0
iso.3.6.1.2.1.55.1.5.1.3.3 = OID: ccitt.0
iso.3.6.1.2.1.55.1.5.1.4.1 = Gauge32: 16436
iso.3.6.1.2.1.55.1.5.1.4.3 = Gauge32: 1500
iso.3.6.1.2.1.55.1.5.1.8.1 = ""
iso.3.6.1.2.1.55.1.5.1.8.3 = Hex-STRING: EC 55 F9 A9 3B 7D
iso.3.6.1.2.1.55.1.5.1.9.1 = INTEGER: 1
iso.3.6.1.2.1.55.1.5.1.9.3 = INTEGER: 1
iso.3.6.1.2.1.55.1.5.1.10.1 = INTEGER: 1
iso.3.6.1.2.1.55.1.5.1.10.3 = INTEGER: 1
There is no IPv6 address display, although I added manually an v6
address to wlan0:
eth0 Link encap:Ethernet HWaddr 20:6a:8a:3d:6f:1a
UP BROADCAST MULTICAST MTU:1500 Metric:1
...
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
...
wlan0 Link encap:Ethernet HWaddr ec:55:f9:a9:3b:7d
inet addr:192.168.1.199 Bcast:192.168.1.255 Mask:255.255.255.0
*inet6 addr: fe80::ee55:f9ff:fea9:3b7d/64 Scope:Link
inet6 addr: 2001:470:a:d29f::2/64 Scope:Global*
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
...
Any shotting to help me explain why snmp just walk to
iso.3.6.1.2.1.55.1.5.1.10 (i.e. without information of ipv6 address)
would be very appreciated.
Many thanks,
Nguyen Quoc Dinh
PS: I started with 1.3.6.1.2.1.55 when looking at IPV6-MIB (i add
IPV6-MIB, IPV6-ICMP-MIB, IPV6-UDP-MIB, IPV6-TCP-MIB to
/usr/share/mibs/netsnmp folder).
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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