123serge123 wrote:IIRC ar7240 has fully isolated eth1 (uplink or WAN interface) from internal switch eth0 (LAN interface).
Don't foget to change vlan tag 100 to your value and possibly fake ipaddres 10.10.1.1 (or remove it if not needed). You need change firewall config for mcast interface too.
123serge123, there is no luck. 
At the moment I use the following configuration.
Unfortunately for eth0.10 and can`t get settings with DHCP.
This means that VLAN 10 is not working. 
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option ifname 'eth0'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
config interface 'wan'
option ifname 'eth1'
option proto 'dhcp'
config switch
option name 'eth0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'eth0'
option vlan '1'
option vid '1'
option ports '0t 1 2 3'
config interface 'iptv'
option proto 'dhcp'
option ifname 'eth0.10'
config switch_vlan
option device 'eth0'
option vlan '2'
option ports '0t 4'
option vid '10'
root@OpenWrt:/# ifconfig
br-lan Link encap:Ethernet HWaddr B0:48:7A:CE:89:9B
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20073 errors:0 dropped:0 overruns:0 frame:0
TX packets:16363 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3030113 (2.8 MiB) TX bytes:7519749 (7.1 MiB)
eth0 Link encap:Ethernet HWaddr B0:48:7A:CE:89:9B
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20173 errors:0 dropped:0 overruns:0 frame:0
TX packets:16611 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3327115 (3.1 MiB) TX bytes:7617197 (7.2 MiB)
Interrupt:5
eth0.10 Link encap:Ethernet HWaddr B0:48:7A:CE:89:9B
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:234 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:94068 (91.8 KiB)
eth1 Link encap:Ethernet HWaddr B0:48:7A:CE:89:9D
inet addr:192.168.10.178 Bcast:192.168.10.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:176839 errors:0 dropped:1187 overruns:8 frame:0
TX packets:15086 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:15289255 (14.5 MiB) TX bytes:2584209 (2.4 MiB)
Interrupt:4
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:116 errors:0 dropped:0 overruns:0 frame:0
TX packets:116 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10490 (10.2 KiB) TX bytes:10490 (10.2 KiB)