From owner-freebsd-net@FreeBSD.ORG Fri Mar 16 11:55:59 2007 Return-Path: X-Original-To: freebsd-net@FreeBSD.org Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 42C1016A552 for ; Fri, 16 Mar 2007 11:55:59 +0000 (UTC) (envelope-from citrin@citrin.ru) Received: from mail.classis.ru (classis.ru [213.248.60.120]) by mx1.freebsd.org (Postfix) with ESMTP id F0AE813C448 for ; Fri, 16 Mar 2007 11:55:58 +0000 (UTC) (envelope-from citrin@citrin.ru) Received: from citrin (unknown [81.19.65.39]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: citrin.citrin.ru) by mail.classis.ru (Postfix) with ESMTP id 0B3D512279E2; Fri, 16 Mar 2007 14:55:58 +0300 (MSK) Date: Fri, 16 Mar 2007 14:55:03 +0300 From: Anton Yuzhaninov X-Mailer: The Bat! (v3.62.14) Professional Organization: Rambler X-Priority: 3 (Normal) Message-ID: <446293168.20070316145503@citrin.ru> To: Andre Oppermann In-Reply-To: <45F974BE.5050404@freebsd.org> References: <20070314115916.GB2713@cell.sick.ru> <45F81C0D.2000608@FreeBSD.org> <20070314161023.GF2713@cell.sick.ru> <45F974BE.5050404@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-net@FreeBSD.org Subject: Re[2]: kern/106722: [net] [patch] ifconfig may not connect an interface to known network X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2007 11:55:59 -0000 Thursday, March 15, 2007, 7:30:54 PM, Andre Oppermann wrote: AO> IMO when configuring a interface with an IP address and network it should AO> kick out previous host and/or network routes matching it. Unless those AO> are from locally configured interfaces, then it should reject the new AO> attempt. New route should replace existing one only if it have administrative distance (in cisco terms) smaller than AD for existing route. Preference of network from locally configured interface is only particular case of this general principle. -- WBR, Anton Yuzhaninov