Set up IPTV on Xiaomi router: from connecting to eliminating freezes

Why Xiaomi is the perfect choice for IPTV

IPTV As the traditional cable TV is gaining popularity, Xiaomi routers are becoming one of the best solutions for organizing it. Unlike budget models of other brands, Mi Routers (including series) are becoming more popular. 4A, 4C, 5, AX3000 and AX6000) support IGMP Proxy, VLAN-Tags and flexible QoS settings are all you need for stable streaming without hanging out.

The main problem of users is the lack of understanding of how to properly configure the network to IPTV Many providers (e.g. Rostelecom, MTS, Beeline) require specific parameters that are not always obvious. In this article, we will discuss the unique settings for Xiaomi routers that are not found in standard instructions: from choosing a protocol (IGMP v2/v3) to the port port port for the UDP-flow.

Important: if your provider uses a binding MAC-address, without prior cloning MAC router IPTV It's not going to work.

1.Preparation: What to Know Before Setup

Before you start configuring the router, make sure that:

  • ๐Ÿ“‹ You have data from the provider: VLAN ID for IPTV (most often 100, 200 or 400), IP-Multicast server address (e.g. 239.255.1.1) and supported protocol (IGMP v2 or v3).
  • ๐Ÿ”Œ The cable from the provider is connected to WAN-router port (usually marked in blue).
  • ๐Ÿ“ฑ On a smartphone or PC installed Mi Wi-Fi application (for models without a web interface, for example, Mi Router) 4A Gigabit Edition).
  • ๐Ÿ”„ The router is updated to the latest firmware (check in Settings). โ†’ Update of the PO).

A critical mistake of newcomers is to try to configure IPTV via PPPoE instead of DHCP. Most providers use a separate VLAN for television, and if you choose the wrong type of connection, the channels simply will not be broadcasted. For example, Rostelecom IPTV only works via DHCP + VLAN, and MGTS may require static IP.

โš ๏ธ Note: If your provider uses IPoE (DHCP) for the Internet and PPPoE for IPTV, You need to create two separate connections. In Xiaomi routers, this is done through additional settings. โ†’ Network โ†’ Multiple WAN (available only in the form of a AX-series).

๐Ÿ“Š What kind of Xiaomi router are you using?
Mi Router 4A
Mi Router 4C
Mi Router 5
Mi Router AX3000
Mi Router AX6000
Other

2. Set up a VLAN for IPTV (a must!)

Most providers are transferring IPTV-traffic through a separate VLAN. If you don't configure it, the router will ignore the TV packets. In Xiaomi routers, it's done this way:

  1. Go to the routerโ€™s web interface at 192.168.31.1 (the default login and password is admin).
  2. Go to the Additional settings โ†’ Network โ†’ VLAN.
  3. Create a new one. VLAN parameterized: ๐Ÿ”ข ID VLAN: Check with the provider (for example, 100 for Rostelecom). ๐Ÿ“ก Ports: select WAN (for incoming traffic) and LAN-ports to which they are connected IPTV-prefix. ๐Ÿ”— Tag: Enable Tagged for WAN and untagged for LAN.

Save the settings and restart the router.

An example for the Mi Router AX3000 is that if the provider uses the VLAN 200 for IPTV and the VLAN 100 for the Internet, you need to create two VLANs:

Type of trafficVLAN IDPorts (Tagged)Ports (Untagged)
Internet100WANLAN1, LAN2, LAN3
IPTV200WANLAN4
Guest network300โ€”LAN1

โš ๏ธ Note: If after setting up VLAN The internet has stopped working, check if there are any conflicts. ID VLAN for the Internet and IPTV. Some providers (e.g., Dom.ru) use the same VLAN For both types of traffic, manual port separation is required.

โ˜‘๏ธ Checking settings VLAN

Done: 0 / 4

3. Enabling IGMP Proxy and setting up multicast

IGMP Proxy is a protocol that allows a router to correctly route multicast traffic (used for IPTV) without activating it, channels can slow down or not open at all. On Xiaomi routers, the setting is as follows:

  1. Select the protocol version: ๐Ÿ”„ IGMP v2 โ€” compatible with most providers (for example, MTS, Beeline). ๐Ÿ”„ IGMP v3 โ€” required for certain operators (e.g. Tricolor in mode) IPTV).

