Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2014 00:10:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-rc@FreeBSD.org
Subject:   [Bug 191252] [rc.conf] [vlan] [carp] broken alias syntax on vlan interfaces
Message-ID:  <bug-191252-4805-lNhH4uOoHe@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191252-4805@https.bugs.freebsd.org/bugzilla/>
References:  <bug-191252-4805@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191252

agifford@infowest.com changed:

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

--- Comment #2 from agifford@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191252-4805-lNhH4uOoHe>