Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2013 20:33:54 +0200
From:      Michael Grimm <trashcan@odo.in-berlin.de>
To:        <freebsd-stable@freebsd.org>
Subject:   Re: ipv6_addrs_IF aliases in rc.conf(5)
Message-ID:  <EB3C4472-02BF-4415-BB2D-B4929063D796@odo.in-berlin.de>
In-Reply-To: <20130712.160358.1330135778606339435.hrs@allbsd.org>
References:  <CAN6yY1sRSWEMj2_bJX_DRZMxgk4tf50_ODe8O8i2d6wTrGW3ug@mail.gmail.com> <20130712.135621.1408565802386368060.hrs@allbsd.org> <4c07217dc9200841dfd065a6d52849eb@mx1.enfer-du-nord.net> <20130712.160358.1330135778606339435.hrs@allbsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 12.07.2013, at 09:03, Hiroki Sato <hrs@FreeBSD.org> wrote:

> Please let me know if the existing configurations and/or the new
> formats do not work.

First of all: great work! It is that much easier to deal with aliases, now.

There is only one minor issue, if at all:

rc.conf:
| ifconfig_em0_ipv6="inet6 dead:beef:1111:2222::1 prefixlen 56"
| ifconfig_em0_aliases="\
|         inet6 dead:beef:1111:2222::2-3 prefixlen 56 \
|         inet6 dead:beef:1111:2222::4 prefixlen 56 \
|         inet6 dead:beef:1111:2222::5-6/56"

ifconfig:
|	inet6 dead:beef:1111:2222::1 prefixlen 56 
|	inet6 dead:beef:1111:2222::2 prefixlen 64 
|	inet6 dead:beef:1111:2222::3 prefixlen 64 
|	inet6 dead:beef:1111:2222::4 prefixlen 56 
|	inet6 dead:beef:1111:2222::5 prefixlen 56 
|	inet6 dead:beef:1111:2222::6 prefixlen 56 

Any combination of a range definition (2-3) *and* "prefixlen 56" is ignored
whereas a range definition (5-6) *and* "/56" is interpreted as wanted.

Well, that combination of a range and "prefix" isn't documented, thus I am
not sure if that's an issue or a feature?

With kind regards,
Michael




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EB3C4472-02BF-4415-BB2D-B4929063D796>