[CentOS] Net-SNMP interfaces out of order
bob at nleaudio.com
Sat Nov 7 23:40:14 UTC 2009
Hello Centos People,
I have a CentOS 5.3 box that had a total of 5 ethernet cards in it. It
functions to share an internet connection with 4 different subnets. All
works fine, except I'm noticing that my MRTG traffic graphs are wrong.
Further digging with snmpwalk reveal that the order of the ethernet
interfaces changes every time the machine is rebooted to a different order.
For example, I currently see:
IF-MIB::ifDescr.1 = STRING: lo
IF-MIB::ifDescr.2 = STRING: eth3
IF-MIB::ifDescr.3 = STRING: eth4
IF-MIB::ifDescr.4 = STRING: eth0
IF-MIB::ifDescr.5 = STRING: eth1
IF-MIB::ifDescr.6 = STRING: eth2
IF-MIB::ifDescr.7 = STRING: sit0
Why is this not in proper order? Other servers seem to be ok. my
snmpd.conf file has little, if anything as far as config. Is there
something I need to put in there for persistence?
More information about the CentOS