Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 May 1999 07:57:58 +0200 (MET DST)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        net@freebsd.org
Subject:   ifconfig/route not deelting old entries ?
Message-ID:  <199905090557.HAA09000@labinfo.iet.unipi.it>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905090557.HAA09000>