Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 1999 09:34:02 -0700 (PDT)
From:      Julian Elischer <julian@whistle.com>
To:        Kevin Bracey <kbracey@e-14.com>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: Old IP addresses hanging around in routes
Message-ID:  <Pine.BSF.3.95.990629093117.11345C-100000@current1.whistle.com>
In-Reply-To: <c993d81949%kbracey@kbracey.acorn.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <Pine.BSF.3.95.990629091327.11345A-100000@current1.whistle.com>
>           Julian Elischer <julian@whistle.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.990629093117.11345C-100000>