There is a gateway in my home that occasionally loses the vlan information. Normally, the openwrt router sets the vlan and the set-top box is connected to the router to play video. When abnormal, the multicast packet sent by the gateway to the set-top box will lose the vlan id, causing the vlan set by the openwrt router to reject the multicast packet without vlan information, and the set-top box will not be able to play the video.
The above is the problem, I want to set it on the openwrt router 1 Receive all data packets, both with vlan tag and without vlan tag, remove the tag with vlan tag, and pass through directly without vlan tag 2 Tag the data packets going out from the lan port, because when the set-top box and the gateway establish a multicast channel for the first time, the vlan needs to be consistent to establish a connection.
Friends, do you know the vlan setting command in the above openwrt, or friends who have other suggestions for this problem, please let me know if you have any, thank you very much