From owner-freebsd-current@FreeBSD.ORG Fri Jul 12 07:04:25 2013 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DFDDA698; Fri, 12 Jul 2013 07:04:25 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper.allbsd.org [IPv6:2001:2f0:104:e001::32]) by mx1.freebsd.org (Postfix) with ESMTP id 3E54F1FB0; Fri, 12 Jul 2013 07:04:25 +0000 (UTC) Received: from alph.d.allbsd.org (p2049-ipbf1102funabasi.chiba.ocn.ne.jp [122.26.101.49]) (authenticated bits=128) by mail.allbsd.org (8.14.5/8.14.5) with ESMTP id r6C749br083292 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 12 Jul 2013 16:04:20 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.d.allbsd.org (8.14.5/8.14.5) with ESMTP id r6C7490M052950; Fri, 12 Jul 2013 16:04:09 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Fri, 12 Jul 2013 16:03:58 +0900 (JST) Message-Id: <20130712.160358.1330135778606339435.hrs@allbsd.org> To: trashcan@odo.in-berlin.de Subject: Re: ipv6_addrs_IF aliases in rc.conf(5) From: Hiroki Sato In-Reply-To: <4c07217dc9200841dfd065a6d52849eb@mx1.enfer-du-nord.net> <201306200229.r5K2TnfR085621@svn.freebsd.org> References: <20130712.135621.1408565802386368060.hrs@allbsd.org> <4c07217dc9200841dfd065a6d52849eb@mx1.enfer-du-nord.net> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.5 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Fri_Jul_12_16_03_58_2013_117)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.4 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (mail.allbsd.org [133.31.130.32]); Fri, 12 Jul 2013 16:04:20 +0900 (JST) X-Spam-Status: No, score=-89.3 required=13.0 tests=CONTENT_TYPE_PRESENT, DIRECTOCNDYN,DYN_PBL,RCVD_IN_PBL,RCVD_IN_RP_RNBL,SPF_SOFTFAIL, USER_IN_WHITELIST autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on gatekeeper.allbsd.org Cc: freebsd-current@FreeBSD.org, freebsd-stable@FreeBSD.org 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: Fri, 12 Jul 2013 07:04:25 -0000 ----Security_Multipart(Fri_Jul_12_16_03_58_2013_117)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Michael Grimm wrote in <4c07217dc9200841dfd065a6d52849eb@mx1.enfer-du-nord.net>: tr> On 2013-07-12 6:56, Hiroki Sato wrote: tr> > Kevin Oberman wrote tr> > in : tr> > rk> On Wed, Jul 10, 2013 at 4:46 AM, Mark Felder wrote: tr> > rk> tr> > rk> > On Wed, 10 Jul 2013 06:44:12 -0500, Michael Grimm < tr> > rk> > trashcan@odo.in-berlin.de> wrote: tr> > rk> > tr> > rk> > Will that patch make it into 9.2? If I am not mistaken, that patch isn't tr> > rk> >> in stable yet. tr> > rk> >> tr> > rk> > tr> > rk> > I would also like to see this patch hit 9.x sooner than later. It's so tr> > rk> > painful when someone forgets to fix the alias numbering on servers with tr> > rk> > many, many IPv4 and IPv6 addresses... tr> > rk> > tr> > rk> tr> > rk> Please, please, please, please, ...! tr> > rk> tr> > rk> Freeze is only two days away, so time for 9.2 is almost over and I can see tr> > rk> no good reason NOT to get this done. tr> > r252015 was merged to stable/9 today. tr> tr> Thanks! This is highly appreciated. A first glance at network.subr tells me that tr> much more has been modified/simplified regarding alias definitions, great. Please let me know if the existing configurations and/or the new formats do not work. The following is a summary of the supported rc.conf variables, FYI: Hiroki Sato wrote in <201306200229.r5K2TnfR085621@svn.freebsd.org>: hr> A summary of the supported ifconfig_* variables is as follows: hr> hr> # IPv4 configuration. hr> ifconfig_em0="inet 192.168.0.1" hr> # IPv6 configuration. hr> ifconfig_em0_ipv6="inet6 2001:db8::1/64" hr> # IPv4 address range spec. Now deprecated. hr> ipv4_addr_em0="10.2.1.1-10" hr> # IPv6 alias. hr> ifconfig_em0_alias0="inet6 2001:db8:5::1 prefixlen 70" hr> # IPv4 alias. hr> ifconfig_em0_alias1="inet 10.2.2.1/24" hr> # IPv4 alias with range spec w/o AF keyword (backward compat). hr> ifconfig_em0_alias2="10.3.1.1-10/32" hr> # IPv6 alias with range spec. hr> ifconfig_em0_alias3="inet6 2001:db8:20-2f::1/64" hr> # ifconfig_IF_aliases is just like ifconfig_IF_aliasN. hr> ifconfig_em0_aliases="inet 10.3.3.201-204/24 inet6 2001:db8:210-213::1/64 inet 10.1.1.1/24" hr> # IPv6 alias (backward compat) hr> ipv6_ifconfig_em0_alias0="inet6 2001:db8:f::1/64" hr> # IPv6 alias w/o AF keyword (backward compat) hr> ipv6_ifconfig_em0_alias1="2001:db8:f:1::1/64" hr> # IPv6 prefix. hr> ipv6_prefix_em0="2001:db8::/64" -- Hiroki ----Security_Multipart(Fri_Jul_12_16_03_58_2013_117)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iEYEABECAAYFAlHfql4ACgkQTyzT2CeTzy3INwCeKjaEbDXoDCva3qwaYQu0wCVR aBUAn23bflmEp/UV4CqMXFyPs5d8sucN =VSMm -----END PGP SIGNATURE----- ----Security_Multipart(Fri_Jul_12_16_03_58_2013_117)----