Re: lost interface ID on Linux machine

Usuário do Sistema <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAMTjHrwbnZPxfXaBbQHV+5+cEz4tKAq-h_mgC7n_X1NqmCb=MQ@mail.gmail.com>
Thanks, rely the ID (ifIndex ) is change when the interface is down.
this case occur on linux machine and more some others device.




Em 23 de abril de 2012 06:04, Joel Hansell <[email protected]> escreveu:
> Hi,
>
> By "ID number", I assume that you mean the ifIndex?
>
> The ifIndex is not guaranteed to be persistent over reboots, and this
> is a quite common occurence. The relevant RFC text is below:
>
> "Its value ranges between 1 and the value of ifNumber.  The
>        value for each interface must remain constant at least from
>        one re-initialization of the entity's network management
>        system to the next re-initialization."
>
> In other words, the ifIndex numbering of the interfaces is only
> guaranteed to persist until the machine is re-booted.
> But surely, if you want to know which interface is which, you can just
> inspect the ifDescr field instead?
>
> As an aside, some systems seem to be able to have ifIndex persistence
> enabled, like some Cisco equipment:
> http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080134eec.shtml
>
> Regards,
> Joel Hansell
>
> On Mon, Apr 23, 2012 at 4:47 AM, Usuário do Sistema <[email protected]> wrote:
>> Hello, I have a CentOS 5.4 Linux machine and I'm monitoring by snmp it
>> interfaces ethernet. but, when the machine it is restart ID number
>> snmp that's interfaces are change.
>>
>> for exemplo when the linux machine is with ID 3 on interface eth1 and
>> it is reset so it come up with a different ID for exemplo 2 for eth1.
>>
>> so I wonder why happen ? it's normal ? it's possible set a ID value
>> for every interface ?
>>
>> if is change the ID number for each interface so stop my monitoring
>> because my snmp software read by interface ID.
>>
>>
>> thanks
>>
>> ------------------------------------------------------------------------------
>> For Developers, A Lot Can Happen In A Second.
>> Boundary is the first to Know...and Tell You.
>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> http://p.sf.net/sfu/Boundary-d2dvs2
>> _______________________________________________
>> 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
>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> 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

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
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.