From owner-freebsd-net@FreeBSD.ORG Wed Mar 3 09:07:59 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 AD03816A4CE for ; Wed, 3 Mar 2004 09:07:59 -0800 (PST) Received: from exchange.wan.no (unknown [80.86.128.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id C47B043D4C for ; Wed, 3 Mar 2004 09:07:58 -0800 (PST) (envelope-from sten.daniel.sorsdal@wan.no) Content-class: urn:content-classes:message Date: Wed, 3 Mar 2004 18:08:02 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-ID: <78F980C200F8674DABD0F6D5E414DCDA04E32C@exchange.wanglobal.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Thread-Topic: ifconfig and route problem. Thread-Index: AcP66JadNvuPR31SRaSpzfkPA4fGTgApxUZQ From: =?iso-8859-1?Q?Sten_Daniel_S=F8rsdal?= To: "DrumFire" 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: Wed, 03 Mar 2004 17:07:59 -0000 =20 > > > # ifconfig rl0 $ip (where ip can be also 192.168.100.1),=20 > my default=20 > > > 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=20 > > default gateway changed from 192.168.100.254 to 10.0.0.254 >=20 > ?? My ask is simple: There's a way to avoid ifconfig reset=20 > default route also when newipaddress is the same of old ipaddress? >=20 > I don't understand your example, and I didn't change my ip=20 > address from 192.168.100.1/24 to 10.0.0.1/24 > =20 Yes there is a way and i showed you one way to do it. Apologies if this was too technical or not what you asked. _// Sten Daniel S=F8rsdal