[FS#61] Setup of vlan tagging the on CPE510 does not apply to hardware

LEDE Bugs lede-bugs at lists.infradead.org
Sun Jul 24 14:46:00 PDT 2016


A new Flyspray task has been opened.  Details are below. 

User who did this - lemoer (lemoer) 

Attached to Project - LEDE Project
Summary - Setup of vlan tagging the on CPE510 does not apply to hardware
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - Hi,

I am trying to change the default vlan config in the switch of the CPE510.
It seems as my settings don't change anything in the hardware.

Here is an example:

(Port 5 = LAN0, Port 4=LAN1)

1. Default config:


VLAN 1:
	vid: 1
	ports: 0t 5 
VLAN 2:
	vid: 2
	ports: 0t 4 


2. Packets sent to eth0.2 are present on LAN1 (as expected)

3. Remove port 4 from vlan 2:


swconfig dev switch0 vlan 2 set ports "0t"


4. Check the results in swconfig:


VLAN 1:
	vid: 1
	ports: 0t 5 
VLAN 2:
	vid: 2
	ports: 0t 


5. Packets sent to eth0.2 are still present on LAN1 (not expected)

6. To show another confusing example, we switch back to default config:


VLAN 1:
	vid: 1
	ports: 0t 5 
VLAN 2:
	vid: 2
	ports: 0t 4


7. Try to add port 4t into vlan1:


swconfig dev switch0 vlan 1 set ports "0t 4t 5"


8. Port 4 is unexpectedly now tagged in vlan 2


VLAN 1:
	vid: 1
	ports: 0t 4t 5 
VLAN 2:
	vid: 2
	ports: 0t 4t 


For me, it seems as swconfig (or the underlying kmod) reads/writes wrong memory sections. But I don't khow to debug this.


More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=61



More information about the lede-bugs mailing list