Separate Networks (VLANs)

Reception, channel detection, network issues, CableCARD setup, etc.
ldoodle
Posts: 8
Joined: Sun Apr 08, 2018 1:36 pm

Separate Networks (VLANs)

Post by ldoodle »

Hi,

Has anyone managed to get HDHomeRun working on devices across multiple networks? I've come across a few guides but cannot get it working.

I use Unifi kit. HDHomeRun is on an IOT network and other devices in the same network find it OK. But devices in other networks cannot find it at all.

Thanks

nickk
Silicondust
Posts: 19777
Joined: Tue Jan 13, 2004 9:39 am
x 304

Re: Separate Networks (VLANs)

Post by nickk »

First, make sure you have IPv6 internet working, then check that IPv6 site-local multicast is allowed to cross VLANs.

Also if you are using Windows make sure you have the latest HDHomeRun app installed from the Microsoft Store.

Nick

ldoodle
Posts: 8
Joined: Sun Apr 08, 2018 1:36 pm

Re: Separate Networks (VLANs)

Post by ldoodle »

Thanks, will give that a go. Only using Android devices (mobiles and tables), do they have IPv6 enabled by default?

No need to use it on Windows.

ldoodle
Posts: 8
Joined: Sun Apr 08, 2018 1:36 pm

Re: Separate Networks (VLANs)

Post by ldoodle »

I've just seen your earlier post here: viewtopic.php?t=77920

Do you mean we have to be using IPv6 across the networks rather than IPv4?

gtb
Expert
Posts: 4206
Joined: Thu Oct 06, 2011 1:00 pm
Location: Sunnyvale, CA USA
x 17

Re: Separate Networks (VLANs)

Post by gtb »

ldoodle wrote: Mon May 15, 2023 11:07 am I've just seen your earlier post here: viewtopic.php?t=77920

Do you mean we have to be using IPv6 across the networks rather than IPv4?
Not only do you need to have IPv6 enabled (support of which is somewhat common in many recent consumer routers from the usual suspects), you have to have a router that supports IPv6 multicast routing for the site-local multicast to cross networks (IPv6 multicast routing is less common in consumer routers).

It is conceivable that for some routers you may be able to configure various static targets to make it work, but that would depend on your router, so you should probably talk to your vendor as to how to accomplish that.

EddieA
Posts: 28
Joined: Fri Jun 30, 2017 4:46 pm

Re: Separate Networks (VLANs)

Post by EddieA »

