<div dir="ltr">On Tue, Sep 30, 2008 at 4:41 PM, David Brodbeck <span dir="ltr">&lt;<a href="mailto:gull@gull.us">gull@gull.us</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Brad DerManouelian wrote:<br>
&gt; On Sep 30, 2008, at 1:49 PM, daniel åkerud wrote:<br>
&gt;<br>
&gt;&gt; Hi, i&#39;m trying to share my backend over Hamachi VPN, and I&#39;m facing a<br>
&gt;&gt; problem. The problem is the backend says it&#39;s IP is <a href="http://192.168.1.2" target="_blank">192.168.1.2</a><br>
</div>&gt;&gt; &lt;<a href="http://192.168.1.2" target="_blank">http://192.168.1.2</a>&gt; (which is correct, for my local LAN) but then<br>
<div class="Ih2E3d">&gt;&gt; other frontends not in my local LAN are trying to connect to an IP<br>
&gt;&gt; that doesn&#39;t exist. The mysql connection is no problem, it&#39;s the<br>
&gt;&gt; backend connection on port 6543 (after a GET_RECODER something command).<br>
&gt;&gt;<br>
&gt;&gt; So, the first thing I tried was to change the backend IP to the<br>
&gt;&gt; Hamachi IP (5.x.x.x) which indeed works, but now the problem is that<br>
&gt;&gt; now even all my local frontends need Hamachi VPN, and when the Hamachi<br>
&gt;&gt; servers are down (happens, although not for very long) or your<br>
&gt;&gt; internet connection is down, you can&#39;t watch TV even at home. Bummer.<br>
&gt;&gt;<br>
&gt;&gt; Any ideas on how to solve this?<br>
&gt;<br>
&gt; Two NIC cards. One configured for your load network, one configured for<br>
&gt; your VPN. You could also do it with some fancy routing table stuff, but<br>
&gt; two NIC&#39;s is easier to set up and maintain.<br>
<br>
</div>You can get the same effect with a single NIC by using interface<br>
aliases. &nbsp;But that still won&#39;t solve the MythTV problem, since Myth&#39;s<br>
database will only have a single IP.<br>
<br>
One solution that might work would be to refer to the machine by<br>
hostname instead, then set up each machine&#39;s /etc/hosts file to point to<br>
the correct IP for that machine.</blockquote><div><br>Myth doesn&#39;t reference by hostname IIRC<br><br>Kevin</div></div><br></div>