From owner-freebsd-net@FreeBSD.ORG Wed Mar 14 18:20:54 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 5501C16A402; Wed, 14 Mar 2007 18:20:54 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out5.smtp.messagingengine.com (out5.smtp.messagingengine.com [66.111.4.29]) by mx1.freebsd.org (Postfix) with ESMTP id 226E713C468; Wed, 14 Mar 2007 18:20:54 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out1.internal (unknown [10.202.2.149]) by out1.messagingengine.com (Postfix) with ESMTP id AB6C61F8390; Wed, 14 Mar 2007 14:20:53 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by out1.internal (MEProxy); Wed, 14 Mar 2007 14:20:53 -0400 X-Sasl-enc: 5B2iKsUaIv3aLjyQa9U07cbHTBDa3KNsy2mWUeRI4AZB 1173896453 Received: from [192.168.123.18] (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTP id A834216B5B; Wed, 14 Mar 2007 14:20:52 -0400 (EDT) Message-ID: <45F83D03.9020501@FreeBSD.org> Date: Wed, 14 Mar 2007 18:20:51 +0000 From: "Bruce M. Simpson" User-Agent: Thunderbird 1.5.0.9 (X11/20070125) MIME-Version: 1.0 To: Gleb Smirnoff , "Bruce M. Simpson" , freebsd-net@FreeBSD.org, Vladimir Ivanov , bug-followup@FreeBSD.org References: <20070314115916.GB2713@cell.sick.ru> <45F81C0D.2000608@FreeBSD.org> <20070314161023.GF2713@cell.sick.ru> In-Reply-To: <20070314161023.GF2713@cell.sick.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: 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: Wed, 14 Mar 2007 18:20:54 -0000 Gleb Smirnoff wrote: > I was afraid that this would raise an argument on multipath routing. Let's > temporary do not speak about multipath but just decide what is the correct > way to remove conflicting routes when we are assigning an IP prefix to a > local interface? > My suggestion is to take the second approach you outlined but modify it slightly. That way, the conflict between the 'connected' FTE introduced by ifconfig'ing the interface and the pre-existing FTE for that network prefix, may be resolved in a manner which doesn't break current consumers of the routing code, and leaves the way open to do multipath later w/o problems. Regards, BMS