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.
ubuntu@tinc:/etc/tinc/zt$ ping 192.168.1.9 PING 192.168.1.9 (192.168.1.9) 56(84) bytes of data. ^C --- 192.168.1.9 ping statistics --- 14 packets transmitted, 0 received, 100% packet loss, time 12999ms So reading through the documentation, i've cleaned up my tinc-up on both sides On the Mac Ξ tinc/zt ✈ more tinc-up #!/bin/sh ifconfig $INTERFACE 192.168.1.9 netmask 255.255.255.0 and on Linux ubuntu@tinc:/etc/tinc/zt$ more tinc-up #!/bin/sh ifconfig $INTERFACE 192.168.2.1 netmask 255.255.255.0 route add -host 192.168.1.9 gw 192.168.2.1 Is there a way I can debug the routes tinc currently supports/sees? On Sun, Sep 22, 2013 at 2:19 PM, Zia Syed <[email protected]> wrote: > ok i changed that but still no joy > > ubuntu@tinc:/etc/tinc/zt$ more tinc-up > #!/bin/sh > ifconfig $INTERFACE 192.168.2.1 netmask 255.255.255.0 > route add -host 192.168.1.9 dev $INTERFACE > route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.9 > > ubuntu@tinc:/etc/tinc/zt$ route > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > default 74.175.26.65 0.0.0.0 UG 100 0 0 > eth0 > localnet * 255.255.255.0 U 0 0 0 > eth0 > 192.168.1.0 192.168.1.9 255.255.255.0 UG 0 0 0 zt > 192.168.1.9 * 255.255.255.255 UH 0 0 0 zt > 192.168.2.0 * 255.255.255.0 U 0 0 0 zt > > > On Sun, Sep 22, 2013 at 1:58 PM, Sven-Haegar Koch <[email protected]>wrote: > >> On Sun, 22 Sep 2013, Zia Syed wrote: >> >> > ok, changed that and now i am able to connect to port 80 on my Mac, from >> > Linux box using 192.168.1.9 address. However, i can't connect to another >> > webserver on my home network at 192.168.1.1. >> >> > and my tinc-up on the linux is >> > >> > #!/bin/sh >> > ifconfig $INTERFACE 192.168.2.1 netmask 255.255.0.0 >> >> With a netmask of 255.255.255.0 it would work better. >> >> > route add -host 192.168.1.9 dev $INTERFACE >> > route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.2.1 >> >> c'ya >> sven-haegar >> >> -- >> Three may keep a secret, if two of them are dead. >> - Ben F. >> > >
_______________________________________________ tinc mailing list [email protected] http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
