misc/172787: FreeBSD 9.x broken alias syntax on vlan interfaces
Mark Felder
feld at feld.me
Tue Oct 16 12:20:01 UTC 2012
>Number: 172787
>Category: misc
>Synopsis: FreeBSD 9.x broken alias syntax on vlan interfaces
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 16 12:20:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Mark Felder
>Release: 9.0-RELEASE
>Organization:
>Environment:
>Description:
Old rc.conf syntax that seems to create all our interfaces but can't handle aliases:
ifconfig_em0="UP"
cloned_interfaces="vlan5"
ifconfig_vlan5="inet 192.168.5.10/24 vlan 5 vlandev em0" # works
ifconfig_vlan5_alias0="inet 192.168.5.11 alias" # does not work
ifconfig_vlan5_alias1="inet 192.168.5.12 alias vlan 5 vlandev em0" # does not work
ifconfig_vlan5_ipv6="inet6 2607:XXXX:100:111::18/64" # does not work (IP censored)
Newer rc.conf syntax that does work:
ifconfig_em0="UP"
vlans_em0="vlan5"
create_args_vlan5="vlan 5"
ifconfig_vlan5="inet 192.168.5.10/24 vlan 5 vlandev em0" # works
ifconfig_vlan5_alias0="inet 192.168.5.11 alias" # works
ifconfig_vlan5_ipv6="inet6 2607:XXXX:100:111::18/64" # works (IP censored)
ifconfig_vlan5_alias1="inet6 2607:XXXX:100:111::19/64" # also works
Should the older syntax work at all? I believe it did somewhere on older releases but I can't be certain.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list