i try to explain
from ISP came valn1 (internet) and vlan6 (IPTV, IP get from ISP DHCP)
mikrotik should work in router mode (routing/firewalling)
1 port - WAN
2 port - LAN (IP range 192.168.1.10 - 192.168.1.170)
3 port - LAN +IPTV (IP range 192.168.2.10 - 192.168.2.170, IPTV box gets IP from ISP DHCP)
4 port - LAN +IPTV (IP range 192.168.2.10 - 192.168.2.170, IPTV box gets IP from ISP DHCP)
5 port - LAN +IPTV (IP range 192.168.2.10 - 192.168.2.170, IPTV box gets IP from ISP DHCP)
if i correct understand IPTV box work in normal vlan1. when i use this config IPTV and LAN work ok. To get for PC IP from mikrotik DHCP i should disable vlan6 and get IP to PC. then turn ON valn6 and TV box get IP from ISP DHCP and all works.. but connect new devise, new device get IP from vlan6
thanks for patience
/interface bridge
add name=IPTV_Bridge protocol-mode=none
add name=LAN_bridge protocol-mode=none
/interface vlan
add interface=ether1 name=vlan-IPTV vlan-id=6
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp_pool1 ranges=192.168.1.10-192.168.1.170
add name=dhcp_pool2 ranges=192.168.2.10-192.168.2.170
/ip dhcp-server
add address-pool=dhcp_pool1 disabled=no interface=LAN_bridge name=dhcp1
add address-pool=dhcp_pool2 always-broadcast=yes disabled=no interface=\
IPTV_Bridge name=dhcp2
/interface bridge port
add bridge=LAN_bridge interface=ether2
add bridge=IPTV_Bridge interface=ether3
add bridge=IPTV_Bridge interface=ether5
add bridge=IPTV_Bridge interface=ether4
add bridge=IPTV_Bridge interface=vlan-IPTV
/ip address
add address=192.168.1.1/24 interface=LAN_bridge network=192.168.1.0
add address=192.168.2.1/24 interface=IPTV_Bridge network=192.168.2.0
/ip dhcp-client
add disabled=no interface=ether1
/ip dhcp-server network
add address=192.168.1.0/24 gateway=192.168.1.1
add address=192.168.2.0/24 gateway=192.168.2.1
/ip dns
set allow-remote-requests=yes
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1