routes disappear

From: David Lang (dlang_at_digitalinsight.com)
Date: 08/17/05

  • Next message: john stultz: "Re: [RFC - 0/9] Generic timekeeping subsystem (v. B5)"
    Date:	Tue, 16 Aug 2005 18:03:37 -0700 (PDT)
    To: linux-kernel@vger.kernel.org
    
    

    I've been having an intermittent problem over the last couple of years
    where the addition of a network interface will cause all routes on the box
    to vanish.

    the systems are a stripped down Debian 3.0 build with a 2.6.7 kernel and
    the vast majority of the time they work just fine.

    however once in a while I get a config where enabling an interface causes
    netstat (and /proc/net/route) to report no routes. The system continues to
    function so the routes are still there somehow, but they aren't reported.

    the latest box to do this has two interfaces (this one has tg3 interfaces,
    but I've also seen this on adaptec starfire, tulip, and 3com nics)
    192.168.242.142
    192.168.210.219

    if I boot the box with the interfaces disabled and do ifup individually it
    sometimes works (I haven't nailed down the difference between when it does
    and when it doesn't), if I leave them enabled at boot by the time I can
    login the routing table shows blank.

    I have a few days to fiddle with this system before I need to use it,
    where should I look to dig up more info?

    syslog shows the following
    Aug 16 16:33:04 scribe1a-p kernel: Adding 2048276k swap on /dev/sda1.
    Priority:-1 extents:1
    Aug 16 16:33:04 scribe1a-p kernel: ttyS2: LSR safety check engaged!
    Aug 16 16:33:04 scribe1a-p kernel: ttyS2: LSR safety check engaged!
    Aug 16 16:33:04 scribe1a-p kernel: ttyS3: LSR safety check engaged!
    Aug 16 16:33:04 scribe1a-p kernel: ttyS3: LSR safety check engaged!
    Aug 16 16:33:04 scribe1a-p kernel: tg3: eth0: Link is up at 1000 Mbps,
    full duplex.
    Aug 16 16:33:04 scribe1a-p kernel: tg3: eth0: Flow control is on for TX
    and on for RX.
    Aug 16 16:33:04 scribe1a-p kernel: tg3: eth1: Link is up at 1000 Mbps,
    full duplex.
    Aug 16 16:33:04 scribe1a-p kernel: tg3: eth1: Flow control is off for TX
    and off for RX.
    Aug 16 16:33:04 scribe1a-p kernel: process `syslogd' is using obsolete
    setsockopt SO_BSDCOMPAT
    Aug 16 16:33:05 scribe1a-p /usr/sbin/gpm[191]: Detected EXPS/2 protocol
    mouse.
    Aug 16 16:33:07 scribe1a-p ntpd[298]: ntpd 4.1.0 Mon Mar 25 23:39:47 UTC
    2002 (2)
    Aug 16 16:33:07 scribe1a-p ntpd[298]: precision = 11 usec
    Aug 16 16:33:07 scribe1a-p ntpd[298]: kernel time discipline status 0040
    Aug 16 16:33:07 scribe1a-p ntpd[298]: attempt to configure invalid address
    127.127.1.0
    Aug 16 16:33:07 scribe1a-p /usr/sbin/cron[303]: (CRON) INFO (pidfile fd =
    3)
    Aug 16 16:33:07 scribe1a-p /usr/sbin/cron[304]: (CRON) STARTUP (fork ok)
    Aug 16 16:33:07 scribe1a-p /usr/sbin/cron[304]: (CRON) INFO (Running
    @reboot jobs)
    Aug 16 16:33:16 scribe1a-p ntpd[298]: sendto(192.168.252.132): Network is
    unreachable
    Aug 16 16:33:23 scribe1a-p ntpd[298]: sendto(192.168.252.131): Network is
    unreachable
    Aug 16 16:33:36 scribe1a-p kernel: 192.168.242.142 sent an invalid ICMP
    type 3, code 1 error to a broadcast: 192.168.
    242.255 on lo
    Aug 16 16:33:36 scribe1a-p kernel: 192.168.242.142 sent an invalid ICMP
    type 3, code 1 error to a broadcast: 192.168.
    242.255 on lo
    Aug 16 16:33:39 scribe1a-p kernel: tg3: eth0: Link is up at 1000 Mbps,
    full duplex.
    Aug 16 16:33:39 scribe1a-p kernel: tg3: eth0: Flow control is on for TX
    and on for RX.
    Aug 16 16:33:42 scribe1a-p kernel: 192.168.210.216 sent an invalid ICMP
    type 3, code 1 error to a broadcast: 192.168.
    210.255 on lo
    Aug 16 16:33:42 scribe1a-p kernel: 192.168.210.216 sent an invalid ICMP
    type 3, code 1 error to a broadcast: 192.168.
    210.255 on lo
    Aug 16 16:33:43 scribe1a-p kernel: tg3: eth1: Link is up at 1000 Mbps,
    full duplex.
    Aug 16 16:33:43 scribe1a-p kernel: tg3: eth1: Flow control is off for TX
    and off for RX.
    Aug 16 16:33:55 scribe1a-p kernel: tg3: eth1: Link is up at 1000 Mbps,
    full duplex.
    Aug 16 16:33:55 scribe1a-p kernel: tg3: eth1: Flow control is off for TX
    and off for RX.
    Aug 16 16:34:01 scribe1a-p /USR/SBIN/CRON[716]: (root) CMD (touch
    /tmp/.crond_running >/dev/null 2>/dev/null)
    Aug 16 16:34:02 scribe1a-p kernel: 192.168.242.142 sent an invalid ICMP
    type 3, code 1 error to a broadcast: 192.168.
    242.255 on lo
    Aug 16 16:34:02 scribe1a-p kernel: 192.168.242.142 sent an invalid ICMP
    type 3, code 1 error to a broadcast: 192.168.
    242.255 on lo
    Aug 16 16:34:04 scribe1a-p kernel: tg3: eth0: Link is up at 1000 Mbps,
    full duplex.
    Aug 16 16:34:04 scribe1a-p kernel: tg3: eth0: Flow control is on for TX
    and on for RX.
    Aug 16 16:35:01 scribe1a-p /USR/SBIN/CRON[1126]: (root) CMD
    (/usr/local/etc/newlogs >/dev/null 2>/dev/null)
    Aug 16 16:35:01 scribe1a-p /USR/SBIN/CRON[1128]: (root) CMD (touch
    /tmp/.crond_running >/dev/null 2>/dev/null)

    David Lang

    -- 
    There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious deficiencies.
      -- C.A.R. Hoare
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: john stultz: "Re: [RFC - 0/9] Generic timekeeping subsystem (v. B5)"

    Relevant Pages

    • Re: High EIGRP Pending routes
      ... eigrp interfaces comes directly from Cisco and is not that helpful. ... Their definition is "Number of routes in the packets sitting in the ... The reason for this question is that we have an EIGRP meltdown on our ... This core router has another core router attached ...
      (comp.dcom.sys.cisco)
    • Re: High EIGRP Pending routes
      ... eigrp interfaces comes directly from Cisco and is not that helpful. ... Their definition is "Number of routes in the packets sitting in the ... The reason for this question is that we have an EIGRP meltdown on our ... This core router has another core router attached ...
      (comp.dcom.sys.cisco)
    • Re: Odd routing problem
      ... >practice serves only the wireless connection for my son. ... broadcast ntp udp packets for 192.168.1 ... particular if ntpd was restarted while xl0 was down and hasn't been ... address is for the respective interfaces. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Fw: Re: A quagga-related issue
      ... The problem is that quagga can't know whether tunnel is down or up. ... >> relies in the fact that tun interfaces can't be removed. ... >> parses the list of interfaces to gather the connected routes. ...
      (freebsd-net)
    • Re: single host netmask (255.255.255.255)
      ... The routes from three interfaces, propagate via OSPF to the rest of network.... ... One way is to remember IP addresses assigned to each interfaces, but more smart solution is to assign to this machine one EXTERNAL LOOPBACK address (single IP with mask 255.255.255.255, in other words SINGLE HOST assigned to Microsoft loopback adapter), and propagate this address ... The address 255.255.255.255 denotes a broadcast on a local hardware network, ...
      (microsoft.public.win2000.networking)