ifIndex for ipv6

Pushpa Thimmaiah <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAASqVJWsnDSmXTkD03k09EpYCV9YV2BE73vamSm8cFcL4WWtyw@mail.gmail.com>
Hi All,

My device interface (eth5) has both ipv4 and ipv6.  Does ifIndex same for
both IPv4 and IPv6 address ?

---- ipAddressIfIndex------------------------------

IP-MIB::ipAddressIfIndex.ipv4."172.168.7.200" = INTEGER: 3   <------ifIndex
of eth5 IPv4 address = 3
IP-MIB::ipAddressIfIndex.ipv4."172.168.7.255" = INTEGER: 3
IP-MIB::ipAddressIfIndex.ipv4."127.0.0.1" = INTEGER: 1
IP-MIB::ipAddressIfIndex.ipv6."00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:01"
= INTEGER: 1
IP-MIB::ipAddressIfIndex.ipv6."20:09:00:00:00:00:00:00:00:00:00:00:00:00:20:71"
= INTEGER: 3  <-- ifIndex of eth5 IPv6 Addresses = 3
IP-MIB::ipAddressIfIndex.ipv6."33:31:0d:b8:00:00:00:01:00:00:00:00:00:00:01:00"
= INTEGER: 3


--------ifIndex and ifDescr-----------------------------

IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3     <---- eth5
IF-MIB::ifIndex.11 = INTEGER: 11
IF-MIB::ifDescr.1 = STRING: lo
IF-MIB::ifDescr.2 = STRING: eth7
IF-MIB::ifDescr.3 = STRING: eth5  <---- ifIndex of eth5 = 3
IF-MIB::ifDescr.11 = STRING: eth5.2



Thank you,
Pushpa.T

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

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