problem with kernel 2.6.24-11-pve+bonding+vlan

screenie

Active Member
Jul 21, 2009
157
7
38
looks like there is a problem supporting vlans on bonding devices with kernel version 2.6.24-11-pve which is working with kernel 2.6.32-1-pve

boot error message:
vlan_check_real_dev: VLANs not supported on bond0

is there a patch for the 2.6.24 availiable to get this working?
because 2.6.32 has no openvz support yet...

thx
 
seems that is not used very often....so i need to install temporary the kernel from the backports repository until openvz is in the latest pve-kernel....

screenie
 
Hi screenie,

i didn´t have problems on my Testmachine with kernel 2.6.24-11-pve with bonding and vlan. All the vlans working fine. I have onyl problems with our usbnetwork bridge. That isn working anymore under 2.6.24-11-pve.

Regards, Valle

Code:
proxmox01:~# cat /proc/net/vlan/config
VLAN Dev name    | VLAN ID
Name-Type: VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD
bond0.2        | 2  | bond0
bond0.4        | 4  | bond0
bond0.706      | 706  | bond0
bond0.101      | 101  | bond0
bond0.102      | 102  | bond0
bond0.103      | 103  | bond0
bond0.104      | 104  | bond0
bond0.105      | 105  | bond0
bond0.106      | 106  | bond0
bond0.145      | 145  | bond0
bond0.146      | 146  | bond0
bond0.147      | 147  | bond0
bond0.148      | 148  | bond0
bond0.149      | 149  | bond0
bond0.150      | 150  | bond0
bond0.745      | 745  | bond0
bond0.746      | 746  | bond0
bond0.747      | 747  | bond0
bond0.748      | 748  | bond0
bond0.749      | 749  | bond0
bond0.750      | 750  | bond0
 
hmmm.....
can you please post an example you setup your interfaces?

this is what i have configured:

auto bond0
iface bond0 inet manual
slaves eth0 eth1

auto vmbr0
iface vmbr0 inet static
address 192.168.100.55
netmask 255.255.255.0
gateway 192.168.100.1
network 192.168.100.0
broadcast 192.168.100.255
bridge_ports bond0
bridge_stp off
bridge_fd 0


auto bond0.10
iface bond0.10 inet manual

auto vmbr1
iface vmbr1 inet manual
bridge_ports bond0.10
bridge_stp off
bridge_fd 0


auto bond0.20
iface bond0.20 inet manual

auto vmbr2
iface vmbr2 inet manual
bridge_ports bond0.20
bridge_stp off
bridge_fd 0

both host have the same setup, it works on the host with the kernel 2.6.32-1-pve but not on the host with 2.6.24-11

default debian lenny installation:
pve-manager: 1.5-9 (pve-manager/1.5/4728)
running kernel: 2.6.32-belyayev.1
pve-kernel-2.6.24-11-pve: 2.6.24-23
qemu-server: 1.1-14
pve-firmware: 1.0-5
libpve-storage-perl: 1.0-13
vncterm: 0.9-2
vzctl: 3.0.23-1pve11
vzdump: 1.2-6
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1

screenie
 
Code:
proxmox01:~# cat /etc/network/interfaces
# network interface settings
auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
iface eth2 inet manual
iface eth3 inet manual

auto bond0
iface bond0 inet manual
        slaves eth0 eth1 eth2 eth3
        bond_miimon 100
        bond_mode 802.3ad

auto vmbr0
iface vmbr0 inet static
        address  192.168.1.2
        netmask  255.255.255.0
        gateway  192.168.1.1
        bridge_ports bond0
        bridge_stp on
        bridge_fd 0

auto vmbr1
iface vmbr1 inet static
        address  192.168.2.2
        netmask  255.255.255.0
        gateway  192.168.1.1
        bridge_ports bond0.2
        bridge_stp off
        bridge_fd 0

auto vmbr4
iface vmbr4 inet manual
        bridge_ports bond0.4
        bridge_stp off
        bridge_fd 0

Code:
proxmox01:~# pveversion -v
pve-manager: 1.5-9 (pve-manager/1.5/4728)
running kernel: 2.6.24-11-pve
proxmox-ve-2.6.24: 1.5-23
pve-kernel-2.6.24-11-pve: 2.6.24-23
pve-kernel-2.6.24-7-pve: 2.6.24-11
qemu-server: 1.1-14
pve-firmware: 1.0-5
libpve-storage-perl: 1.0-13
vncterm: 0.9-2
vzctl: 3.0.23-1pve11
vzdump: 1.2-6
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.12.4-1


regards, valle
 
Last edited:
there is no real difference except your interface settings are a little bit inconsistent to each other....

vmbr0 has stp on, the others off
both vmbr0 and vmbr1 has a gateway configured where the gateway from vmbr1 is the same as on vmbr0

anyway, whatever i try i can't get rid of these messages 'vlan_check_real_dev: VLANs not supported on bond0' on 2.6.18 or 2.6.24 kernels... only 2.6.32 works...

screenie
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!