From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Joo42-0004BN-M7 for garchives@archives.gentoo.org; Wed, 23 Apr 2008 23:07:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DBA14E06F3; Wed, 23 Apr 2008 23:07:44 +0000 (UTC) Received: from mail.isohunt.com (b01.ext.isohunt.com [208.71.112.51]) by pigeon.gentoo.org (Postfix) with ESMTP id D0151E06F3 for ; Wed, 23 Apr 2008 23:07:44 +0000 (UTC) Received: (qmail 8732 invoked from network); 23 Apr 2008 23:07:44 -0000 Received: from S010600022af11287.vc.shawcable.net (HELO curie.orbis-terrarum.net) (24.84.179.214) (smtp-auth username robbat2@isohunt.com, mechanism login) by mail.isohunt.com (qpsmtpd/0.33-dev on beta01) with (AES256-SHA encrypted) ESMTPSA; Wed, 23 Apr 2008 23:07:44 +0000 Received: (qmail 12034 invoked by uid 10000); 23 Apr 2008 16:01:01 -0700 Date: Wed, 23 Apr 2008 16:01:01 -0700 From: "Robin H. Johnson" To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] config_eth0 deprecated - new name? Message-ID: <20080423230101.GC17988@curie-int.orbis-terrarum.net> References: <200804231621.27930.roy@marples.name> <20080423204618.GB17988@curie-int.orbis-terrarum.net> <200804232204.39004.roy@marples.name> 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="zfZAIAilk/YNj2Pr" Content-Disposition: inline In-Reply-To: <200804232204.39004.roy@marples.name> User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: 8dcdbe4d-9f25-4282-8a92-024634e58c2d X-Archives-Hash: 73c7c1e57c32b0844f5267ca3439e336 --zfZAIAilk/YNj2Pr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 23, 2008 at 10:04:38PM +0100, Roy Marples wrote: > On Wednesday 23 April 2008 21:46:18 Robin H. Johnson wrote: > > On Wed, Apr 23, 2008 at 04:21:27PM +0100, Roy Marples wrote: > > > OK, it seems that hard lines in multipart configs seem to be an issue= , so > > > I'm doing this now. > > > > > > For a summary of why we're using hard lines you can read this thread > > > http://thread.gmane.org/gmane.linux.gentoo.devel/45756/focus=3D45765 > > > > Do you plan to reimplement parsing of the complete ip syntax for > > addresses and routes? >=20 > Not at all. If I did then we're back to using newlines. > Basically we need something like > ipaddrs=3Daddress1 address2 address3 > for addresses, and > routes=3Ddest gateway dest gateway dest gateway > or > routes=3Droute1 route2 route3 > route1=3Ddest gateway > route2=3Ddest gateway > route3=3Ddest gateway > for routes The problem in this is that you cannot set the properties for each address or route. Please don't take us back to the stoneage of writing the advanced networking configuration manually. As an example of an ip address line with properties: ${ext}.30/32 broadcast - scope host An an example of a route with properties: ${int}.192/27 dev bond0 mtu 1500 table internal scope link (my normal mtu on the internal link is 9k, but part of the subnet runs at 1500 for netbooting on dumb cards) Doing these in {pre,post}{up,down} means we basically end up reimplementing the baselayout1 array-based config manually in the blocks. I already do that for the ip_rule_runner block. > No, we won't support that. However, we will bring back ip ranges for the = last=20 > ocet like so > 1.2.3.4-10/24 I care about the address ranges far less than the additional properties. > After seeing that I take it you'ed vote for the BSD named routing style? I'm ambivalent about the naming scheme - I do care greatly about the easy of configuration for the properties. --=20 Robin Hugh Johnson Gentoo Linux Developer & Infra Guy E-Mail : robbat2@gentoo.org GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85 --zfZAIAilk/YNj2Pr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (GNU/Linux) Comment: Robbat2 @ Orbis-Terrarum Networks - The text below is a digital signature. If it doesn't make any sense to you, ignore it. iEYEARECAAYFAkgPv60ACgkQPpIsIjIzwiwb+QCgs5ZU98RiRd+6V+hAJDe5UJp2 UZEAoLe/imt39VudH0ty38SKVFf9C6/p =Ysm0 -----END PGP SIGNATURE----- --zfZAIAilk/YNj2Pr-- -- gentoo-dev@lists.gentoo.org mailing list