<div dir="ltr">running tinc in the debug 5 mode, i can see that when I ping my mac (192.168.1.9) from my linux box, both linux and mac reports sending/receiving packets of 98 bytes.. however the ping times out. and that confuses me. <div>
<br></div><div><div>ubuntu@tinc:/etc/tinc/zt$ ping 192.168.1.9</div><div>PING 192.168.1.9 (192.168.1.9) 56(84) bytes of data.</div><div>^C</div><div>--- 192.168.1.9 ping statistics ---</div><div>14 packets transmitted, 0 received, 100% packet loss, time 12999ms</div>
</div><div><br></div><div>So reading through the documentation, i've cleaned up my tinc-up on both sides </div><div><br></div><div>On the Mac </div><div><div>Ξ tinc/zt ✈ more tinc-up</div><div>#!/bin/sh</div><div>ifconfig $INTERFACE 192.168.1.9 netmask 255.255.255.0</div>
</div><div><br></div><div>and on Linux </div><div><div>ubuntu@tinc:/etc/tinc/zt$ more tinc-up</div><div>#!/bin/sh</div><div>ifconfig $INTERFACE 192.168.2.1 netmask 255.255.255.0</div></div><div><div>route add -host 192.168.1.9 gw 192.168.2.1<br>
</div></div><div><br></div><div>Is there a way I can debug the routes tinc currently supports/sees?</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Sep 22, 2013 at 2:19 PM, Zia Syed <span dir="ltr"><<a href="mailto:zia.chacho@gmail.com" target="_blank">zia.chacho@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">ok i changed that but still no joy<div><br><div><div>ubuntu@tinc:/etc/tinc/zt$ more tinc-up</div><div>#!/bin/sh</div>
<div>ifconfig $INTERFACE 192.168.2.1 netmask 255.255.255.0</div><div class="im"><div>route add -host 192.168.1.9 dev $INTERFACE</div>
</div><div>route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.9</div><div><br></div><div><div>ubuntu@tinc:/etc/tinc/zt$ route</div><div>Kernel IP routing table</div><div>Destination Gateway Genmask Flags Metric Ref Use Iface</div>
<div>default 74.175.26.65 0.0.0.0 UG 100 0 0 eth0</div><div class="im"><div>localnet * 255.255.255.0 U 0 0 0 eth0</div></div><div>192.168.1.0 192.168.1.9 255.255.255.0 UG 0 0 0 zt</div>
<div class="im">
<div>192.168.1.9 * 255.255.255.255 UH 0 0 0 zt</div></div><div>192.168.2.0 * 255.255.255.0 U 0 0 0 zt</div></div></div></div></div><div class="HOEnZb">
<div class="h5"><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Sun, Sep 22, 2013 at 1:58 PM, Sven-Haegar Koch <span dir="ltr"><<a href="mailto:haegar@sdinet.de" target="_blank">haegar@sdinet.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Sun, 22 Sep 2013, Zia Syed wrote:<br>
<br>
> ok, changed that and now i am able to connect to port 80 on my Mac, from<br>
> Linux box using 192.168.1.9 address. However, i can't connect to another<br>
> webserver on my home network at 192.168.1.1.<br>
<br>
</div><div>> and my tinc-up on the linux is<br>
><br>
> #!/bin/sh<br>
> ifconfig $INTERFACE 192.168.2.1 netmask 255.255.0.0<br>
<br>
</div>With a netmask of 255.255.255.0 it would work better.<br>
<div><br>
> route add -host 192.168.1.9 dev $INTERFACE<br>
> route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.2.1<br>
<br>
</div>c'ya<br>
<span><font color="#888888">sven-haegar<br>
<br>
--<br>
Three may keep a secret, if two of them are dead.<br>
- Ben F.<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>