So, can you tell me what exactly didn't work for you? I just tried reproducing, but it works just fine for me:
root@OpenWrt:/# swconfig dev rt305x show Global attributes: enable_vlan: 0 alternate_vlan_disable: 0 Port 0: disable: 0 doubletag: 0 untag: 0 [...] pvid: 0 [...] VLAN 0: ports: 0t 1t 2t 3t 4t 5t 6t Interface are eth0 (no vlan), eth0.1 (vlan 1), eth0.2 (vlan2). Same on the test machine the RT3050 (DIR-300) router is connected to. Different subnets configured on each vlan. I can ping over all subnets and see the correct vlan on "tcpdump -n -e -s 2000 -i eth0 icmp" Daniel Golle wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 29/08/12 17:44, Tobias Diedrich wrote: > > If alternate_vlan_disable 1 helps we should undo the defaults flip, but I'd > > like to reproduce your testcase, maybe I missed something else. > Setting alternate_vlan_disable 1 does the trick. > Manually setting vlan_en, untag, doubletag = 1 on port 1 (which is the only > one used) and the CPU port 6 also does the trick. > I made a fix for the single-port devices by adding functions to > /lib/functions/uci-defaults.sh which handle adding a transparent port and > disabling a port (to save power). > I assume that if alternate_vlan_disable is flipped, the function for adding a > transparent port would become unneeded. > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.19 (GNU/Linux) > > iQIcBAEBAgAGBQJQPjXdAAoJEDy9cKN/1Et0JukP/2Q4IQFkOPAj1dlFT/JuUrlb > xTpgcC40sf13m95pH9x6THxh/FCO7wkd/siU00QK0c4a16hxA1swNzJPqhHzPiNH > B+Fmnmcq4usI14dtAWZIDJ+tq+fWGdVISCjBHsl9pC1UpYg9ZY0KmTBo35bup+Sa > XyiB+HKHtgo8lJz9uKNlZu0V0MMJVhEIiKHO+Khwun762vyHcYFqg/e3m4UDq8lY > XhWhPO7M5SOykII6U3cMORa4KF/ePKLlV7RArhVlXcrKbdn9XB1aZ+8W2FAzf8KT > Qq6kRXJpoYm5i3ilyjmz4LigyatoRg46qFoNpJ2TzHtaLi3ai/SndPNgWDtiWd/O > pABrvP0h3x7qQNTgCGavmWud0px6HpFArKuGwKIWoRkabdJE//ix1fvEwrPPx5py > D4bzBs0BAVNQeuV2xEZjqze6KkXiBoFzhKKKYSWoyr3xj+G/gq0vORgBr3aBFj4X > Wdeew3aYTkbo7xSd5aQRWFYL2yPzszmY31kHft5wMqmz87KniJcU9/z+TCevsCX0 > uPNpxwHNJasZfCYPMMRuvQkRLOlQfAcO/Yfbuk6zoNk7vwZWWIUJCFhS6FedXMef > fc3tsp1rO2f6rql+IjMVB4zxNqy4DYvQfcdRjb09mpCUZKVRvq2QvwBrFz0P9KOC > xq98szCKULyH5L1h6YUE > =OYHL > -----END PGP SIGNATURE----- -- Tobias PGP: http://8ef7ddba.uguu.de _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel