Hi I have a linux machine that hosts several virtual machines. The machine has 4 Gigabit Ethernet NICs. The primary one is configured as a bridge interface (br0) for the virtual machines to communicate with the network.
The machine's primary ip address is also on that bridge interface. IF-MIB::ifName.1 = STRING: lo IF-MIB::ifName.2 = STRING: eth1 IF-MIB::ifName.3 = STRING: eth3 IF-MIB::ifName.4 = STRING: eth0 IF-MIB::ifName.5 = STRING: eth2 IF-MIB::ifName.6 = STRING: bond0 IF-MIB::ifName.7 = STRING: br0 IF-MIB::ifName.8 = STRING: virbr0 net-snmp seems to think this bridge interface is a 100 MBit interface. When querying the ifspeed column, I get IF-MIB::ifSpeed.1 = Gauge32: 10000000 IF-MIB::ifSpeed.2 = Gauge32: 1000000000 IF-MIB::ifSpeed.3 = Gauge32: 1000000000 IF-MIB::ifSpeed.4 = Gauge32: 1000000000 IF-MIB::ifSpeed.5 = Gauge32: 1000000000 IF-MIB::ifSpeed.6 = Gauge32: 10000000 IF-MIB::ifSpeed.7 = Gauge32: 10000000 IF-MIB::ifSpeed.8 = Gauge32: 10000000 So I wanted to configure br0's speed with the snmpd.conf line: interface br0 6 1000000000 Then I restart net-snmp and after a minute (values change in the first minute I noticed), query again: IF-MIB::ifName.1 = STRING: lo IF-MIB::ifName.2 = STRING: eth1 IF-MIB::ifName.3 = STRING: eth3 IF-MIB::ifName.4 = STRING: eth0 IF-MIB::ifName.5 = STRING: eth2 IF-MIB::ifName.6 = STRING: bond0 IF-MIB::ifName.7 = STRING: br0 IF-MIB::ifName.8 = STRING: virbr0 IF-MIB::ifSpeed.1 = Gauge32: 10000000 IF-MIB::ifSpeed.2 = Gauge32: 10000000 IF-MIB::ifSpeed.3 = Gauge32: 10000000 IF-MIB::ifSpeed.4 = Gauge32: 10000000 IF-MIB::ifSpeed.5 = Gauge32: 10000000 IF-MIB::ifSpeed.6 = Gauge32: 10000000 IF-MIB::ifSpeed.7 = Gauge32: 1000000000 IF-MIB::ifSpeed.8 = Gauge32: 10000000 So br0's speed is now correct, but the speed of the physical devices (index 1-5) is wrong. This looks like a bug to me - or am I doing something wrong? Regards Dominik ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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
