On 20.07.2013, at 16:46, Hiroki Sato <h...@freebsd.org> wrote: > Hiroki Sato <h...@freebsd.org> wrote in > <20130718.123323.1730389945845032580....@allbsd.org>:
> hr> Michael Grimm <trash...@odo.in-berlin.de> wrote > hr> in <eb3c4472-02bf-4415-bb2d-b4929063d...@odo.in-berlin.de>: > hr> > hr> tr> On 12.07.2013, at 09:03, Hiroki Sato <h...@freebsd.org> wrote: > hr> tr> > hr> tr> > Please let me know if the existing configurations and/or the new > hr> tr> > formats do not work. > hr> tr> > hr> tr> First of all: great work! It is that much easier to deal with > aliases, now. > hr> tr> > hr> tr> There is only one minor issue, if at all: > hr> tr> > hr> tr> rc.conf: > hr> tr> | ifconfig_em0_ipv6="inet6 dead:beef:1111:2222::1 prefixlen 56" > hr> tr> | ifconfig_em0_aliases="\ > hr> tr> | inet6 dead:beef:1111:2222::2-3 prefixlen 56 \ > hr> tr> | inet6 dead:beef:1111:2222::4 prefixlen 56 \ > hr> tr> | inet6 dead:beef:1111:2222::5-6/56" > hr> tr> > hr> tr> ifconfig: > hr> tr> | inet6 dead:beef:1111:2222::1 prefixlen 56 > hr> tr> | inet6 dead:beef:1111:2222::2 prefixlen 64 > hr> tr> | inet6 dead:beef:1111:2222::3 prefixlen 64 > hr> tr> | inet6 dead:beef:1111:2222::4 prefixlen 56 > hr> tr> | inet6 dead:beef:1111:2222::5 prefixlen 56 > hr> tr> | inet6 dead:beef:1111:2222::6 prefixlen 56 > hr> tr> > hr> tr> Any combination of a range definition (2-3) *and* "prefixlen 56"is > ignored > hr> tr> whereas a range definition (5-6) *and* "/56" is interpreted as wanted. > hr> tr> > hr> tr> Well, that combination of a range and "prefix" isn't documented, thus > I am > hr> tr> not sure if that's an issue or a feature? > hr> > hr> It seems a bug. Thank you for your report. I am investigating it now. > > Can you test the attached patch? The old version (in stable/9 now) > does not support "address range spec + options" properly and ignore > the options part. > > The attached patch accepts options and treats "netmask" for inet and > "prefixlen" in inet6 in a reasonable way so that the specified > options do not conflict with the default /NN values. I can confirm that your patch is working for my examples used before. Now, a range definition and "prefixlen 56" is recognized properly: ifconfig: | inet6 dead:beef:1111:2222::2 prefixlen 56 | inet6 dead:beef:1111:2222::3 prefixlen 56 | inet6 dead:beef:1111:2222::4 prefixlen 56 | inet6 dead:beef:1111:2222::5 prefixlen 56 | inet6 dead:beef:1111:2222::6 prefixlen 56 Thanks and with kind regards, Michael _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"