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 13793138200 for ; Sat, 24 Aug 2013 01:04:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 990B4E0D4A; Sat, 24 Aug 2013 01:04:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EEC97E0D5C for ; Sat, 24 Aug 2013 01:04:39 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0BFA633ECB7 for ; Sat, 24 Aug 2013 01:04:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id BC244E5461 for ; Sat, 24 Aug 2013 01:04:37 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1377306268.f0730199d43cd02e1b0a4b79707799bd377e1ae3.robbat2@OpenRC> Subject: [gentoo-commits] proj/netifrc:master commit in: / X-VCS-Repository: proj/netifrc X-VCS-Files: README TODO X-VCS-Directories: / X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: f0730199d43cd02e1b0a4b79707799bd377e1ae3 X-VCS-Branch: master Date: Sat, 24 Aug 2013 01:04:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 68fa14a4-3647-4b81-b33b-eaf3b31988c8 X-Archives-Hash: 4f82b1b8e246c68af4847b9620b6abca commit: f0730199d43cd02e1b0a4b79707799bd377e1ae3 Author: Robin H. Johnson gentoo org> AuthorDate: Sat Aug 24 01:04:28 2013 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Sat Aug 24 01:04:28 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/netifrc.git;a=commit;h=f0730199 Other files to have. Signed-off-by: Robin H. Johnson gentoo.org> --- README | 19 +++++++++++++++++++ TODO | 14 ++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/README b/README new file mode 100644 index 0000000..e7d8a94 --- /dev/null +++ b/README @@ -0,0 +1,19 @@ +netifrc README + +You should probably go and read the OpenRC README. + +netifrc is what was previously called 'oldnet' in OpenRC, and was the only +networking system in Baselayout 1.x. This system has been around a very long +time, at least as far back as September 2001 (that was the rc-scripts-1.1.5 +release). + +If you're interested in who contributed to this, please see the extensive +CREDITS file. + +Reporting Bugs +-------------- +Since Gentoo Linux is hosting OpenRC development, Bugs should go to +the Gentoo Bugzilla: + http://bugs.gentoo.org/ +They should be filed under the "Gentoo Hosted Projects" product and +the "netifrc" component. diff --git a/TODO b/TODO new file mode 100644 index 0000000..e19f27a --- /dev/null +++ b/TODO @@ -0,0 +1,14 @@ +- Review setting of bridge configuration on dynamic interface add +- _ifindex is not a reliable means of calculating metrics: + _ifindex is used for calculating metrics for new devices but has a major + problem: Since it's only the nth entry in /proc/net/dev + And devices may be removed from that file, and reordered, you won't always + get the same result. + If you do: + - add eth0 - _ifindex (eth0=0) + - add vlan1 - _ifindex (eth0=0,vlan1=1) + - add vlan2 - _ifindex (eth0=0,vlan1=1,vlan2=2) + - rem vlan1 - _ifindex (eth0=0,vlan2=1) + - add vlan3 - _ifindex (eth0=0,vlan2=1,vlan3=2) + Now your routing table has entries for both vlan2 and vlan3 with a metric of 2. +