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

root@LEDE:~# ps | grep -i odhcp6c
 3106 root      1212 S    grep -i odhcp6c

edit 1: Actually, I think I am just grepping the grep process itself here. Let me double check.

edit 2: http://192.168.1.1/cgi-bin/luci/admin/status/processes doesn't show 'odhcp6c'

edit 3: Do I need to manually include that package when compiling my own firmware? Or is it enabled by default? That might have been the issue otherwise :slight_smile:

Hm, usually odhcp6c is part of the default package set, but does not hurt to double-check that it is installed. Is the package listed by opkg list-installed odhcp6c ?

root@LEDE:~# opkg list-installed odhcp6c
odhcp6c - 2017-09-05-1f93bd4c-6

Okay, please check the following things:

  • The full ppp command line: ps ww | grep [p]pp
  • Has a virtual IPv6 interface been spawned? ifstatus wan_6 (note the underscore)
  • Is DHCPv6 support registered? ubus call network get_proto_handlers

ppp command:

root@LEDE:~# ps ww | grep [p]pp
 2535 root      1216 S    /usr/sbin/pppd nodetach ipparam wan ifname pppoe-wan +ipv6 nodefaultroute usepeerdns maxfail 1 user SomeUserName password SomePassword ip-up-script /lib/netifd/ppp-up ipv6-up-script /lib/netifd/ppp6-up ip-down-script /lib/netifd/ppp-down ipv6-down-script /lib/netifd/ppp-down mtu 1492 mru 1492 plugin rp-pppoe.so nic-eth0.6

ifstatus wan_6:

root@LEDE:~# ifstatus wan_6
Interface wan_6 not found

DHCPv6 support registered:

root@LEDE:~# ubus call network get_proto_handlers
{
	"dhcp": {
		"validate": {
			"ipaddr": "ipaddr",
			"hostname": "hostname",
			"clientid": "string",
			"vendorid": "string",
			"broadcast": "bool",
			"release": "bool",
			"reqopts": "list(string)",
			"defaultreqopts": "bool",
			"iface6rd": "string",
			"sendopts": "string",
			"delegate": "bool",
			"zone6rd": "string",
			"zone": "string",
			"mtu6rd": "string",
			"customroutes": "string",
			"classlessroute": "bool"
		},
		"immediate": false,
		"no_device": false,
		"init_available": false,
		"renew_available": true,
		"force_link_default": false,
		"last_error": false,
		"teardown_on_l3_link_down": false,
		"no_task": false
	},
	"dhcpv6": {
		"validate": {
			"reqaddress": "or(\"try\",\"force\",\"none\")",
			"reqprefix": "or(\"auto\",\"no\",range(0, 64))",
			"clientid": "string",
			"reqopts": "list(uinteger)",
			"defaultreqopts": "bool",
			"noslaaconly": "bool",
			"forceprefix": "bool",
			"extendprefix": "bool",
			"norelease": "bool",
			"ip6prefix": "ip6addr",
			"iface_dslite": "string",
			"zone_dslite": "string",
			"iface_map": "string",
			"zone_map": "string",
			"iface_464xlat": "string",
			"zone_464xlat": "string",
			"zone": "string",
			"ifaceid": "ip6addr",
			"userclass": "string",
			"vendorclass": "string",
			"sendopts": "string",
			"delegate": "bool",
			"soltimeout": "uinteger",
			"fakeroutes": "bool",
			"sourcefilter": "bool",
			"keep_ra_dnslifetime": "bool",
			"ra_holdoff": "uinteger"
		},
		"immediate": false,
		"no_device": false,
		"init_available": false,
		"renew_available": true,
		"force_link_default": false,
		"last_error": false,
		"teardown_on_l3_link_down": false,
		"no_task": false
	},
	"ppp": {
		"validate": {
			"device": "string",
			"username": "string",
			"password": "string",
			"keepalive": "string",
			"keepalive_adaptive": "bool",
			"demand": "uinteger",
			"pppd_options": "string",
			"connect": "file",
			"disconnect": "file",
			"ipv6": "string",
			"authfail": "bool",
			"mtu": "uinteger",
			"pppname": "string",
			"unnumbered": "string",
			"persist": "bool",
			"maxfail": "uinteger",
			"holdoff": "uinteger"
		},
		"immediate": false,
		"no_device": true,
		"init_available": true,
		"renew_available": false,
		"force_link_default": false,
		"last_error": true,
		"teardown_on_l3_link_down": false,
		"no_task": false
	},
	"pppoe": {
		"validate": {
			"username": "string",
			"password": "string",
			"keepalive": "string",
			"keepalive_adaptive": "bool",
			"demand": "uinteger",
			"pppd_options": "string",
			"connect": "file",
			"disconnect": "file",
			"ipv6": "string",
			"authfail": "bool",
			"mtu": "uinteger",
			"pppname": "string",
			"unnumbered": "string",
			"persist": "bool",
			"maxfail": "uinteger",
			"holdoff": "uinteger",
			"ac": "string",
			"service": "string",
			"host_uniq": "string"
		},
		"immediate": false,
		"no_device": false,
		"init_available": false,
		"renew_available": false,
		"force_link_default": false,
		"last_error": true,
		"teardown_on_l3_link_down": false,
		"no_task": false
	},
	"static": {
		"validate": {
			"ipaddr": "ip4addr",
			"ip6addr": "ip6addr",
			"netmask": "netmask",
			"broadcast": "ipaddr",
			"ptpaddr": "ip4addr",
			"gateway": "ip4addr",
			"ip6gw": "ip6addr",
			"ip6prefix": "ip6addr",
			"ip6deprecated": "bool"
		},
		"immediate": true,
		"no_device": false,
		"init_available": false,
		"renew_available": false,
		"force_link_default": true,
		"last_error": false,
		"teardown_on_l3_link_down": false,
		"no_task": false
	}
}