I have it working with IPv4 across VLANs with a UDM Pro. The only proviso is you need a linux machine using iptables (but I'm sure other firewalls could accomplish this) in the network that has a bridge across the VLANs.

jumpmanjay
Posts: 278
Joined: Wed May 06, 2015 12:33 pm

Re: Separate Networks (VLANs)

Post by jumpmanjay »

EddieA wrote: Sun May 21, 2023 7:04 pm I have it working with IPv4 across VLANs with a UDM Pro. The only proviso is you need a linux machine using iptables (but I'm sure other firewalls could accomplish this) in the network that has a bridge across the VLANs.
This broke for me with recent versions. Have you updated recently?

Rabbit1543
Posts: 93
Joined: Thu Mar 29, 2007 5:46 am

Re: Separate Networks (VLANs)

Post by Rabbit1543 »

For ipv4, you may want to take a look at socat. It can relay the broadcasts to any device on an accessible network. You can run it on a raspberry pi or your unifi router. It may not be an ideal solve but I found it works well and fairly easy to set up. I found that mdns stuff tends to be quite finicky. If you install on your unifi router make sure you add a post upgrade script to reinstall socat to survive firmware updates. You could even go as far as installing as a service. Socat can be used for other services that use discovery as well like plex or emby

https://www.redhat.com/sysadmin/getting-started-socat

jumpmanjay
Posts: 278
Joined: Wed May 06, 2015 12:33 pm

Re: Separate Networks (VLANs)

Post by jumpmanjay »

Rabbit1543 wrote: Sat Jun 03, 2023 8:03 am For ipv4, you may want to take a look at socat. It can relay the broadcasts to any device on an accessible network. You can run it on a raspberry pi or your unifi router. It may not be an ideal solve but I found it works well and fairly easy to set up. I found that mdns stuff tends to be quite finicky. If you install on your unifi router make sure you add a post upgrade script to reinstall socat to survive firmware updates. You could even go as far as installing as a service. Socat can be used for other services that use discovery as well like plex or emby

https://www.redhat.com/sysadmin/getting-started-socat
Have you updated recently?

Rabbit1543
Posts: 93
Joined: Thu Mar 29, 2007 5:46 am

Re: Separate Networks (VLANs)

Post by Rabbit1543 »

Running the latest hdhr and usg firmware.

rpcameron
Posts: 1093
Joined: Fri Mar 25, 2016 9:55 am
x 3

Re: Separate Networks (VLANs)

Post by rpcameron »

ldoodle wrote: Mon May 15, 2023 9:53 am Hi,

Has anyone managed to get HDHomeRun working on devices across multiple networks? I've come across a few guides but cannot get it working.

I use Unifi kit. HDHomeRun is on an IOT network and other devices in the same network find it OK. But devices in other networks cannot find it at all.

Thanks
Here is something you may want to check out:
https://github.com/unifi-utilities/unif ... /hdhomerun

It's essentially the same as using socat as mentioned above, but a bit more tailored to the UDM.

jhsmith
Posts: 11
Joined: Tue May 30, 2023 8:50 am

Re: Separate Networks (VLANs)

Post by jhsmith »

With just IPv4, how can I access a flex 4k across subnets? It seems to be restricted to a 255.255.255.0 subnet mask only. For instance, I would like to access it from my secure network 192.168.1.1 when the flex 4k is on my IoT subnet 192.168.10.1. I have firewall rules in place allowing the .1 to open connections to .10 but block the reverse. I am able to access my other IoT devices in this way. (Again, IPv6 is blocked on these networks.). I do have IGMP snooping turned on. (UNIFI network).

I see the post about using socat to do this. It seems as though a firewall rule for the correct type of UDP packet should work but I've not figured out how to do this.
Last edited by jhsmith on Tue Jun 13, 2023 7:30 am, edited 1 time in total.

nickk
Silicondust
Posts: 19777
Joined: Tue Jan 13, 2004 9:39 am
x 304

Re: Separate Networks (VLANs)

Post by nickk »

There are no subnet restrictions in the HDHomeRun.

EddieA
Posts: 28
Joined: Fri Jun 30, 2017 4:46 pm

Re: Separate Networks (VLANs)

Post by EddieA »

jumpmanjay wrote: Fri Jun 02, 2023 6:42 pm This broke for me with recent versions. Have you updated recently?
I'm fully up to date. In fact Nick had to get the Windows app updated to make it work.
jhsmith wrote: Fri Jun 09, 2023 5:04 pm With just IPv4, how can I access a flex 4k across subnets? It seems to be restricted to a 255.255.255.0 subnet mask only. For instance, I would like to access it from my secure network 192.168.1.1 when the flex 4k is on my IoT subnet 192.168.10.1. I have firewall rules in place allowing the .1 to open connections to .10 but block the reverse. I am able to access my other IoT devices in this way. (Again, IPv6 is blocked on these networks.). I do have IGMP snooping turned on. (UNIFI network).

I see the post about using socat to do this. It seems as though a firewall rule for the correct type of UDP packet should work but I've not figured out how to do this.
Do you have a machine that can bridge across the 2 subnets, which is how I have it setup.

jumpmanjay
Posts: 278
Joined: Wed May 06, 2015 12:33 pm

Re: Separate Networks (VLANs)

Post by jumpmanjay »

Rabbit1543 wrote: Sat Jun 03, 2023 8:03 am For ipv4, you may want to take a look at socat. It can relay the broadcasts to any device on an accessible network. You can run it on a raspberry pi or your unifi router. It may not be an ideal solve but I found it works well and fairly easy to set up. I found that mdns stuff tends to be quite finicky. If you install on your unifi router make sure you add a post upgrade script to reinstall socat to survive firmware updates. You could even go as far as installing as a service. Socat can be used for other services that use discovery as well like plex or emby

https://www.redhat.com/sysadmin/getting-started-socat
I am using socat on my pfSense firewall. It was working perfect until I updated the FW on my Primes.

Just to be clear- live TV via the Primes still works fine across subnets. The app no longer shows DVR recordings across subnets after updating the Primes. App on the same subnet shows the recordings.

Post Reply