2010/2/9 Mike Ayers <mike_ay...@tvworks.com>:
Each time a tun falls and rises again, a new entry appears in the
if-MIB, and it even has the same description!
      
       OK, that sounds *good* to me...
    

  
       Not sure what the problem is.  PLease clarify.
    

What this sounds like to me, is a situation where the index
of the interface keeps changing, whenever the interface is
taken down and brought back up again.

Something like as follows:

   $ snmpwalk   ifName
   ifName.27 = "if0"
   # ifconfig if0 down
   # ifconfig if1 up
   $ snmpwalk  ifName
   ifName.39 = "if0"
  
This is exactly my problem, and my case is same with interfaces "tun"
There is no workaround for this?


look that:

snmpwalk
IF-MIB::ifDescr.1 = STRING: lo
IF-MIB::ifDescr.2 = STRING: eth0
IF-MIB::ifDescr.3 = STRING: sit0
IF-MIB::ifDescr.13499 = STRING: tun1
IF-MIB::ifDescr.13502 = STRING: tun0
IF-MIB::ifDescr.13503 = STRING: tun0
IF-MIB::ifDescr.13504 = STRING: tun0
IF-MIB::ifDescr.13505 = STRING: tun0
(...)
IF-MIB::ifDescr.13542 = STRING: tun0
IF-MIB::ifDescr.13543 = STRING: tun0
IF-MIB::ifDescr.13544 = STRING: tun0


There are something around 44 tuns in IF-MIB, but this server just uses 2.

Luis
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
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

Reply via email to