From owner-freebsd-stable@FreeBSD.ORG Wed Dec 19 21:47:45 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B6D5BED6; Wed, 19 Dec 2012 21:47:45 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by mx1.freebsd.org (Postfix) with ESMTP id 1F0428FC0A; Wed, 19 Dec 2012 21:47:44 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id dr13so1169504wgb.13 for ; Wed, 19 Dec 2012 13:47:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=M0NCw9NwtMMTEMd9v4xwJR+cD6UVyoL5cW/Lz9QON68=; b=RB6pZFfAnn4O2RoyeFScg4xfuIj1HUkOmDoZf3t5g0sLZq3ytlT6soYAxk7Kj3taDi 3LYjSdYGuIfXXgu5YkfnmfLNrxNAdZqg4ib1x04x1M7seeS6QCriooe0U0VAO6nf685t aP7XIUvDswO07pawxtwgwbQp3MBlZs6QSN8Bg7pVDAMlnn76m5T1LO2rt+AfgIsojm1g h1k4BCx/g/zSEtyXay0otVx5fsqyz0nTAqMVY7coyN6u/U58RvwkBBDHG+cSspC4r9bf 3T61oxxN1wqp+cxaHojg72+loJmzFftejkLPFUcbuox1GIMZpyvJk2rhjnhUS9RcYyPd vJ5A== MIME-Version: 1.0 Received: by 10.180.81.39 with SMTP id w7mr13714740wix.15.1355953657738; Wed, 19 Dec 2012 13:47:37 -0800 (PST) Received: by 10.216.172.197 with HTTP; Wed, 19 Dec 2012 13:47:37 -0800 (PST) In-Reply-To: <50D1C553.9060100@wasikowski.net> References: <50D1C553.9060100@wasikowski.net> Date: Wed, 19 Dec 2012 23:47:37 +0200 Message-ID: Subject: Re: ipv6_addrs_IF aliases in rc.conf(5) From: Kimmo Paasiala To: =?UTF-8?Q?=C5=81ukasz_W=C4=85sikowski?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 21:47:45 -0000 On Wed, Dec 19, 2012 at 3:46 PM, =C5=81ukasz W=C4=85sikowski wrote: > W dniu 2012-12-19 07:14, Kimmo Paasiala pisze: > >>> I wrote a small patch for /etc/network.subr to add support for >>> ipv6_addrs_IF aliases in rc.conf(5) to match the already existing >>> ipv4_addrs_IF aliases for ipv4 addresses. With this patch the ipv6 >>> aliases can be written like: > > [...] > >> Did anyone try my patch? I thought it would be nice to have the >> ipv6_addrs_IF syntax supported to complement the existing >> ipv4_addrs_IF alias syntax. > > Can I use range syntax in it like in ipv4? I mean something like: > > ipv4_addrs_lagg0=3D"x.x.x.10-30/22" > > That feature would be very nice to have for ipv6. > > -- > best regards, > Lukasz Wasikowski I have to admit I overlooked the possibility to use ranges like that. It doesn't look too hard to add that feature as well for ipv6 aliases using the existing code for ipv4 aliases. I'll prepare a new patch and update the PR when I have it working. -Kimmo