edit: The wan_6 interface seems to be missing. But I am not sure whether it was there on Lede 17.01.4. I could double check that if that is useful information :slight_smile:

Hm, and you want interface's option ipv6 is set to auto? Does uci get network.wan.ipv6 report auto?

I've tried both auto and 1. It's currently set to 1.

Please set it to auto and repeat the tests above (ps grep, ifstatus etc.)

ppp command:

root@LEDE:~# ps ww | grep [p]pp
 4418 root      1216 S    /usr/sbin/pppd nodetach ipparam wan ifname pppoe-wan +ipv6 set AUTOIPV6=1 nodefaultroute usepeerdns maxfail 1 user SomeUserName password SomePassword ip-up-script /lib/netifd/ppp-up ipv6-up-script /lib/netifd/ppp6-up ip-down-script /lib/netifd/ppp-down ipv6-down-script /lib/netifd/ppp-down mtu 1492 mru 1492 plugin rp-pppoe.so nic-eth0.6
 4535 root      1032 S    odhcp6c -s /lib/netifd/dhcpv6.script -P0 -t120 pppoe-wan

ifstatus wan_6:

root@LEDE:~# ifstatus wan_6
{
	"up": false,
	"pending": true,
	"available": true,
	"autostart": true,
	"dynamic": true,
	"proto": "dhcpv6",
	"device": "pppoe-wan",
	"data": {
		
	}
}

DHCPv6 support registered:

