[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-users
Subject:    ifIndex for ipv6
From:       Pushpa Thimmaiah <pushpa.thimmaiah () gmail ! com>
Date:       2018-03-29 7:13:46
Message-ID: CAASqVJWsnDSmXTkD03k09EpYCV9YV2BE73vamSm8cFcL4WWtyw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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

[Attachment #5 (text/html)]

<div dir="ltr"><div><div><div><div>Hi All,<br><br></div>My device interface (eth5) \
has both ipv4 and ipv6.   Does ifIndex same for both IPv4 and IPv6 address \
?<br><br></div><div>---- \
ipAddressIfIndex------------------------------<br><br></div><div>IP-MIB::ipAddressIfIndex.ipv4.&quot;172.168.7.200&quot; \
= INTEGER: 3     &lt;------ifIndex of eth5 IPv4 address = \
3<br>IP-MIB::ipAddressIfIndex.ipv4.&quot;172.168.7.255&quot; = INTEGER: \
3<br>IP-MIB::ipAddressIfIndex.ipv4.&quot;127.0.0.1&quot; = INTEGER: \
1<br>IP-MIB::ipAddressIfIndex.ipv6.&quot;00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:01&quot; \
= INTEGER: 1<br>IP-MIB::ipAddressIfIndex.ipv6.&quot;20:09:00:00:00:00:00:00:00:00:00:00:00:00:20:71&quot; \
= INTEGER: 3   &lt;-- ifIndex of eth5 IPv6 Addresses = \
3<br>IP-MIB::ipAddressIfIndex.ipv6.&quot;33:31:0d:b8:00:00:00:01:00:00:00:00:00:00:01:00&quot; \
= INTEGER: 3<br><br><br></div>--------ifIndex and \
ifDescr-----------------------------<br><br>IF-MIB::ifIndex.1 = INTEGER: \
1<br>IF-MIB::ifIndex.2 = INTEGER: 2<br>IF-MIB::ifIndex.3 = INTEGER: 3         \
&lt;---- eth5<br>IF-MIB::ifIndex.11 = INTEGER: 11<br>IF-MIB::ifDescr.1 = STRING: \
lo<br>IF-MIB::ifDescr.2 = STRING: eth7<br>IF-MIB::ifDescr.3 = STRING: eth5   &lt;---- \
ifIndex of eth5 = 3<br>IF-MIB::ifDescr.11 = STRING: eth5.2<br><br><br><br></div>Thank \
you,<br></div>Pushpa.T <br></div>



------------------------------------------------------------------------------
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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic