Problem with VLAN tagging on DIR-860L (MT7530)

It's possible to move selected postings to a) an existing topic b) a new topic.
@jow: click the wrench above the timeline, click Select, select the desired postings, then decide to move to new or existing topic.

Before we split the topics: I have just flashed the latest snapshot from the regular master branch, and IPv6 connectivity is back. Are we absolutely sure that the VLAN patches aren't to blame?

The issue already started when the build only contained the first commit (on our first try): https://git.openwrt.org/?p=openwrt/staging/jow.git;a=commit;h=72375f8e46d12d587721a25b24e4904b99fa0cc3

I noticed that you rebased (right?) your staging tree from the master tree. Is it worth compiling another build with the rebased staging tree with the VLAN patches included to check if this was patched in another master branch commit?

To be absolutely sure you can just build the master branch and apply the three vlan commits one by one and see if it breaks.

Comparing the swconfig dev switch0 show before and after each change would be helpful too.

After a some time compiling and testing I can confirm that the patches are fine :slight_smile: It must have been something that was fixed in the master branch, which you pulled in when you updated your staging tree yesterday. A fresh compile from your staging tree is fully functional. VLANs are working properly, DHCPv6 and IPv6 connectivity is fine and the vids are all numbered correctly in the output:

root@LEDE:~# swconfig dev switch0 show
Global attributes:
	enable_vlan: 1
	mib: Switch MIB counters
PPE_AC_BCNT0: 0
PPE_AC_PCNT0: 0
PPE_AC_BCNT63: 0
PPE_AC_PCNT63: 0
PPE_MTR_CNT0: 0
PPE_MTR_CNT63: 0
GDM1_TX_GBCNT: 0
GDM1_TX_GPCNT: 0
GDM1_TX_SKIPCNT: 0
GDM1_TX_COLCNT: 0
GDM1_RX_GBCNT1: 0
GDM1_RX_GPCNT1: 0
GDM1_RX_OERCNT: 0
GDM1_RX_FERCNT: 0
GDM1_RX_SERCNT: 0
GDM1_RX_LERCNT: 0
GDM1_RX_CERCNT: 0
GDM1_RX_FCCNT: 0
GDM2_TX_GBCNT: 0
GDM2_TX_GPCNT: 0
GDM2_TX_SKIPCNT: 0
GDM2_TX_COLCNT: 0
GDM2_RX_GBCNT: 0
GDM2_RX_GPCNT: 0
GDM2_RX_OERCNT: 0
GDM2_RX_FERCNT: 0
GDM2_RX_SERCNT: 0
GDM2_RX_LERCNT: 0
GDM2_RX_CERCNT: 0
GDM2_RX_FCCNT: 0

Port 0:
	mib: Port 0 MIB counters
TxDrop     : 0
TxCRC      : 0
TxUni      : 557139
TxMulti    : 28
TxBroad    : 5
TxCollision: 0
TxSingleCol: 0
TxMultiCol : 0
TxDefer    : 0
TxLateCol  : 0
TxExcCol   : 0
TxPause    : 0
Tx64Byte   : 233
Tx65Byte   : 137692
Tx128Byte  : 2947
Tx256Byte  : 477
Tx512Byte  : 1500
Tx1024Byte : 414323
TxByte     : 640675919
RxDrop     : 1296
RxFiltered : 0
RxUni      : 508593
RxMulti    : 3
RxBroad    : 0
RxAlignErr : 0
RxCRC      : 0
RxUnderSize: 0
RxFragment : 0
RxOverSize : 0
RxJabber   : 0
RxPause    : 0
Rx64Byte   : 231
Rx65Byte   : 215916
Rx128Byte  : 3040
Rx256Byte  : 476
Rx512Byte  : 247
Rx1024Byte : 288686
RxByte     : 456192716
RxCtrlDrop : 0
RxIngDrop  : 1296
RxARLDrop  : 0

	pvid: 0
	link: port:0 link:up speed:1000baseT full-duplex 
Port 1:
	mib: Port 1 MIB counters
TxDrop     : 0
TxCRC      : 0
TxUni      : 122
TxMulti    : 493
TxBroad    : 51
TxCollision: 0
TxSingleCol: 0
TxMultiCol : 0
TxDefer    : 0
TxLateCol  : 0
TxExcCol   : 0
TxPause    : 0
Tx64Byte   : 55
Tx65Byte   : 218
Tx128Byte  : 295
Tx256Byte  : 75
Tx512Byte  : 14
Tx1024Byte : 9
TxByte     : 120528
RxDrop     : 0
RxFiltered : 0
RxUni      : 152
RxMulti    : 995
RxBroad    : 14
RxAlignErr : 0
RxCRC      : 0
RxUnderSize: 0
RxFragment : 0
RxOverSize : 0
RxJabber   : 0
RxPause    : 0
Rx64Byte   : 22
Rx65Byte   : 85
Rx128Byte  : 3
Rx256Byte  : 1017
Rx512Byte  : 6
Rx1024Byte : 28
RxByte     : 531675
RxCtrlDrop : 0
RxIngDrop  : 0
RxARLDrop  : 0

	pvid: 1
	link: port:1 link:up speed:100baseT full-duplex 
Port 2:
	mib: Port 2 MIB counters
TxDrop     : 0
TxCRC      : 0
TxUni      : 276
TxMulti    : 19
TxBroad    : 5
TxCollision: 0
TxSingleCol: 0
TxMultiCol : 0
TxDefer    : 0
TxLateCol  : 0
TxExcCol   : 0
TxPause    : 0
Tx64Byte   : 65
Tx65Byte   : 90
Tx128Byte  : 36
Tx256Byte  : 23
Tx512Byte  : 21
Tx1024Byte : 65
TxByte     : 136803
RxDrop     : 0
RxFiltered : 22
RxUni      : 261
RxMulti    : 190
RxBroad    : 154
RxAlignErr : 0
RxCRC      : 0
RxUnderSize: 0
RxFragment : 0
RxOverSize : 0
RxJabber   : 0
RxPause    : 0
Rx64Byte   : 207
Rx65Byte   : 183
Rx128Byte  : 94
Rx256Byte  : 31
Rx512Byte  : 57
Rx1024Byte : 33
RxByte     : 140154
RxCtrlDrop : 0
RxIngDrop  : 0
RxARLDrop  : 0

	pvid: 8
	link: port:2 link:up speed:1000baseT full-duplex 
Port 3:
	mib: Port 3 MIB counters
TxDrop     : 0
TxCRC      : 0
TxUni      : 2858
TxMulti    : 1397
TxBroad    : 52
TxCollision: 0
TxSingleCol: 0
TxMultiCol : 0
TxDefer    : 0
TxLateCol  : 0
TxExcCol   : 0
TxPause    : 0
Tx64Byte   : 52
Tx65Byte   : 1685
Tx128Byte  : 1339
Tx256Byte  : 1044
Tx512Byte  : 28
Tx1024Byte : 159
TxByte     : 1064808
RxDrop     : 0
RxFiltered : 12
RxUni      : 2882
RxMulti    : 115
RxBroad    : 19
RxAlignErr : 0
RxCRC      : 0
RxUnderSize: 0
RxFragment : 0
RxOverSize : 0
RxJabber   : 0
RxPause    : 0
Rx64Byte   : 18
Rx65Byte   : 1405
Rx128Byte  : 1340
Rx256Byte  : 110
Rx512Byte  : 62
Rx1024Byte : 81
RxByte     : 488386
RxCtrlDrop : 0
RxIngDrop  : 0
RxARLDrop  : 0

	pvid: 1
	link: port:3 link:up speed:100baseT full-duplex 
Port 4:
	mib: Port 4 MIB counters
TxDrop     : 0
TxCRC      : 0
TxUni      : 2356
TxMulti    : 1388
TxBroad    : 49
TxCollision: 0
TxSingleCol: 0
TxMultiCol : 0
TxDefer    : 0
TxLateCol  : 0
TxExcCol   : 0
TxPause    : 0
Tx64Byte   : 51
Tx65Byte   : 1278
Tx128Byte  : 1217
Tx256Byte  : 1052
Tx512Byte  : 10
Tx1024Byte : 185
TxByte     : 1045386
RxDrop     : 0
RxFiltered : 11
RxUni      : 2418
RxMulti    : 125
RxBroad    : 22
RxAlignErr : 0
RxCRC      : 0
RxUnderSize: 0
RxFragment : 0
RxOverSize : 0
RxJabber   : 0
RxPause    : 0
Rx64Byte   : 21
Rx65Byte   : 1284
Rx128Byte  : 1081
Rx256Byte  : 75
Rx512Byte  : 60
Rx1024Byte : 44
RxByte     : 377130
RxCtrlDrop : 0
RxIngDrop  : 0
RxARLDrop  : 0

	pvid: 1
	link: port:4 link:up speed:100baseT full-duplex 
Port 5:
	mib: Port 5 MIB counters
TxDrop     : 0
TxCRC      : 0
TxUni      : 0
TxMulti    : 0
TxBroad    : 0
TxCollision: 0
TxSingleCol: 0
TxMultiCol : 0
TxDefer    : 0
TxLateCol  : 0
TxExcCol   : 0
TxPause    : 0
Tx64Byte   : 0
Tx65Byte   : 0
Tx128Byte  : 0
Tx256Byte  : 0
Tx512Byte  : 0
Tx1024Byte : 0
TxByte     : 0
RxDrop     : 0
RxFiltered : 0
RxUni      : 0
RxMulti    : 0
RxBroad    : 0
RxAlignErr : 0
RxCRC      : 0
RxUnderSize: 0
RxFragment : 0
RxOverSize : 0
RxJabber   : 0
RxPause    : 0
Rx64Byte   : 0
Rx65Byte   : 0
Rx128Byte  : 0
Rx256Byte  : 0
Rx512Byte  : 0
Rx1024Byte : 0
RxByte     : 0
RxCtrlDrop : 0
RxIngDrop  : 0
RxARLDrop  : 0

	pvid: 0
	link: port:5 link:down
Port 6:
	mib: Port 6 MIB counters
TxDrop     : 0
TxCRC      : 0
TxUni      : 513010
TxMulti    : 1390
TxBroad    : 202
TxCollision: 0
TxSingleCol: 0
TxMultiCol : 0
TxDefer    : 0
TxLateCol  : 0
TxExcCol   : 0
TxPause    : 0
Tx64Byte   : 312
Tx65Byte   : 219021
Tx128Byte  : 5505
Tx256Byte  : 1753
Tx512Byte  : 432
Tx1024Byte : 287579
TxByte     : 455796540
RxDrop     : 0
RxFiltered : 38
RxUni      : 562751
RxMulti    : 364
RxBroad    : 45
RxAlignErr : 0
RxCRC      : 0
RxUnderSize: 0
RxFragment : 0
RxOverSize : 0
RxJabber   : 0
RxPause    : 88
Rx64Byte   : 455
Rx65Byte   : 140553
Rx128Byte  : 5344
Rx256Byte  : 586
Rx512Byte  : 1573
Rx1024Byte : 414737
RxByte     : 641968596
RxCtrlDrop : 0
RxIngDrop  : 0
RxARLDrop  : 0

	pvid: 0
	link: port:6 link:up speed:1000baseT full-duplex 
Port 7:
	mib: Port 7 MIB counters
TxDrop     : 0
TxCRC      : 0
TxUni      : 0
TxMulti    : 0
TxBroad    : 0
TxCollision: 0
TxSingleCol: 0
TxMultiCol : 0
TxDefer    : 0
TxLateCol  : 0
TxExcCol   : 0
TxPause    : 0
Tx64Byte   : 0
Tx65Byte   : 0
Tx128Byte  : 0
Tx256Byte  : 0
Tx512Byte  : 0
Tx1024Byte : 0
TxByte     : 0
RxDrop     : 0
RxFiltered : 0
RxUni      : 0
RxMulti    : 0
RxBroad    : 0
RxAlignErr : 0
RxCRC      : 0
RxUnderSize: 0
RxFragment : 0
RxOverSize : 0
RxJabber   : 0
RxPause    : 0
Rx64Byte   : 0
Rx65Byte   : 0
Rx128Byte  : 0
Rx256Byte  : 0
Rx512Byte  : 0
Rx1024Byte : 0
RxByte     : 0
RxCtrlDrop : 0
RxIngDrop  : 0
RxARLDrop  : 0

	pvid: 0
	link: port:7 link:down
VLAN 1:
	vid: 1
	ports: 1 3 4 6t 
VLAN 2:
	vid: 2
	ports: 6t 
VLAN 4:
	vid: 4
	ports: 0t 6t 
VLAN 6:
	vid: 6
	ports: 0t 6t 
VLAN 8:
	vid: 8
	ports: 2 6t 

Thank you so much for your hard work and amazing contributions. You cannot image how happy and grateful I am :slight_smile: If you ever need someone to do some testing, please just let me know :slight_smile: As far as I am concerned, these following Flyspray issues can probably be closed (I didn't open them though):

https://bugs.lede-project.org/index.php?do=details&task_id=991
https://bugs.lede-project.org/index.php?do=details&task_id=1147
https://bugs.lede-project.org/index.php?do=details&task_id=1341

It's been a long time since i initially started this thread, but i find it necessary to say

"THANK YOU"

to everyone who contributed to solving that problem. I am now using 4 of these devices in totally different VLAN configurations and all of them just work like a charm, regarding to the former VLAN problem.

@molocho If your problem is solved, please consider marking this topic as [Solved]. (Click the pencil behind the topic...)

You can also mark the reply that solved your problem:
grafik