Hello,
I'm trying to do the same thing with a WRT3200ACM on OpenWrt 18.06.4 r7808. However I'm having a very hard time getting everything to work. I was able to make the internet on VLAN 1/34 to work in about 5 minutes. I was able to make the IPTV on VLAN5/4 solely by configuring the VLAN5/4 on the switch0 to be Tagged on the WAN port and untagged on Ethernet Port 4. I'm not sure if you are really supposed to do that, but I'm nearly 100% sure that's what the Linksys firmware does when you configure the VLANs.
The problem I'm facing is that with the above configuration the OTT-content (Netflix, YouTube and other apps that need internet doesn't work. I found that if I let the IPTV boot up from the ZTE router where everything works and I plug it into one of the internet ports on my WRT3200ACM none of the IPTV channels work, however all of the OTT-content works fine.
So far I know that if I connect the IPTV to the ZTE router the IPTV gets an IP address from the router's DHCP server, I can see the IPTV on the LAN, I can use the IPTV on any LAN port on the ZTE router, it seems that the IPTV traffic only goes to the port where the IPTV is connected to. I'm guessing multi-cast traffic but I haven't packet sniffed yet to figure out what protocol is used.
If I have the configuration with any firmware where I have VLAN 5/4 mapped to Ethernet Port 4 and the WAN port it seems to get an IP address from the provider. I have no idea what protocol is used to get the IP address, but DHCP does not work. If I try to connect another device to that port I get no IP from the ISP through DHCP.
The assigned IP address on VLAN 1/34 (Router), and VLAN 5/4 (IPTV) are very different. However the IP address on VLAN 1/34 is assigned through DHCP.
For the sake of trying to figure out what is going, and I know its not proper configuration, I configured VLAN 5/4 and 1/34 on switch0. I set tagged on the WAN port for both VLANS, and then marked ethernet ports 1-4 as untagged on VLAN 5/4. What was interesting, if I booted the IPTV from the ZTE router. Some of the IPTV channels worked, not all, the OTT-content worked, but I was unable to boot the IPTV while connected in this manner.
What I think I need to do is configure switch0 with VLAN 1 (untagged to ethernet ports 1-4), VLAN 5/4 (tagged to CPU 1 and tagged to WAN), and VLAN 1/34 (tagged to CPU 1 and tagged to WAN). I then need to route both VLAN 5/4 and VLAN 1/34 to VLAN 1. Then I guess there needs to be IGMP on VLAN 1 to prevent the rest of my LAN being flooded by IPTV multicast traffic, as some of my experimentation has shown.
So far I have the above configuration configured but I can't get an IP address for the openWRT interface attached to VLAN5/4, so my geuss is that I can't rout it to VLAN1. Out of interest I have also tried to configure VLAN 5/4 as the only WAN and rout that to VLAN1 but I wasn't able to make the IPTV work.
I have spent over 2 weeks trying to do this with the Linksys firmware, dd-WRT, and now OpenWRT. It seems to me that OpenWRT works the best so far but I'm stuck now and don't know what to do next.
If anyone has any ideas how to achieve this I would really appreciate it.