Title: ifIndex values

Hi,

        How ifIndex value of ifTable in net-snmp-5.2.1 (on Linux ) is populated?. Form the mibII group implementation, SNMP agent initializes ifTable columns by reading /proc/net/dev file.  But how the ifIndex value is initialized? Is it in the same order of data present in /proc/net/dev?

       

        Is there a way to fix an ifIndex for particular index (i.e ifIndex.2 should always refer wireless instead of eth0 ) ?

Thanks and Regards,

Santhosh

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to