From owner-freebsd-net Sun May 9 1: 6:45 1999 Delivered-To: freebsd-net@freebsd.org Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (Postfix) with SMTP id 2825A14E36 for ; Sun, 9 May 1999 01:06:42 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id HAA09000 for net@freebsd.org; Sun, 9 May 1999 07:57:59 +0200 From: Luigi Rizzo Message-Id: <199905090557.HAA09000@labinfo.iet.unipi.it> Subject: ifconfig/route not deelting old entries ? To: net@freebsd.org Date: Sun, 9 May 1999 07:57:58 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1250 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, on a 3.1 system, i noticed the following: 1 if i do an "ifconfig de0 delete" (or whatever the interface is), the routes associated with that interface do not go away, even if the associated "Refs" field is 0. 2 if i do a "route -n flush", routes which are cloned from some of the flushed ones (eg. one that has RTF_CLONING/RTF_PRCLONING set) do not get flushed even if their refcount is 0. Is there an easy fix for that (especially #1, maybe #2 is difficult if cloned routes do not have a reference to their parent) ? The problem is not very common I agree, except when you have a multihomed machine and do testing with it by switching cables/interfaces, and nothing works until you manually hunt & delete all the old routes, or (glob!) reboot... cheers luigi -----------------------------------+------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL/FAX: +39-050-568.533/522 . via Diotisalvi 2, 56126 PISA (Italy) http://www.iet.unipi.it/~luigi/ngc99/ ==== First International Workshop on Networked Group Communication ==== -----------------------------------+------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message