|
From: Olivier T. <nan...@na...> - 2013-08-21 10:33:16
|
* Serge Leschinsky (ser...@gm...) wrote:
>
> well, to avoid the image rebuilding, please try to replace the
> appropriate sections in /etc/init.d/network
[...]
>
> works for me (c)
In my case (1.6.3 x86_64) seting up vlan interface with initscript
works, it's just I cannot setup vlan interface using vconfig by hand:
root@Devil:~ # cat /etc/sysconfig/nic/ifcfg-vlan650
# the base interface (see ifcfg-eth1.sample for configuration)
DEVICE=bond0
ONBOOT=yes
DHCP=no
#DHCP=yes
#DHCP=server
### note: 0 < vlanid < 4095
VLANID=650
[...]
root@Devil:~ # ifconfig |grep vlan
vlan650 Link encap:Ethernet HWaddr f0:1f:af:ce:24:7c
The initscript seems to be already patched:
root@Devil:~ # grep "ip.*vlan" /etc/init.d/network
ip link add link $PHYDEV name $DEVICE type vlan id $VLANID
ip link del $DEVICE type vlan id $VLANID
Just think to fix vconfig binary for next release :)
Thanks for the quick answer.
Regards.
--
Olivier Thauvin
CNRS - LATMOS
♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖
|