From owner-freebsd-net@FreeBSD.ORG Tue Feb 24 07:12:17 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EAD1D16A4CE for ; Tue, 24 Feb 2004 07:12:17 -0800 (PST) Received: from mail.finsystem.net (unknown [212.141.243.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B7DB43D2F for ; Tue, 24 Feb 2004 07:12:16 -0800 (PST) (envelope-from dpphln@tin.it) Received: from wks16.finsystem.net ([192.168.0.52]) by mail.finsystem.net (8.11.6/8.11.6) with SMTP id i1OFBfS05552; Tue, 24 Feb 2004 16:11:42 +0100 Date: Tue, 24 Feb 2004 16:18:28 +0000 From: DrumFire To: Sten Daniel =?ISO-8859-1?Q?S=F8rsdal?= Message-Id: <20040224161828.59c308d4.dpphln@tin.it> In-Reply-To: References: X-Mailer: Sylpheed version 0.8.11claws (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable cc: freebsd-net@freebsd.org Subject: Re: ifconfig and route problem. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2004 15:12:18 -0000 On Tue, 24 Feb 2004 15:23:07 +0100 Sten Daniel S=F8rsdal wrote: >=20 > > # ifconfig rl0 $ip (where ip can be also 192.168.100.1), my=20 > > default route is deleted, cut off server for my net. > >=20 >=20 > Say you wanted to change from 192.168.100.1/24 to 10.0.0.1/24 > With default gateway changed from 192.168.100.254 to 10.0.0.254 ?? My ask is simple: There's a way to avoid ifconfig reset default route also when newipaddress is the same of old ipaddress? I don't understand your example, and I didn't change my ip address from 192.168.100.1/24 to 10.0.0.1/24 =20