Problem
This story goes back about ten years, when a customer reported picture quality issues affecting some of their IPTV receivers.
Some TVs experienced pixelation, but only on certain channels.
Environment
- Vendor: Extreme Networks
- Core: VSP 8400 (Fabric Connect)
- Access: ERS 4900 (Fabric Attach)
- Software version: 7.x (ERS)
Troubleshooting
We started by trying to narrow down the issue by checking three things:
- Did the issue occur in all or some of the channels, and was this consistent?
- Was it related to certain departments or building blocks?
- Could we tie the issues to a certain model of TV or IPTV-box?
After speaking to people in different departments as well as sending on-site support out to actually verify the problem, we had a clearer picture of what the issue actually was, but it hadn’t really made us any wiser…
The issue occurred in different channels depending on department and building, but this was not consistent and the channels having issues differed depending on when we checked. We did verify that there were no issues with either the input or output streams from the IPTV server.
We could not limit the issue to a specific building block. Almost all parts of the customer site had issues at some point, and we could not find a common denominator in the TVs or IPTV boxes being used.
At this point we started troubleshooting the actual network for multicast issues. The customer was using Extreme Networks Fabric Connect with multicast over SPB, and we started trying to check logs and configurations on their central nodes as well as access switches where the issue was present.
After a while, we found something interesting in the multicast routing table:
dist-switch-01:1#show ip mroute route vrf iptv
====================================================================================================
Mroute Route - VRF iptv
====================================================================================================
GROUP SOURCE SRCMASK UPSTREAM_NBR IF EXPIR PROT
-----------------------------------------------------------------------------------------------------------
239.255.1.10 10.100.1.10 255.255.255.255 0.0.0.0 Vlan100 225 spb
239.255.1.11 10.100.1.10 255.255.255.255 0.0.0.0 Vlan100 225 spb
239.255.1.12 10.100.1.10 255.255.255.255 0.0.0.0 Vlan100 225 spb
239.255.1.12 10.100.3.40 255.255.255.255 0.0.0.0 Vlan150 77 spb
239.255.1.13 10.100.1.10 255.255.255.255 0.0.0.0 Vlan100 225 spb
239.255.1.14 10.100.1.10 255.255.255.255 0.0.0.0 Vlan100 186 spb
239.255.1.15 10.100.1.10 255.255.255.255 0.0.0.0 Vlan100 77 spb
Notice that multicast group 239.255.1.12 has two sources: the legitimate IPTV server at 10.100.1.10 and an unexpected sender at 10.100.3.40.
A quick check on the network revealed that this was a Samsung TV used in one of the departments. We disabled the port towards that TV and asked people on-site to verify if the situation improved, and they reported that the issue disappeared on all of their TVs.
We opened the port to the TV again and the issue immediately returned. They changed the channel on the problematic TV, and as we suspected the issue then started on the channel it was changed to. For some reason, the TV was retransmitting the multicast stream it was receiving back into the network, causing picture corruption and pixelation on other TVs watching the same channel.
We went through all their distribution switches and found around 10 cases of TVs doing this, all of them the same model of Samsung TV. Shutting down the ports to all of them resolved the issue for the users immediately (except for the actual problem TVs which obviously stopped working completely).
The vendor who delivered the IPTV solution was contacted and they proceeded to patch the firmware on one of the TVs, which resolved the issue. This was then rolled out to all of them and the incident was solved.
Root Cause
The cause of the incident was a firmware bug on a particular model of Samsung TV, which caused the TV to re-transmit the channel it was viewing back to the network on the same multicast address. Other TVs connected to the same switch stack could then receive multicast traffic from the rogue sender alongside the legitimate IPTV stream, resulting in picture corruption.
If the re-transmitted stream had been of good quality, I’m not sure this would ever have been noticed at all.
Solution
From the network side, we looked at how to prevent this, and found two main scenarios:
- If the rogue sender and the receivers were connected to the same access switch and on the same VLAN, the practical option available to us was to use an ACL on the access ports.
- If the traffic passed a routing point we could filter it there, but this would not protect receivers within the same Layer 2 segment as the rogue sender.
The main reason we decided not to implement this was that we would then not notice if new TVs with this faulty firmware were connected to the network. What we opted to do was implement monitoring of the multicast routing table to get notified if new senders were discovered for this particular VRF. This approach depends on the unexpected sources being visible in the multicast routing table. Traffic confined to a local Layer 2 segment may not be detected.
Patching the firmware on the TVs resolved the root cause of the issue. Over the following one or two years, isolated incidents of this happening were reported and solved by patching the newly added TVs.
Verification
After the TVs were patched, we verified that the multicast routing table did not show any senders for the multicast streams other than the trusted IPTV server.
Monitoring was implemented to discover if this occurred again.
Notes
- When troubleshooting multicast issues affecting individual channels, check the multicast routing table for unexpected sources advertising the same group.
- Filtering unwanted multicast sources at a routing point won’t necessarily protect receivers sharing the same Layer 2 segment with the unwanted sender.
- Monitoring multicast source addresses can help detect unexpected senders without deploying access-port ACLs throughout the network, particularly in environments where only a small number of legitimate multicast sources are expected.