From owner-freebsd-stable@FreeBSD.ORG Fri Dec 7 10:42:05 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 6AED88FE; Fri, 7 Dec 2012 10:42:05 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 051DC8FC08; Fri, 7 Dec 2012 10:42:04 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fo14so350625vcb.13 for ; Fri, 07 Dec 2012 02:42:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=X/3K/pDdN3V1+D3Nc2yb//sBFfydbyWOJPkY2uD6Y38=; b=EXZSqp3Xs6IiOS75nIa4RnDRZVKWgjnEKkOsnjGkJ6VEopHm/CdB0S3QoF02Rjcw0x YF1B6QiT3T9AwQ7rbI1JTidH4NpCsZ6fWFRT/32M7d6S99dqm4Sq96pHOWQC4uqCAvS9 Wol4ZOMHSUulZIcQU4Bue5iR4d8vaheXLpobZuRC8rkhqBbkXZsmApPT/IWNJMeFsUiR 4KFjpREhTTxCSOaDVGsGGNdF1mdqsqsd+zTu10fddslHdfm6tyKxkU17FzSb96cHqMwL C2eErr9BK3bFwoJToaiuRiU/INbgK8ioTnyijbFcvCWvRNB2TRQyO7EIY3oqfJswWuxN QK4g== MIME-Version: 1.0 Received: by 10.52.93.146 with SMTP id cu18mr3074092vdb.37.1354876923935; Fri, 07 Dec 2012 02:42:03 -0800 (PST) Received: by 10.58.209.163 with HTTP; Fri, 7 Dec 2012 02:42:03 -0800 (PST) Date: Fri, 7 Dec 2012 12:42:03 +0200 Message-ID: Subject: 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-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: Fri, 07 Dec 2012 10:42:05 -0000 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