Date: Mon, 09 Jul 2001 11:41:37 +0100 From: Brian Somers <brian@Awfulhak.org> To: "Mark Blackman" <mark.blackman@netscalibur.co.uk> Cc: freebsd-net@FreeBSD.ORG, brian@Awfulhak.org Subject: Re: default route disappears on address changes for interface. Message-ID: <200107091041.f69AfbQ61858@hak.lan.Awfulhak.org> In-Reply-To: Message from "Mark Blackman" <mark.blackman@netscalibur.co.uk> of "Mon, 09 Jul 2001 11:35:29 BST." <200107091035.LAA90463@mailhost2.dircon.co.uk>
index | next in thread | previous in thread | raw e-mail
ifconfig(8) deletes and re-adds the given address. When the delete
happens, the route (now) disappears.
IMHO, ifconfig(8) should be smart enough to optimise out no-ops.
> on FreeBSD 4.3-STABLE #1: Thu May 24 13:03:35 BST 2001
>
> Is it now standard/expected behaviour that default routes
> disappear on an IP address change even within the same netmask
> or even to the same address if the default route is on that
> interface?
>
> Say I've got the following setup.
>
> ifconfig ep0 inet 10.0.0.1 netmask 255.255.255.0
> route add default 10.0.0.254
>
> then i do
>
> ifconfig ep0 inet 10.0.0.2 (or even 10.0.0.1)
>
> suddenly my default route disappears. Is this expected
> behaviour and has this always been the case? I'm pretty
> sure it wasn't.
>
> Thanks,
> Mark Blackman
--
Brian <brian@freebsd-services.com> <brian@Awfulhak.org>
http://www.freebsd-services.com/ <brian@[uk.]FreeBSD.org>
Don't _EVER_ lose your sense of humour ! <brian@[uk.]OpenBSD.org>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107091041.f69AfbQ61858>
