[Bug 191252] [rc.conf] [vlan] [carp] broken alias syntax on vlan interfaces

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 24 00:10:43 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191252

agifford at infowest.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |agifford at infowest.com

--- Comment #2 from agifford at infowest.com ---
I can confirm this same problem with 9.3-RELEASE after upgrading from 9.2.

...
ifconfig_em0="up"                  ## works
vlan_em0="13 202"                  ## works
ifconfig_em0_13="inet 10.0.0.5/24" ## works
ifconfig_em0_13_aliases="inet 10.0.0.6/32 inet 10.0.0.12/32" ## FAILS miserable
...

Alternatively, old-style:
...
ifconfig_em0_13_alias0="inet 10.0.0.6/32"  ## FAILS
ifconfig_em0_13_alias1="inet 10.0.0.12/32" ## FAILS
..

My WORK-AROUND for this BUG in the rc scripts was to resort to this:
ifconfig_em0="up"
vlan_em0="em0vlan13 em0vlan202"
create_args_em0vlan13="vlan 13"
create_args_em0vlan202="vlan 202"
ifconfig_em0vlan13="inet 10.0.0.5/24"
ifconfig_em0vlan13_aliases="inet 10.0.0.6/32 inet 10.0.0.12/32" ## WORKS

So I'm betting it's that pesky dot-translated-to-underscore somewhere in the rc
network script functions is biting the em0.13 interface syntax when it gets
translated into em0_13 for the purposes of alias variables.

Sincerely,
Aaron Gifford

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-rc mailing list