Project

General

Profile

Error #452

Network configuration doesn't manage an interface in LAN without mesh VLAN tagging properly

Added by Roger Pueyo Centelles over 1 year ago. Updated over 1 year ago.

Status:
Tancat
Priority:
Alta
Category:
Network
Target version:
Start date:
07/16/2018
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:

Description

Configuring an interface (e.g. eth0) as LAN and disabling mesh VLANs on it:

config qmp 'interfaces'
    option mesh_devices 'eth0 eth1 wlan0'
    option lan_devices 'eth0'
    option no_vlan_devices 'eth0'
    option wan_devices 'eth1'

causes BMX6 to be configured to mesh via the interface (i.e., eth0):

interfaces:
devName   state type     rateMin rateMax llocalIp                    globalIp                            primary 
eth0      DOWN  INACTIVE INVALID INVALID /-1                         /-1                                 0       
eth1_12   UP    ethernet 1000M   1000M   fe80::20d:b9ff:fe33:98d5/64 fd66:66:66:53:20d:b9ff:fe33:98d5/64 1       
wlan0_12  UP    wireless 6222K   56000K  fe80::6f0:21ff:fe33:db03/64 fd66:66:66:57:6f0:21ff:fe33:db03/64 0 

which fails to work, since the interface is part of the bridge and can not be used.

Using br-lan instead of eth0 would probably be the most convenient option, even if another interface (e.g. eth2) configured as LAN with VLAN for mesh would then both mesh with and without VLAN.

Associated revisions

Revision 45a9225f (diff)
Added by Roger Pueyo Centelles over 1 year ago

[qmp-system] Properly manage interfaces in LAN with no mesh VLAN tagging

Fixes #452

Signed-off-by: Roger Pueyo Centelles <>

History

#1 Updated by Roger Pueyo Centelles over 1 year ago

  • Status changed from Nou to Resolt
  • % Done changed from 10 to 100

Works even if two interfaces are in the bridge; either the two of them tagged, the two of them untagged, or one tagged and one untagged.

#2 Updated by Roger Pueyo Centelles over 1 year ago

  • Status changed from Resolt to Tancat

Also available in: Atom PDF