Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 487624

Summary: sys-apps/openrc: please add support startup vlan w/o need NIC restart
Product: Gentoo Hosted Projects Reporter: Alexandr Tiurin <alexanderyt>
Component: netifrcAssignee: netifrc Team <netifrc>
Status: UNCONFIRMED ---    
Severity: normal CC: whissi
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexandr Tiurin 2013-10-11 11:32:37 UTC
Please add support startup vlan w/o need NIC restart.

Reproducible: Always

Steps to Reproduce:
1. Add to conf.d/net
config_eth0="dhcp"
2. # ./net.eth0 start

3. Add to conf.d/net
vlans_eth0="777"
eth0_vlan777_name="testvlan"
config_testvlan="null"

4. # ln -s net.lo net.testvlan
5. ./net.testvlan start



Actual Results:  
 * Caching service dependencies ...     [ ok ]
 * Bringing up interface testvlan
 *   ERROR: interface testvlan does not exist
 *   Ensure that you have loaded the correct kernel module for your hardware
 * ERROR: net.testvlan failed to start


Expected Results:  
Workaround
# ip link add link eth0 name testvlan type vlan id 777
# ./net.testvlan start
 * Bringing up interface testvlan          [ ok ]

But IMHO this is ugly.