Mine was working fine with that setup until one day it just wasn’t. The Google home setup just fails with no explanation. And tracking down the reason was a huge pain in the ass because that type of network configuration is such a niche use case.
Sorry, I’m still kind of pissed about it. I just want to use a hostname for jellyfin casting instead of the ip address.