From owner-freebsd-current@FreeBSD.ORG Wed Dec 19 06:14:19 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 25645A37; Wed, 19 Dec 2012 06:14:19 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-we0-f172.google.com (mail-we0-f172.google.com [74.125.82.172]) by mx1.freebsd.org (Postfix) with ESMTP id 887928FC14; Wed, 19 Dec 2012 06:14:17 +0000 (UTC) Received: by mail-we0-f172.google.com with SMTP id r3so764305wey.31 for ; Tue, 18 Dec 2012 22:14:16 -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 :content-type; bh=4zJdCVhNfOK0nkvkd/9Oy212ZudWEmYIoniMXRwxWwk=; b=fkkFQfpLzKpoMILAhZlKzqD1xSDJk3ekiGPHQNEt3CDT03uglcz7pLxldMgLP/B1i0 WodUotHuRyroxqiZdexu/XanQW6aof5PvxW6yzgsoR7SpXDoHvxbk2B/AMZfs8CzyV7t YwuwCFoGQRO3Q0qyttRlYUilcftrUp4dj3j+EhJU6l8cU4NfnTLYnIf134/mh+iTxDg1 uAFk4BPP8wkryrGfthjfi98MkAthi8yJZPufXRXCr0lmfseQ0r0meReUfX3MKOWRLi92 Y44WpopsFKJdXdkN1LVEgjapzHwF2dWQlY0/m5zdKxY6YYjeZggyfgsgSRayF3Qiyeav 7QjQ== MIME-Version: 1.0 Received: by 10.180.103.136 with SMTP id fw8mr1806777wib.27.1355897656369; Tue, 18 Dec 2012 22:14:16 -0800 (PST) Received: by 10.216.172.197 with HTTP; Tue, 18 Dec 2012 22:14:16 -0800 (PST) In-Reply-To: References: Date: Wed, 19 Dec 2012 08:14:16 +0200 Message-ID: Subject: Re: ipv6_addrs_IF aliases in rc.conf(5) From: Kimmo Paasiala To: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 06:14:19 -0000 On Fri, Dec 7, 2012 at 12:42 PM, Kimmo Paasiala wrote: > Hello, > > 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: > > ipv6_addrs_re0="2001:db8:1111:2222::1/64 2001:db8:1111:2222::2/64" > > Only this syntax is supported, it's not possible to use the "prefixlen > nn" syntax in the list. > > The patch is against a recent 9-STABLE, last changed rev of > network.subr on my SVN checkout is r242187. I don't have a CURRENT > system to test if it applies to CURRENT as well. > > The patch can be found attached to a PR I sent: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=174225 > > > I wrote this patch inspired by a question on the FreeBSD forums: > > http://forums.freebsd.org/showthread.php?t=36136 > > Please test and report if it works for you :) > > > Regards, > Kimmo Paasiala Hello, 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. -Kimmo