Roku Discovery on separate VLAN

I have a new MT6000 Flint 2 using 4.9 stable firmware. I put my Roku device on the IoT network. I want to be able to cast videos from my devices on my main network. I’ve tried for several hours to get it to work but can’t get it to work. It works fine if on the same VLAN.

I install avahi-daemon

[server]
use-ipv4=yes
use-ipv6=yes
check-response-ttl=no
use-iff-running=no
allow-interfaces=br-lan,br-iot

[publish]
publish-addresses=yes
publish-hinfo=yes
publish-workstation=no
publish-domain=yes
[reflector]
enable-reflector=yes
reflect-ipv=yes

[rlimits]
rlimit-core=0
rlimit-data=4194304
rlimit-fsize=0
rlimit-nofile=30
rlimit-stack=4194304
rlimit-nproc=3

I created traffic rules to allow 5353/udp and 1900/udp between lan and iot in both directions

In all cases, if I try to cast, it searches for devices and doesnt find the roku.

Hello,

If you use luci and check its device under each interface, use the direct DSA device not the full bridge.

Also it is discouraged to use multiple bridges, OpenWrt design choices are made around a single DSA bridge, unless you do this for wifi only.

Is isolation turned off?

Does roku device in question have working internet + dns?

I learned with my mi clock Spotify chromecasting stops if this is failing to work even if that had nothing to do with mdns, it dropped mdns silently.

ok I’ll look into direct DSA. I just used the IOT since it was already there.

Isolation is turned off. Roku internet works fine. Also if I put it on the same VLAN, it gets detected with no issue.

not wifi only. actually most of my IOT devices are wired. but a few are WIFI.

Perhaps you can refer to the following tutorial:

I tried the guide and must have screwed up something because I lost all access to the router (other internet worked). Good news is that I learned how to restore from backup and what doesnt get restored.

Anyways, I tried AI again and got it to work. I ended up installing smcroute. I needed to create a iot->lan with 1900/udp source, lan->iot 1900/udp dest, and lan->iot with 8060/tcp dest, ICMP from iot.

1 Like