The most straightnforward way, but with some limitations which might bite you in the future, would be this:
- keep ether1 (ISP) off any bridge at all costs
- create needed vlan interfaces off the ether1 - you probably already created one for VLAN 640 so you need to add one for VLAN 300 and possibly one for VLAN 100.
- you probably already have a bridge for IPTV with member interfaces VLAN640 and ether3. Remove interface ether3 from interface list LAN
- add (or move it from plain ether1 if it's still there) WAN configuration (either DHCP client or static IP or PPPoE or whatever appropriate) to VLAN300 interface. Add VLAN300 interface to the interface list WAN (it is heavily used by default firewall rules)
- configure LAN ... probably a separate bridge with member interfaces ether2,4,5 ...
You might find out that performance gets capped in which case you'll have to go the way mentioned below.
The more versatile way would be to use single bridge with VLAN filtering enabled - read about it in
this tutorial. If you go this way, you might find out that performance gets capped, in that case you'll want to convert this setup to one which utilizes switch chip for VLAN operations (but it's messy and you have to understand VLANs to do it properly; it is si,ilar to the bridge concept though).