Multicast addresses

239.0.0.0/8

Save the settings and wait for application (can take up to 2 minutes).

Problem: If after IGMP is turned on, channels start to โ€œbreakโ€ or show artifacts, try:

  • ๐Ÿ”ง Reduce MTU up to 1472 (on the Network) โ†’ Internet โ†’ Additionally).
  • ๐Ÿ“ถ Disable QoS (if enabled) โ€“ it can artificially limit the speed of a multicast.
  • ๐Ÿ”„ Switch from IGMP v3 on v2 (vice versa).

๐Ÿ’ก

If your provider didnโ€™t provide multicast addresses, try standard ranges: 239.255.0.0/16 or 224.0.0.0/4. They cover the majority. IPTV-service.

4. Port and QoS port transfer for stable broadcasting

If IPTV works UDP-streams (for example, at NTV-Plus or Tele2), It may require port port forwarding:

  • ๐Ÿ“บ Channels are loaded or show "no signal".
  • ๐Ÿ”„ When switching channels buffering occurs.
  • ๐ŸŽฎ simultaneously IPTV Online games or torrents are used (they can "clog" the channel).

Instructions for port port port port port forwarding:

  1. Go to Additional settings โ†’ Redirect โ†’ Port rollover.
  2. Add a new rule: ๐Ÿ”ข External port: Specify the range the provider uses (e.g, 1234-1235 for Rostelecom). ๐Ÿ”ข Inland port: Repeat the external port. ๐Ÿ“Œ IP-Address: Please indicate local IP yours IPTV-prefixes, for example, 192.168.31.100). ๐Ÿ”„ Protocol: Select UDP (less โ€” TCP).

Save the rule and restart the router.

QoS (Quality of Service) will help you prioritize your service. IPTV-To set up traffic:

  1. Go to QoS โ†’ QoS settings.
  2. Enable QoS and select Application Priority.
  3. Add the rule for IPTV with maximum priority (High).
  4. Indicate. MAC-the address of the prefix or the range of ports (for example, 5000-6000 for UDP).
How do you know? MAC-address IPTV-prefix?
Open the settings of the console (usually in the "Network" or "About the device" section"). MAC-address looks like 00:1A:79:XX:XX:XX. If the console does not turn on, look at the address on the sticker at the back.

Some providers (e.g. Akado or Space TV) link the service IPTV ce MAC-The address of the device that was activated. If you connect the router, it's the address of the device. MAC will be different, and IPTV The solution is cloning. MAC:

  1. Check with the provider if MAC binding is required.
  2. If yes, find the original. MAC-address (it is indicated on the sticker of the modem issued by the provider, or in the contract).
  3. In the routerโ€™s web interface, go to the Network โ†’ Internet โ†’ More.
  4. In the field MAC-Enter the address with a cloned address (for example, 00:0A:EB:12:34:56).
  5. Save the settings and restart the router.

If the problem persists, reset your router settings and reset the VLAN.

How to check if IGMP is working on a router?
There are two ways: Open State โ†’ Network โ†’ IGMP in the routerโ€™s web interface. There should be a list of multicast groups (e.g. 239.255.1.1). Use the command in the terminal (for advanced users): tcpdump -i br-lan igmp If IGMP packets come, the protocol works.
Can IPTV and Internet be used simultaneously through a single VLAN?
Technically, yes, but it can cause conflict. VLAN For both types of traffic, it is recommended: ๐Ÿ“ก Separate traffic by port (e.g, LAN1 โ€” web-based, LAN2 โ€” IPTV). ๐Ÿ”ง Enable QoS and prioritize multicast packages. ๐Ÿ”„ Check with the provider whether it supports the separation of traffic by TCI (tagging).
Which Xiaomi routers are best for IPTV?
Best models for IPTV (In terms of performance: Mi Router AX6000 โ€” supportive 2.5G WAN, perfect 4K-The broadcasting. AX3000 โ€” Optimal for price/quality, stable IGMP Proxy. Mi Router 5 - budget version with support VLAN. Mi Router 4A Gigabit is suitable for basic IPTV (without 4K). Not recommended: Mi Router 4C (weak processor, may be lags) and old models without support IGMP v3.