Hello,
I have created a bridge on the HN,
auto vlan20
iface vlan20 inet manual
address 0.0.0.0
vlan_raw_device eth0
auto vlan80
iface vlan80 inet manual
address 0.0.0.0
vlan_raw_device eth0
auto vmbr0
iface vmbr0 inet static
address 10.176.112.254
netmask 255.255.255.0
bridge_ports vlan20 vlan80
bridge_stp off
bridge_fd 0
however upon reboot I am stuck with a kernel message saying
unregister_netdevice: waiting for vlan20 to become free. Usage count = 1
and reboot never gets completed.
vzctl = 3.0.23-1pve8
kernel = 2.6.24-10-pve
Any help will be appreciated.
PS: Please note also that the vlan scripts in debian + openvz + vzctl are broken and a patch is required
In order for my config to work I had to remove the link
/etc/network/if-up.d/vzifup-post
and replace it with the following script
-----------------------------------------------
#!/bin/sh
exec /usr/sbin/vzifup-post "$IFACE"
Thanks in advance
Regards
Harry
I have created a bridge on the HN,
auto vlan20
iface vlan20 inet manual
address 0.0.0.0
vlan_raw_device eth0
auto vlan80
iface vlan80 inet manual
address 0.0.0.0
vlan_raw_device eth0
auto vmbr0
iface vmbr0 inet static
address 10.176.112.254
netmask 255.255.255.0
bridge_ports vlan20 vlan80
bridge_stp off
bridge_fd 0
however upon reboot I am stuck with a kernel message saying
unregister_netdevice: waiting for vlan20 to become free. Usage count = 1
and reboot never gets completed.
vzctl = 3.0.23-1pve8
kernel = 2.6.24-10-pve
Any help will be appreciated.
PS: Please note also that the vlan scripts in debian + openvz + vzctl are broken and a patch is required
In order for my config to work I had to remove the link
/etc/network/if-up.d/vzifup-post
and replace it with the following script
-----------------------------------------------
#!/bin/sh
exec /usr/sbin/vzifup-post "$IFACE"
Thanks in advance
Regards
Harry