Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2012 12:17:36 GMT
From:      Mark Felder <feld@feld.me>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/172787: FreeBSD 9.x broken alias syntax on vlan interfaces
Message-ID:  <201210161217.q9GCHae6016167@red.freebsd.org>
Resent-Message-ID: <201210161220.q9GCK0Gg058113@freefall.freebsd.org>

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

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210161217.q9GCHae6016167>