[mythtv-users] HDHOMERUN on different network

Greg Oliver oliver.greg at gmail.com
Mon Mar 6 21:55:00 UTC 2023


On Mon, Mar 6, 2023 at 7:45 AM Barry Martin <barry3martin at gmail.com> wrote:

>
>
> I have two properties in different geo's with an IPSEC tunnel between
> them. I want to setup an HDHOMERUN in location B and have the backend
> at location A use it.
> Location A is 192.168.0.x addressed. Location B is 10.0.0.x addressed.
>
> As the others have said, a computer on one network will not see a computer
> on another, BUT one can tell a computer to have a second IP address.  I
> have only tried it with a different subnet (?) -- whatever the third set in
> the dotted quad is called.  My original was 192.168.4.x, wanting to look at
> 192.168.0.x.  I haven't tried with the 10.x.x.x group but seems like it
> should work.
>
> On a computer with a static address of 192.168.4.22 I entered:
>
>     sudo ip addr add 192.168.0.199/24 broadcast 192.168.0.255 dev enp1s0
>
>
> Now the machine has both 192.168.4.22 and 192.168.0.199 and can
> communicate with machines on both networks.  Good news is on reboot the
> added address goes away so if a mistake is made it is not permanent.
>
> The 'enp1s0' at the end is the NIC device (can be determined from the
> ifconfig output).
>
> Good Luck!  Hope this either solves your problem or leads you to a
> solution!
>
> Barry
>

So, the easiest way to do this is use a TAP or VXLAN interface so multicast
and broadcast packets will traverse the link.  With IPSec, you are SoL.  I
use OpenVPN for this exact thing, but VxLAN seems to be gaining more home
raction rather than it's data center centric model.

Anyhow - OpenVPN with TAP interfaces will allow you to see the HDHomeRuns
broadcast packets on both sides assuming you add a secondary IP address on
both sides that matches.  I do this for our work VPNs today.

If you want some configs, let me know -

-Greg

>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20230306/46b6b4e7/attachment.htm>


More information about the mythtv-users mailing list