When creating a VLAN device using the following in /etc/conf.d/net, the net.eth0 init script fails due to the 'mtu_vlan4="1496"' option. vlans_eth0="4" config_eth0="10.0.0.1/24" vlan4_name="vlan4" config_vlan4="10.0.1.1/24" mtu_vlan4="1496" * Bringing up interface eth0 * 10.0.0.1/24 ... [ ok ] * Waiting for IPv6 addresses ... [ ok ] * Adding VLAN 4 to eth0 * Error: either "dev" is duplicate, or "1496" is a garbage. [ !! ] If the mtu line is removed, then the interface and VLAN are created and started, but the mtu needs setting seoarately in a postup command. If the interface is not renamed, as in the following configuration, then the interfaces start fine and the mtu is set correctly, but the interface is not named as I would like. vlans_eth0="4" config_eth0="10.0.0.1/24" config_eth0_4="10.0.1.1/24" mtu_eth0_4="1496" I have also tried the following, and the interfaces start without errors but the mtu is not set to 1496. vlans_eth0="4" config_eth0="10.0.0.1/24" vlan4_name="vlan4" config_vlan4="10.0.1.1/24" mtu_eth0_4="1496"
Fixed in git, commit ac2391e