Project

General

Profile

Actions

Bug #948

closed

Can't assign VLANs to LAGG interface via web interface

Added by Teemu Haapoja over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Interfaces
Target version:
Start date:
10/12/2010
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:

Description

LAGG interface is missing from VLAN capable interfaces list when creating or editing VLANs, but existing VLANs using that interface continue to work.
New VLANs can be added the LAGG only by creating a new VLAN for another interface, then editing config.xml and rebooting.

Currently using "2.0-BETA4 (amd64) built on Tue Oct 12 06:44:49 UTC 2010". The LAGG interface is created with a Dual port Intel NIC using the igb driver.

I traced the behaviour to /etc/inc/globals.inc in line 112:

$vlan_native_supp = get_nics_with_capabilities("vlanmtu");

When 'vlanmtu' is changed to 'vlan_mtu', the LAGG interface appeared on the menu, but none of the other interfaces showed up.

I traced the behaviour further and found the following at line 50:

if(isset($capable['caps'][$CAPABILITIES])) {

When 'caps' is changed to 'encaps', the LAGG interface appears in the list along with the other interfaces as it should.


Files

lagg_igb_ifconfig.txt (1.26 KB) lagg_igb_ifconfig.txt Teemu Haapoja, 10/13/2010 03:56 AM
Actions

Also available in: Atom PDF