From owner-freebsd-net Tue Jun 29 9:34:10 1999 Delivered-To: freebsd-net@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 77C8615378 for ; Tue, 29 Jun 1999 09:34:07 -0700 (PDT) (envelope-from julian@whistle.com) Received: from current1.whistle.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.9.1a/8.9.1) with SMTP id JAA73189; Tue, 29 Jun 1999 09:34:03 -0700 (PDT) Date: Tue, 29 Jun 1999 09:34:02 -0700 (PDT) From: Julian Elischer To: Kevin Bracey Cc: freebsd-net@FreeBSD.ORG Subject: Re: Old IP addresses hanging around in routes In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org you have a point and I admit that I can't remember exactly what I do in this case. what about: ifconfig eh0 10.0.4.1 route add default 10.0.0.1 ifconfig eh0 down delete now what about the default route? On Tue, 29 Jun 1999, Kevin Bracey wrote: > In message > Julian Elischer wrote: > > > well yes, > > > > if you delete an interface, why would you keep a route that points > > through it? You want to re-evaluate that route next time you try to reach > > that destination. These changes are aimed evemtially at making interfaced > > dynamic. > > I may have misunderstood. In the case where you do something like: > > ifconfig eh0 10.0.4.1 > route add default 10.0.0.1 > ifconfig eh0 10.0.4.2 > > your change would remove the default route outright, as I read it. It > certainly needs to be reevaluated as to how we actually get to 10.0.0.1 > following the reconfiguration of the interface route, but should we remove > the default route altogether? > > -- > Kevin Bracey, Senior Software Engineer > Pace Micro Technology plc Tel: +44 (0) 1223 725228 > 645 Newmarket Road Fax: +44 (0) 1223 725328 > Cambridge, CB5 8PB, United Kingdom WWW: http://www.acorn.co.uk/ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message