From owner-freebsd-net@FreeBSD.ORG Sat Jun 22 08:04:16 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C6C3117E; Sat, 22 Jun 2013 08:04:16 +0000 (UTC) (envelope-from s.khanchi@gmail.com) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) by mx1.freebsd.org (Postfix) with ESMTP id 37CA61127; Sat, 22 Jun 2013 08:04:16 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id ey16so1208187wid.4 for ; Sat, 22 Jun 2013 01:04:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=CfiShldyz11dSy0rqDtGs4rTOM/Y5sV0VVXX4xOjYXo=; b=0svxktwuCwfVkXwq0w+p9Oe49k0NomnrweWdAb49XjgOaoQ91omuFYnFcUoPFjCRCX 7STItLgy1FqlErB/RLOPNTsWS1IRFmdyYDKmKq2phFupEjF4TWYhhVL47JTxdRfzCbCl jp7NFhzhPcFKQMgJkkIqicS096To+BqhbL2KPYmwLHPpNbcCGkDjtNoKH6kf5nalLwao cfMRuc5z+eAKEcYxL8q5Y9Y5ml7t/Vvd3JT8OsNB6GZ1XFp/iYKpU3dDv+f7zzZBypdw cRmFGZnM6KhJFKpqfZQumdwyepsNVEBQGU6KfgC3NCVRQonwUH6B+NMZl21YL2YngF/W V0lg== X-Received: by 10.194.8.163 with SMTP id s3mr11631437wja.41.1371888255338; Sat, 22 Jun 2013 01:04:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.22.195 with HTTP; Sat, 22 Jun 2013 01:03:55 -0700 (PDT) In-Reply-To: <51BFA24D.70705@rewt.org.uk> References: <69CF1AAF-230D-4B2B-9C95-20DDD772997E@dataix.net> <51BFA24D.70705@rewt.org.uk> From: Sara Khanchi Date: Sat, 22 Jun 2013 12:33:55 +0430 Message-ID: Subject: Re: How not allow setting ip changes interface down status? To: Joe Holden Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Adrian Chadd , Jack Vogel , "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jun 2013 08:04:16 -0000 On Tue, Jun 18, 2013 at 4:27 AM, Joe Holden wrote: > Jason Hellenthal wrote: > >> Off the top of my head I don't know of another OS that does this. >> >> But yes agreed changing that behavior would probably effect a lot of >> people in a negative way at this point. >> >> Not to mention script breakage. >> >> But a tunable in the stack somewhere would be awesome to change this >> behavior. Either interface specific or global or both. >> >> Sometimes installing a new faucet you don't want the water to run until >> all the nuts, bolts and washers are installed. >> >> The entire notion is ridiculous, it is quite simple - if the interface > is down, it isn't in the FIB, you can't arbitarily return an error for > setting an IP on an interface that isn't up. > > The last thing we need is yet more nonsense stack changes, allowing 0/8 to > be used was bad enough. > What I've intended to do, as jason is mentioned too, is assigning IP address to the interface but not let it works until a proper time. As I understand there is not any way just set the interface down besides adding IP! Still, any other solution?