From owner-freebsd-current@FreeBSD.ORG Mon Oct 11 05:30:26 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55654106564A; Mon, 11 Oct 2010 05:30:26 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id D05568FC20; Mon, 11 Oct 2010 05:30:25 +0000 (UTC) Received: by yxe42 with SMTP id 42so663172yxe.13 for ; Sun, 10 Oct 2010 22:30:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :organization:user-agent:mime-version:to:cc:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=DKf1Q7/+zFcDbnky3Y/efslqtwxCJ4gju8gIpJ1Xsqg=; b=Pungeoh6NH2SnTTg9ME9A9LwfshJTge/8xd2CkwXLL3MVbCdiBjIK0erVICz3pdXW4 VmbQCGtQYszwS1K1f0PIvrJqrTpBxhw274bz/87h7+d2wHWoGR9dbHEaXxhPC/T+KHpq vbr+AkEq6zlSULi/XFvnmG3Sev7RIm+RjFIu0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:organization:user-agent:mime-version:to :cc:subject:references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=L9ZGWS1IZbJOw+OGab9q2Rh7v7I5Pzr6kyI+Vix8iacIICs+fOCxsRXf4KVQkxQcrl LBHqlJRVR6mzChNjLpFwz/aGCWa/ww6j9Z8LeRArfSrcmpbJY5iJwZTNM9QAmnI2WeQS 7HmmdWu/KuCSyslwQhnWVgenOh9sFxm2Yo4r4= Received: by 10.151.8.8 with SMTP id l8mr6125156ybi.251.1286775024931; Sun, 10 Oct 2010 22:30:24 -0700 (PDT) Received: from centel.dataix.local (adsl-99-181-144-115.dsl.klmzmi.sbcglobal.net [99.181.144.115]) by mx.google.com with ESMTPS id q5sm2425962ybe.6.2010.10.10.22.30.18 (version=SSLv3 cipher=RC4-MD5); Sun, 10 Oct 2010 22:30:19 -0700 (PDT) Sender: "J. Hellenthal" Message-ID: <4CB2A0E9.50108@DataIX.net> Date: Mon, 11 Oct 2010 01:30:17 -0400 From: jhell Organization: http://www.DataIX.net User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.9) Gecko/20100917 Lightning/1.0b1 Thunderbird MIME-Version: 1.0 To: Garrett Cooper References: <4C76CA06.5010001@FreeBSD.org> <4CB135F5.20804@DataIX.net> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Doug Barton , FreeBSD Current , Sergey Kandaurov , freebsd-rc@FreeBSD.org Subject: Re: [RFC] ifconfig description support in rc.d X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Oct 2010 05:30:26 -0000 On 10/10/2010 13:23, Garrett Cooper wrote: > > I'm not sure it would get resolved after this commit, but one > minor annoyance is that restarting the netif rc.d script purges all > gateways set, so I have to do and restart the routing rc.d script (if > my connectivity doesn't get whacked). I think there was something else > with natd and ipfw that I've run into in the past where I've restarted > those scripts and things weren't all puppydogs and rainbows on my > CURRENT systems. > > Thanks, > -Garrett Is that the dynamic routes only or also the static routes ? Either or if it would be any of the above it would be nice if these were kept if it was only a restart of the interface, but offhand nothing comes to mind that could prevent this from happening since the routes are acting according to when the interface becomes inactive then the route becomes meaningless. Maybe if the action of 'restart' to etc/rc.d/netif could also call etc/rc.d/routing with 'restart' if the configuration of the interface happens to match one of the recorded routes in rc.conf(5). Just a thought. Regards, -- jhell,v