From owner-freebsd-questions Thu Sep 2 11:52:29 1999 Delivered-To: freebsd-questions@freebsd.org Received: from lexicon.ins.com (ns1.ins.com [199.0.193.15]) by hub.freebsd.org (Postfix) with ESMTP id 7571114D80 for ; Thu, 2 Sep 1999 11:52:23 -0700 (PDT) (envelope-from pepin_j@ins.com) Received: from pepinj (exodus.ins.com [199.0.193.215]) by lexicon.ins.com (8.8.8/8.8.8) with SMTP id LAA28127; Thu, 2 Sep 1999 11:50:09 -0700 (PDT) Reply-To: From: "Joe Pepin" To: "slava" Cc: Subject: RE: 10baseT interface no down when cable is unpluged Date: Thu, 2 Sep 1999 14:39:52 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, Yes, it seems to me you need a "hearbeat". You could write small script to ping out via that interface every so often. If the ping fails, then call ifconfig to down the card. That should do it, right? HTH, Joe Pepin -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Doug Sent: Thursday, September 02, 1999 7:42 PM To: slava Cc: freebsd-questions@FreeBSD.ORG Subject: Re: 10baseT interface no down when cable is unpluged On Thu, 2 Sep 1999, slava wrote: > > hello > > I have a problem with gated ospf no detecting when my mx0 > interface goes down. Let's say I unplug the CAT5 cable from > the card. Shouldn't ifconfig show me that the interface is down? Why? You haven't downed it. "Down" does not mean "not working" in this context. > It reports exactly the same status as if the cable was there. > The problem with ospf is it will issue an LSA only if the status of > the interface is changed. > > Can anyone suggest an workaround this problem? Attempt to ping whatever you're plugged into, and if it fails do whatever you need to do? Good luck, Doug -- "My mama told me, my mama said, 'don't cry.' She said, 'you're too young a man to have as many women you got.' I looked at my mother dear and didn't even crack a smile. I said, 'If women kill me, I don't mind dyin!'" - John Belushi as "Joliet" Jake Blues, "I Don't Know" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message