Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jul 2001 11:35:29 +0100
From:      "Mark Blackman" <mark.blackman@netscalibur.co.uk>
To:        freebsd-net@freebsd.org
Subject:   default route disappears on address changes for interface.
Message-ID:  <200107091035.LAA90463@mailhost2.dircon.co.uk>

next in thread | raw e-mail | index | archive | help

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

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?200107091035.LAA90463>