root@LEDE:~# ubus call network get_proto_handlers
{
	"dhcp": {
		"validate": {
			"ipaddr": "ipaddr",
			"hostname": "hostname",
			"clientid": "string",
			"vendorid": "string",
			"broadcast": "bool",
			"release": "bool",
			"reqopts": "list(string)",
			"defaultreqopts": "bool",
			"iface6rd": "string",
			"sendopts": "string",
			"delegate": "bool",
			"zone6rd": "string",
			"zone": "string",
			"mtu6rd": "string",
			"customroutes": "string",
			"classlessroute": "bool"
		},
		"immediate": false,
		"no_device": false,
		"init_available": false,
		"renew_available": true,
		"force_link_default": false,
		"last_error": false,
		"teardown_on_l3_link_down": false,
		"no_task": false
	},
	"dhcpv6": {
		"validate": {
			"reqaddress": "or(\"try\",\"force\",\"none\")",
			"reqprefix": "or(\"auto\",\"no\",range(0, 64))",
			"clientid": "string",
			"reqopts": "list(uinteger)",
			"defaultreqopts": "bool",
			"noslaaconly": "bool",
			"forceprefix": "bool",
			"extendprefix": "bool",
			"norelease": "bool",
			"ip6prefix": "ip6addr",
			"iface_dslite": "string",
			"zone_dslite": "string",
			"iface_map": "string",
			"zone_map": "string",
			"iface_464xlat": "string",
			"zone_464xlat": "string",
			"zone": "string",
			"ifaceid": "ip6addr",
			"userclass": "string",
			"vendorclass": "string",
			"sendopts": "string",
			"delegate": "bool",
			"soltimeout": "uinteger",
			"fakeroutes": "bool",
			"sourcefilter": "bool",
			"keep_ra_dnslifetime": "bool",
			"ra_holdoff": "uinteger"
		},
		"immediate": false,
		"no_device": false,
		"init_available": false,
		"renew_available": true,
		"force_link_default": false,
		"last_error": false,
		"teardown_on_l3_link_down": false,
		"no_task": false
	},
	"ppp": {
		"validate": {
			"device": "string",
			"username": "string",
			"password": "string",
			"keepalive": "string",
			"keepalive_adaptive": "bool",
			"demand": "uinteger",
			"pppd_options": "string",
			"connect": "file",
			"disconnect": "file",
			"ipv6": "string",
			"authfail": "bool",
			"mtu": "uinteger",
			"pppname": "string",
			"unnumbered": "string",
			"persist": "bool",
			"maxfail": "uinteger",
			"holdoff": "uinteger"
		},
		"immediate": false,
		"no_device": true,
		"init_available": true,
		"renew_available": false,
		"force_link_default": false,
		"last_error": true,
		"teardown_on_l3_link_down": false,
		"no_task": false
	},
	"pppoe": {
		"validate": {
			"username": "string",
			"password": "string",
			"keepalive": "string",
			"keepalive_adaptive": "bool",
			"demand": "uinteger",
			"pppd_options": "string",
			"connect": "file",
			"disconnect": "file",
			"ipv6": "string",
			"authfail": "bool",
			"mtu": "uinteger",
			"pppname": "string",
			"unnumbered": "string",
			"persist": "bool",
			"maxfail": "uinteger",
			"holdoff": "uinteger",
			"ac": "string",
			"service": "string",
			"host_uniq": "string"
		},
		"immediate": false,
		"no_device": false,
		"init_available": false,
		"renew_available": false,
		"force_link_default": false,
		"last_error": true,
		"teardown_on_l3_link_down": false,
		"no_task": false
	},
	"static": {
		"validate": {
			"ipaddr": "ip4addr",
			"ip6addr": "ip6addr",
			"netmask": "netmask",
			"broadcast": "ipaddr",
			"ptpaddr": "ip4addr",
			"gateway": "ip4addr",
			"ip6gw": "ip6addr",
			"ip6prefix": "ip6addr",
			"ip6deprecated": "bool"
		},
		"immediate": true,
		"no_device": false,
		"init_available": false,
		"renew_available": false,
		"force_link_default": true,
		"last_error": false,
		"teardown_on_l3_link_down": false,
		"no_task": false
	}
}

Ok, is odhcp6c running now, after the change to auto?

Yes

root@LEDE:~# ps | grep -i odhcp6c
 4535 root      1032 S    odhcp6c -s /lib/netifd/dhcpv6.script -P0 -t120 pppoe-wan
 5579 root      1212 S    grep -i odhcp6c

Okay, so the machinery appears to work but odhcp6c is unnable to obtain a DHCPv6 lease.

This might be a bug or quirk with the client which seems untelated to the switch topic. We should open a new topic for that to not further deviate here.

Agreed. Would it be possible to migrate the current posts about the IPv6 issues to another topic instead of starting over? That way, the entire discussion will be easier to follow for other people running into the same/similar issues.

Unfortunately not, but you can place a link to this topic, it will appear in both threads then.

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