From owner-freebsd-net@FreeBSD.ORG Tue Feb 24 03:40:50 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 AB14016A4CE for ; Tue, 24 Feb 2004 03:40:50 -0800 (PST) Received: from mail.finsystem.net (unknown [212.141.243.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id B66D543D1D for ; Tue, 24 Feb 2004 03:40:49 -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 i1OBemS02307 for ; Tue, 24 Feb 2004 12:40:48 +0100 Date: Tue, 24 Feb 2004 12:47:34 +0000 From: DrumFire To: freebsd-net@freebsd.org Message-Id: <20040224124734.77e8835b.dpphln@tin.it> X-Mailer: Sylpheed version 0.8.11claws (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: 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 11:40:50 -0000 Hi, this is my configuration: rl0: flags=8843 mtu 1500 options=8 inet 192.168.100.1 netmask 0xffffff00 broadcast 192.168.100.255 ether 00:30:84:9e:9d:26 media: Ethernet autoselect (100baseTX ) status: active and this is my default route default 192.168.100.254 UGS 0 0 rl0 If I write something of this: # ifconfig rl0 $ip (where ip can be also 192.168.100.1), my default route is deleted, cut off server for my net. There's a way to avoid ifconfig delete my default route when I modify a ipaddress?