From owner-freebsd-questions@freebsd.org Sat Sep 23 18:53:55 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1365DE0CF6C for ; Sat, 23 Sep 2017 18:53:55 +0000 (UTC) (envelope-from citrin+bsd@citrin.ru) Received: from hz.citrin.ru (hz.citrin.ru [IPv6:2a01:4f8:d16:10c3::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CFBA17FECA for ; Sat, 23 Sep 2017 18:53:54 +0000 (UTC) (envelope-from citrin+bsd@citrin.ru) Received: from x220.lan (unknown [IPv6:2601:18a:c680:9888:c155:b835:ab62:c71a]) by hz.citrin.ru (Postfix) with ESMTPSA id C81E72C177E for ; Sat, 23 Sep 2017 18:53:51 +0000 (UTC) Subject: Re: Using IP aliases on a VLAN interface To: freebsd-questions@freebsd.org References: From: Anton Yuzhaninov Message-ID: Date: Sat, 23 Sep 2017 14:53:50 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrin.ru; s=s0; t=1506192832; bh=EHo7kmNuP/fafh8b+fewi2wTDcflDNQVl/bN+B8Iccw=; h=Subject:To:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=zJ6KrdDur1FZ/FNGnUM7t4Pcr70WvHTR8JD3k3j6VNQ5OUo1xl1u1HwRVjuW+qhaAmQ1Frz0P0YseiiOB2jwfJioy9CeZJoz4wRJDJuATZyOSjZkXub29WGI3QBYAUlj0+V6e98s/5yamPvSS7U1C3i6t8RWtCE6tjdMFnXAXXk= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Sep 2017 18:53:55 -0000 On 09/22/17 03:18, freebsd@jornane.me wrote: > ifconfig_vlan42="inet6 2001:db8::42 prefixlen 64 mtu 1500" > ifconfig_vlan42_aliases="\ > inet6 fd00::dead:beef prefixlen 64 \ > inet6 2001:db8::babe:cafe prefixlen 128 \ > " You can write: ifconfig_vlan42_alias0="inet6 fd00::dead:beef prefixlen 64" ifconfig_vlan42_alias1="inet6 2001:db8::babe:cafe prefixlen 128" instead.