Hello!

I have openwrt on d-link dir-620 (Attitude Adjustment 12.09). Tried many configurations, but can't vlan work. Now I have this configuration:

/etc/config/network
.......
config switch
             option name 'rt305x'
             option reset '1'
             option enable_vlan '1'
             option enable_vlan4k '1' 

config switch_vlan
             option name 'rt305x'
             option vlan '1'
             option ports '0 1 2 3 5 6t'

config switch_vlan
             option name 'rt305x'
             option vlan '122'
             option ports '4t 6t'

config switch_port
             option name 'rt305x'
             option port '4'
             option pvid '122'

config interface 'wan'
             option proto 'static'
             option reset 'xxx.xxx.xxx.xxx'
             option netmask '255.255.255.252'
             option getway 'xxx.xxx.xxx.xxx'
             option type 'bridge'
             option _orig_ifname 'eth0.2'
             option ifname 'eth0.122 eth0.2'
             option stp '1'
           
And no pkts on interface. What I do wrong? I tried with bridge eth0.2 (wan port) and eth0.122 (vlan 122)   and withot it.