On 9/10/14, 6:10 AM, Andrey V. Elsukov wrote:
On 04.09.2014 18:16, Kurt Lidl wrote:
Greetings all:

I have a host that recently was upgraded from FreeBSD 9.1
to FreeBSD 9.3.  After the upgrade, the IPv6 aliases that
I was setting on vlan'd interfaces, no longer get set:

The section of my /etc/rc.conf, which worked under 9.1:

# inside network (gigabit connected)
vlans_bce1="16 17"
ifconfig_bce1_16_ipv6="inet6 accept_rtadv"
ifconfig_bce1_16_alias0="inet6 2001:470:e254:0010::4 prefixlen 64 alias"
ifconfig_bce1_17_ipv6="inet6 accept_rtadv"
ifconfig_bce1_17_alias0="inet6 2001:470:e254:0011::4 prefixlen 64 alias"

When I use the same configuration file under 9.3, I get the
vlan'd interfaces created, and they get an auto-assigned
IPv6 interface, but the aliases do not get assigned.

If I manually run:

ifconfig bce1.16 inet6 2001:470:e254:0010::4 prefixlen 64 alias
ifconfig bce1.17 inet6 2001:470:e254:0011::4 prefixlen 64 alias

Then the aliased addresses get assigned.  Did the syntax for
specifying aliases on vlan'd interfaces change subtly for 9.3 vs 9.1?

I did not see anything calling out this change in either the 9.2 or 9.3
release notes.


I can confirm this, please, fill a bug report.

This bug has already been fixed in stable/9, apparently:

r269028 | dteske | 2014-07-23 18:10:34 -0400 (Wed, 23 Jul 2014) | 7 lines

MFC r267812 (hrs): Fix ifname normalization. ifconfig_IF_alias{es,N} did not
work if ifname has any of [.-/+].

PR:             conf/191961
Spotted by:     jhay
MFC after:      3 days


Personally, given that this a regression of prior behavior,
I'd love to see it go into a patch release of 9.3.  Since its
not a security concern, I think this is unlikely to happen.

I have tested the patch in that revision (kindly send to me by
Hiroki Sato), and it resolves the issue I was seeing.


freebsd-current@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to