<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 21, 2022 at 2:16 AM Mike Perkins <<a href="mailto:mikep@randomtraveller.org.uk">mikep@randomtraveller.org.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 21/06/2022 02:41, Stephen Worthington wrote:<br>
> On Mon, 20 Jun 2022 19:30:49 -0400, you wrote:<br>
> <br>
>> On Mon, Jun 20, 2022, 1:59 PM Greg Oliver <<a href="mailto:oliver.greg@gmail.com" target="_blank">oliver.greg@gmail.com</a>> wrote:<br>
>><br>
>>> On Tue, Jun 14, 2022 at 4:14 PM Bill Meek <<a href="mailto:keemllib@gmail.com" target="_blank">keemllib@gmail.com</a>> wrote:<br>
>>><br>
>>>> On 6/14/22 08:52, Klaas de Waal wrote:<br>
>>>>> Hi Jim,<br>
>>>>><br>
>>>>> On Mon, 13 Jun 2022 at 21:07, James Abernathy <<a href="mailto:jfabernathy@gmail.com" target="_blank">jfabernathy@gmail.com</a><br>
>>>> <mailto:<a href="mailto:jfabernathy@gmail.com" target="_blank">jfabernathy@gmail.com</a>>> wrote:<br>
>>>>><br>
>>>>> I have a NUC with 2 RJ45 ports on the back. One is 2.5Gb and the<br>
>>>> other is 1Gb. Is there a simple way to connect a HDHomeRun Connect tuner<br>
>>>>> to one of these ports so it would work with Mythtv and eliminate<br>
>>>> any record problems that I'm having from being network related??<br>
>>>>><br>
>>>>><br>
>>>>> On my production system I have a separate network card with a direct<br>
>>>> cable connection to a HDHomeRun without any configuration whatsoever. No<br>
>>>>> fixed IP addresses, no DHCP, no routing, not anything and it just<br>
>>>> works. Of course, then the HDHomeRun cannot be accessed by anything else in<br>
>>>>> the network but that does definitely eliminate interference from other<br>
>>>> devices on the network.<br>
>>>>><br>
>>>>> Klaas.<br>
>>>><br>
>>>> I used the link local solution too. To get to my HDHR's web page, I have<br>
>>>> a function:<br>
>>>><br>
>>>> function hdhr() {<br>
>>>> HDHRIP=$(ssh yourbackendhostname "hdhomerun_config discover"|grep<br>
>>>> 169.254|cut -d' ' -f6)<br>
>>>> echo -e "\nTo connect to the HDHR, use: <a href="http://localhost:8001" rel="noreferrer" target="_blank">http://localhost:8001</a>\n"<br>
>>>> ssh -L 8001:${HDHRIP}:80 yourbackendhostname<br>
>>>> }<br>
>>>><br>
>>>><br>
>>>> Typing: hdhr will print a link that can be opened.<br>
>>>><br>
>>>> --<br>
>>>> Bill<br>
>>>><br>
>>>> The simplest way to do it is just setup both ethernet ports into a bridge:<br>
>>><br>
>>><br>
>>> ip link add *br0* type bridge<br>
>>> ip link set *br0* up<br>
>>> ip link set eth0 up (or whatever your ifnames are)<br>
>>> ip link set eth1 up<br>
>>> ip link set eth0 master br0<br>
>>> ip link set eth1 master br0<br>
>>><br>
>>> With this, both ethernet ports will get DHCP from your existing router.<br>
>>><br>
>>> -Greg<br>
>>><br>
>>><br>
>> I like this solution. I understand bridges from using them with libvirt kvm.<br>
>><br>
>> Thanks,<br>
>><br>
>> Jim A<br>
> <br>
> The downside of bridging is that all the broadcast traffic is sent to<br>
> the new subnet. That can be ok if you are not doing large amounts of<br>
> broadcast traffic, but if you do multimedia broadcasting (ie large<br>
> broadcast packets) it will use up significant bandwidth and defeat the<br>
> purpose of using a separate subnet for the network tuners.<br>
<br>
And of course the reverse is also true. All the HDHR traffic will go to the router, which has to <br>
process it even if it ultimately just ignores it.<br>
<br>
If you're going to add a software bridge that defeats the object. You might just as well plug the <br>
HDHR directly into the router.<br></blockquote><div><br></div><div><div style="font-family:monospace,monospace" class="gmail_default">All (most) home routers that run Linux (99% probably) LAN ports are already software bridged using the exact same commands I just outlined anyway :)<br></div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
The only way I could see a case for using a software bridge is if you have capacity constraints: ie <br>
no more ports on the router or no way to run a cable between HDHR and router.<br>
<br>
-- <br>
<br>
Mike Perkins<span class="gmail_default" style="font-family:monospace,monospace">\</span><br>
</blockquote></div></div>