From owner-freebsd-net@FreeBSD.ORG Tue Feb 24 06:23:10 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 0D4E716A4CE for ; Tue, 24 Feb 2004 06:23:10 -0800 (PST) Received: from exchange.wan.no (exchange.wan.no [80.86.128.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BF5D43D1D for ; Tue, 24 Feb 2004 06:23:09 -0800 (PST) (envelope-from sten.daniel.sorsdal@wan.no) Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Tue, 24 Feb 2004 15:23:07 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ifconfig and route problem. thread-index: AcP6y2B20Tj1c4R4SRi9hoFBtsI1HgAFc+fQ From: =?iso-8859-1?Q?Sten_Daniel_S=F8rsdal?= To: "DrumFire" , 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 14:23:10 -0000 > # 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 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 ifconfig rl0 inet 10.0.0.1/24 alias route change default 10.0.0.254 ifconfig rl0 inet 192.168.100.1/24 -alias _// Sten Daniel S=F8rsdal