Mình đã config như vậy mà vẫn không chạy được IPTV. Nhà mạng FPT. Dùng con Raspberry Pi 4B gắn thêm 2 cái USB ethernet adapter 2.5Gb:
- cổng mặc định trên board Ras là eth0 quay PPPoE
- cổng eth1 đưa vào bridge iptv
- cổng eth2 làm bridge lan đấu vào switch TP-Link TL-SG105E chia cho các thiết bị sử dụng mạng khác
file network
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth2'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
list dns '8.8.8.8'
config interface 'wan'
option proto 'pppoe'
option device 'eth0'
option ipv6 'auto'
option username 'số hợp đồng nhà mạng'
option password 'mật khẩu nhà mạng'
config device
option name 'eth1'
option macaddr 'DC:A6:32:14:9E:40'
config device
option name 'eth0'
option macaddr 'C8:4D:44:29:70:04'
config device
option type 'bridge'
option name 'br-iptv'
list ports 'eth1'
config interface 'iptv'
option proto 'static'
option device 'br-iptv'
option ipaddr '10.1.1.1'
option netmask '255.255.255.0'
option defaultroute '0'
file igmpproxy
config igmpproxy
option quickleave 1
# option verbose [0-3](none, minimal[default], more, maximum)
config phyint
option network iptv
option zone wan
option direction upstream
list altnet 0.0.0.0/0
config phyint
option network lan
option zone lan
option direction downstream
Có thím nào config thành công chưa?