From owner-freebsd-stable@FreeBSD.ORG Tue Jul 16 12:21:35 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CA418F4B; Tue, 16 Jul 2013 12:21:35 +0000 (UTC) (envelope-from lukasz@wasikowski.net) Received: from mail.wasikowski.net (mail.wasikowski.net [91.204.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id 85CBC231; Tue, 16 Jul 2013 12:21:35 +0000 (UTC) Received: from mail.wasikowski.net (mail.wasikowski.net [IPv6:2001:6a0:1cb::b]) by mail.wasikowski.net (Postfix) with ESMTP id C405D2CF8; Tue, 16 Jul 2013 14:21:27 +0200 (CEST) X-Virus-Scanned: amavisd-new at wasikowski.net Received: from mail.wasikowski.net ([91.204.91.44]) by mail.wasikowski.net (scan.wasikowski.net [91.204.91.44]) (amavisd-new, port 10026) with ESMTP id KdNsAiNrDwfk; Tue, 16 Jul 2013 14:21:27 +0200 (CEST) Received: from [192.168.138.150] (83-144-115-210.static.chello.pl [83.144.115.210]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.wasikowski.net (Postfix) with ESMTPSA id 713B62CF5; Tue, 16 Jul 2013 14:21:27 +0200 (CEST) Message-ID: <51E53AC7.1040307@wasikowski.net> Date: Tue, 16 Jul 2013 14:21:27 +0200 From: =?UTF-8?B?xYF1a2FzeiBXxIVzaWtvd3NraQ==?= User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Mark Felder Subject: Re: ipv6_addrs_IF aliases in rc.conf(5) References: <20130712.135621.1408565802386368060.hrs@allbsd.org> <4c07217dc9200841dfd065a6d52849eb@mx1.enfer-du-nord.net> <20130712.160358.1330135778606339435.hrs@allbsd.org> <51E52AA8.3010109@wasikowski.net> <1373974161.29269.140661256227369.575EA8E4@webmail.messagingengine.com> In-Reply-To: <1373974161.29269.140661256227369.575EA8E4@webmail.messagingengine.com> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: 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: Tue, 16 Jul 2013 12:21:35 -0000 W dniu 2013-07-16 13:29, Mark Felder pisze: > On Tue, Jul 16, 2013, at 6:12, Łukasz Wąsikowski wrote: >> >> What is the current, non deprecated way, to configure IP addresses in >> rc.conf? Let's say for a dual stack, multi IP box I need to set: >> >> 10.0.0.66/28 and 10.0.0.67-78 as aliases and >> fdda:5cc1:23:4::1/48 and fdda:5cc1:23:4::2-f as aliases >> >> What is the best way to accomplish it? >> > > > ipv4_addrs_em0="10.0.0.66-78/28" > > ipv6 syntax depends on if you're using 8.x or 9.1-RELEASE, but you're > going to have to do all the aliases manually. I'm using ipv4_addrs_em0 now (and ipv6_addrs_em0 with Kimmo Paasiala's patch), but Hiroki Sato wrote: hr> # IPv4 address range spec. Now deprecated. hr> ipv4_addr_em0="10.2.1.1-10" So I'm a little confused now :) If I'd use post r252015 system then would this be better way? ifconfig_em0_aliases="inet 10.0.0.66/28 inet 10.0.0.67-78 inet6 fdda:5cc1:23:4::1/48 inet6 fdda:5cc1:23:4::2-f" -- best regards, Lukasz Wasikowski