From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1ROzZM-000835-1T for garchives@archives.gentoo.org; Fri, 11 Nov 2011 22:27:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4112621C127; Fri, 11 Nov 2011 22:27:22 +0000 (UTC) Received: from mail-gy0-f181.google.com (mail-gy0-f181.google.com [209.85.160.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 6A90221C0CC for ; Fri, 11 Nov 2011 22:26:44 +0000 (UTC) Received: by gyd10 with SMTP id 10so4217573gyd.40 for ; Fri, 11 Nov 2011 14:26:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=JXKVLMjpZVqYLw2CFR0zHpW1ZurKPKFa/FKGMUrAQ8g=; b=VxSVOQhoyMz9vDpBMMqAAanFOQF3inAvZ2XfShv2NCpvhEoK3X5R2MInCEHkmjbW5O PMlxsMoMEh2211ck1sUOH8GBNgIoFAoyANVHohwFIn4SyizmVIETTJrBqomNrA6ZZQ6Z WDN2OnmHmoAeF0CVVuSi2otypXn4H90PrS0jE= Received: by 10.146.110.21 with SMTP id i21mr355476yac.26.1321050401994; Fri, 11 Nov 2011 14:26:41 -0800 (PST) Received: from linux1 (cpe-76-187-77-158.tx.res.rr.com. [76.187.77.158]) by mx.google.com with ESMTPS id n5sm19124986yhk.1.2011.11.11.14.26.40 (version=SSLv3 cipher=OTHER); Fri, 11 Nov 2011 14:26:41 -0800 (PST) Sender: William Hubbs Received: by linux1 (sSMTP sendmail emulation); Fri, 11 Nov 2011 16:26:39 -0600 Date: Fri, 11 Nov 2011 16:26:39 -0600 From: William Hubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] rfc: openrc: use iproute2 for all network handling in linux Message-ID: <20111111222639.GB32082@linux1> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20111111215344.GA31226@linux1> <4EBD9B47.6030008@gentoo.org> <35011513-F942-4A61-B340-6A100FD65E06@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="p4qYPpj5QlsIQJ0K" Content-Disposition: inline In-Reply-To: <35011513-F942-4A61-B340-6A100FD65E06@gentoo.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 0fc4c0d4-c83f-4835-9dce-4430a95c755a X-Archives-Hash: f5607e6f9315a7ea227c4819ea08e6ca --p4qYPpj5QlsIQJ0K Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Nov 11, 2011 at 04:10:50PM -0600, Matt Thode wrote: > I think that we should be using the new tools by now, it's been in development for the last ten years. There would have to be some sort of migration path for people to use though. If you have iproute2 installed, and you do not have a line like the following in your /etc/conf.d/net file: modules="!ifconfig" or modules_ifname="!ifconfig" you are already using iproute2 to configure your routes and static addresses, so the only thing that would need to change, and this doesn't have to happen now, is that you would have to change over to using cidr addresses,, for example: config_ethx="x.x.x.x/24" instead of config_ifname="x.x.x.x netmask 255.255.255.0" But, because of the way the network scripts are written, this is a separate issue from dropping support for ifconfig, so it could be handled with a migration path later. William --p4qYPpj5QlsIQJ0K Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEARECAAYFAk69oR8ACgkQblQW9DDEZTjhlwCeLJ/sW576CaxOG5E5/95w56m2 eRUAn0nK8/By1FXDMv6paoBrQCklvw/S =W5jP -----END PGP SIGNATURE----- --p4qYPpj5QlsIQJ0K--