[Pkg-net-snmp-devel] Bug#368617: snmpd has a duplicate of ppp interface after it reconnect

Chaisit Choosong chaisit at hotmail.com
Sat Dec 16 17:08:57 CET 2006


Package: snmpd
Version: 5.2.3-4

*** Please type your report below this line ***


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-l7-filter
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages snmpd depends on:
ii  adduser                      3.100       Add and remove users and groups
ii  debconf                      1.5.8       Debian configuration 
management sy
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  libsensors3                  1:2.10.1-2  library to read 
temperature/voltag
ii  libsnmp9                     5.2.3-4     NET SNMP (Simple Network 
Managemen
ii  libwrap0                     7.6.dbs-11  Wietse Venema's TCP 
wrappers libra

snmpd recommends no packages.

This bug still exist in this version on Debian Etch.
I use pppoe to connect two ppp interfaces(DSL line). After they 
reconnected, snmpd has many duplicate of ppp interfaces as following.

# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:13:72:1D:37:A4
          inet addr:192.168.200.254  Bcast:192.168.200.255  
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:181195 errors:0 dropped:0 overruns:0 frame:0
          TX packets:213007 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:37381823 (35.6 MiB)  TX bytes:245569613 (234.1 MiB)
          Interrupt:177

eth1      Link encap:Ethernet  HWaddr 00:02:44:AB:AA:8A
          inet addr:192.168.2.2  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:181037 errors:0 dropped:0 overruns:0 frame:0
          TX packets:138667 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:205933704 (196.3 MiB)  TX bytes:31882697 (30.4 MiB)
          Interrupt:169 Base address:0xdc00

eth2      Link encap:Ethernet  HWaddr 00:04:E2:51:B1:C2
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:24806 errors:0 dropped:0 overruns:0 frame:0
          TX packets:41244 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:26276101 (25.0 MiB)  TX bytes:4949359 (4.7 MiB)
          Interrupt:58 Base address:0xd800

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1701 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1701 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:246592 (240.8 KiB)  TX bytes:246592 (240.8 KiB)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:61.7.160.154  P-t-P:61.7.160.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:24517 errors:0 dropped:0 overruns:0 frame:0
          TX packets:40935 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:25719315 (24.5 MiB)  TX bytes:4036794 (3.8 MiB)

ppp1      Link encap:Point-to-Point Protocol
          inet addr:61.7.159.140  P-t-P:61.7.159.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:48801 errors:0 dropped:0 overruns:0 frame:0
          TX packets:44780 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:51953973 (49.5 MiB)  TX bytes:9965936 (9.5 MiB)

# snmpwalk -c xxxx -v 2c 127.0.0.1 .1.3.6.1.2.1.2.2
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifIndex.5 = INTEGER: 5
IF-MIB::ifIndex.6 = INTEGER: 6
IF-MIB::ifIndex.7 = INTEGER: 7
IF-MIB::ifIndex.8 = INTEGER: 8
IF-MIB::ifDescr.1 = STRING: lo
IF-MIB::ifDescr.2 = STRING: eth0
IF-MIB::ifDescr.3 = STRING: eth1
IF-MIB::ifDescr.4 = STRING: eth2
IF-MIB::ifDescr.5 = STRING: ppp0
IF-MIB::ifDescr.6 = STRING: ppp1
IF-MIB::ifDescr.7 = STRING: ppp1
IF-MIB::ifDescr.8 = STRING: ppp1
IF-MIB::ifType.1 = INTEGER: softwareLoopback(24)
IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.3 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.4 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.5 = INTEGER: ppp(23)
IF-MIB::ifType.6 = INTEGER: ppp(23)
IF-MIB::ifType.7 = INTEGER: ppp(23)
IF-MIB::ifType.8 = INTEGER: ppp(23)
IF-MIB::ifMtu.1 = INTEGER: 16436
IF-MIB::ifMtu.2 = INTEGER: 1500
IF-MIB::ifMtu.3 = INTEGER: 1500
IF-MIB::ifMtu.4 = INTEGER: 1500
IF-MIB::ifMtu.5 = INTEGER: 1492
IF-MIB::ifMtu.6 = INTEGER: 1492
IF-MIB::ifMtu.7 = INTEGER: 1492
IF-MIB::ifMtu.8 = INTEGER: 1492
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: 0
IF-MIB::ifSpeed.6 = Gauge32: 0
IF-MIB::ifSpeed.7 = Gauge32: 0
IF-MIB::ifSpeed.8 = Gauge32: 0
IF-MIB::ifPhysAddress.1 = STRING:
IF-MIB::ifPhysAddress.2 = STRING: 0:13:72:1d:37:a4
IF-MIB::ifPhysAddress.3 = STRING: 0:2:44:ab:aa:8a
IF-MIB::ifPhysAddress.4 = STRING: 0:4:e2:51:b1:c2
IF-MIB::ifPhysAddress.5 = STRING:
IF-MIB::ifPhysAddress.6 = STRING:
IF-MIB::ifPhysAddress.7 = STRING:
IF-MIB::ifPhysAddress.8 = STRING:
IF-MIB::ifAdminStatus.1 = INTEGER: up(1)
IF-MIB::ifAdminStatus.2 = INTEGER: up(1)
IF-MIB::ifAdminStatus.3 = INTEGER: up(1)
IF-MIB::ifAdminStatus.4 = INTEGER: up(1)
IF-MIB::ifAdminStatus.5 = INTEGER: down(2)
IF-MIB::ifAdminStatus.6 = INTEGER: down(2)
IF-MIB::ifAdminStatus.7 = INTEGER: down(2)
IF-MIB::ifAdminStatus.8 = INTEGER: up(1)
IF-MIB::ifOperStatus.1 = INTEGER: up(1)
IF-MIB::ifOperStatus.2 = INTEGER: up(1)
IF-MIB::ifOperStatus.3 = INTEGER: up(1)
IF-MIB::ifOperStatus.4 = INTEGER: up(1)
IF-MIB::ifOperStatus.5 = INTEGER: up(1)
IF-MIB::ifOperStatus.6 = INTEGER: down(2)
IF-MIB::ifOperStatus.7 = INTEGER: down(2)
IF-MIB::ifOperStatus.8 = INTEGER: up(1)
IF-MIB::ifLastChange.1 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.2 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.3 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.4 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.5 = Timeticks: (9013) 0:01:30.13
IF-MIB::ifLastChange.6 = Timeticks: (135022) 0:22:30.22
IF-MIB::ifLastChange.7 = Timeticks: (1938152) 5:23:01.52
IF-MIB::ifLastChange.8 = Timeticks: (0) 0:00:00.00
        :
        .







More information about the Pkg-net-snmp-devel mailing list