When configuring multiple VLANs on one interface via /etc/conf.d/net, only the first VLAN on an interface is configured. The rest is not set up at all. Example config: ------------------------------ modules=( "iproute2" ) config_eth1=( "192.168.100.1 netmask 255.255.255.0" ) vlans_eth1=( "15" "25" ) config_eth1_15=( "192.168.115.1 netmask 255.255.255.0" ) config_eth1_25=( "192.168.125.1 netmask 255.255.255.0" ) ------------------------------ Now only eth1.15 will be configured when net.eth1 is started. If the VLANs defined in vlans_eth1 is "flipped around", saying "25" "15" ... only eth1.25 will be configured. Reproducible: Always Actual Results: Only the first mentioned VLAN in vlans_{eth} is configured. Expected Results: All VLANs is configured. # equery l baselayout openrc iproute2 * Searching for baselayout ... [IP-] [ ] sys-apps/baselayout-2.0.2:0 * Searching for openrc ... [IP-] [ ] sys-apps/openrc-0.8.3-r1:0 * Searching for iproute2 ... [IP-] [ ] sys-apps/iproute2-2.6.35-r2:0
You are using bash arrays in your configuration, and OpenRC does not support this. Please make your configuration look like the following: modules="iproute2" config_eth1="192.168.100.1/24" vlans_eth1="15 25" config_eth1_15="192.168.115.1/24" config_eth1_25="192.168.125.1/24" I am also recommending using cidr notation for netmasks instead of "netmask 255.255.255.0" since you are using iproute2 to configure your interfaces and that is the format iproute2 uses. Please feel free to reopen this bug if that does not solve your issue.
Confirmed. I changed the config like this: ---------------------------------------- modules="iproute2" config_eth1="192.168.100.1/24" vlans_eth1="15 25" config_eth1_15="192.168.115.1/24" config_eth1_25="192.168.125.1/24" ---------------------------------------- This solved the issue. I'm sorry I didn't read the documentation carefully enough after moving to baselayout-2. The files in /usr/share/doc/openrc-*/ provided the info I was missing.