From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7691F13851E for ; Thu, 17 Jan 2013 22:26:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C49E21C03B; Thu, 17 Jan 2013 22:25:56 +0000 (UTC) Received: from mail-oa0-f49.google.com (mail-oa0-f49.google.com [209.85.219.49]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 86B3621C029 for ; Thu, 17 Jan 2013 22:25:55 +0000 (UTC) Received: by mail-oa0-f49.google.com with SMTP id l10so3266894oag.36 for ; Thu, 17 Jan 2013 14:25:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=Yhn0pwpr3gM0YTjax6ti4QsKHwiPrGFnhLug7dNv2CQ=; b=TBBk/c0okMW3qkIib8rlZBw70wiUwdzNrGbZY2dSgZX680LAT9nxxAH0PByzY2qnQi 6Sz/MCV6J7ANWJU4cyvAQxU7sPs/3tpqflLVg4Hsd5rr0bPzEtd/qpQ4AnhEtF3WgRvm Gx/Bj2f9o0JkDOmmMINYXOS+L4QzYttrdNXk8mM6RJ2qe5ulaWlv9+vSTasccmqSJuPH zD+vmBVckwaZuFtZdmt3uZ8nvxfOQsaPm55uMW4ixeddnfiwCWwWnDV5gNpnGYEF2ZMm JHezIl8R7fu+jRx5AivAEhDEwasQvP9k+ychQOUj1kyNkOErcaTkQMGRDdbyVmxdKzAv FIpA== X-Received: by 10.60.8.199 with SMTP id t7mr5167068oea.26.1358461554724; Thu, 17 Jan 2013 14:25:54 -0800 (PST) Received: from linux1 (cpe-76-187-88-199.tx.res.rr.com. [76.187.88.199]) by mx.google.com with ESMTPS id vs4sm2059409obb.14.2013.01.17.14.25.51 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 17 Jan 2013 14:25:53 -0800 (PST) Sender: William Hubbs Received: by linux1 (sSMTP sendmail emulation); Thu, 17 Jan 2013 16:25:51 -0600 Date: Thu, 17 Jan 2013 16:25:51 -0600 From: William Hubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] call for testers: udev predictable network interface names Message-ID: <20130117222551.GA16118@linux1> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20130109221310.GA1749@linux1> <50F51E69.8020507@gentoo.org> <50F560A3.9040503@gentoo.org> <20130115185856.GA22785@kroah.com> <20130116151914.GA90907@kaini.schwarzvogel.de> <20130117164806.22893.qmail@stuge.se> <20130117184438.GA57464@kaini.schwarzvogel.de> 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="rwEMma7ioTxnRzrJ" Content-Disposition: inline In-Reply-To: <20130117184438.GA57464@kaini.schwarzvogel.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 3a6b5b60-2aa0-4cdc-9a5e-b6c2754071a1 X-Archives-Hash: eb4b2edb16d744b5b03cafebadfc9591 --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 17, 2013 at 07:44:39PM +0100, Tobias Klausmann wrote: > Hi!=20 >=20 > On Thu, 17 Jan 2013, Peter Stuge wrote: > > Tobias Klausmann wrote: > > > It has been rather nifty that if I walk up to a random machine > > > with exactly one NIC (that I've been asked to examine/fix), I > > > _know_ that there will be eth0 and only that. > >=20 > > Only as long as that system hasn't seen *another* NIC first, if it > > has persistent interface name udev rules. >=20 > I was talking about strictly kernel order vs. predictable-net. > Persistent-net has VM-related downsides as pointed out in the > udev page about the whole thing. The problem is the kernel names are not dependable. If you have one network card right now, sure, it will be eth0. But, suppose you buy another network card and plug it into the system. Now you have no way to know that eth0 will refer to the card you think it does. With the predictable names, on my system for example, I know that enp1s5 will always refer to the same nic, even if I put a new one in the box. William --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlD4em8ACgkQblQW9DDEZTiiRwCfQEwSlUekKl0WhSWcaphQK3Ls Rr8AoKZw/Ot1hHUuWAx1PadjNL+hKD+g =NYUo -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ--