I could be remembering the details incorrectly, but I think there is a bug
in switch mode in 1.0.3 such that no traffic passes if more than one node is
running 1.0.3. Try 1.0.2 or the latest version in subversion. I think Guus
is just waiting for enough people to say that this is fixed in svn (he
doesn't use switch mode much) and he will release 1.0.4. Or maybe I have
that wrong so I shouldn't speak for him.
Jason
On Sun, 20 Mar 2005, Thomas Schmid wrote:
> Hi,
>
> I have some problems getting tinc up and running an a Mac OS X and
> Linux machine. I was able to compile tinc on Linux and Mac and I
> configured it as fare as the daemons speak to each other (PING/PONG
> works fine, a -USR2 shows both edges).
> The problem is, that a real ping does not work. It gets sent over to
> the other machine but I never get a reply. Does anyone know why this
> happens?
>
> Note that I have both deamons on switch and on the same subnet since I
> want them to believe that they are on the same subnet (for rendezvous
> and other applications).
>
> Thanks a lot
>
> Thomas
>
> Here some configuration details:
>
> Linux machine:
> ============> Debian Sarge
> tincd version 1.0.3
>
> cat tinc.conf:
> Name = tinc_linux
> Device = /dev/net/tun
> Mode=switch
>
> cat tinc-up:
> ifconfig $INTERFACE 10.0.0.1 netmask 255.255.255.0
>
> cat hosts/tinc_linux
> Address = 192.168.1.1
> Port = 655
> Subnet = 10.0.0.0/24
>
> Destination Gateway Genmask Flags Metric Ref Use
Iface
> 192.168.1.0 * 255.255.255.0 U 0 0 0
eth0
> 10.0.0.0 * 255.255.255.0 U 0 0 0
vpn
>
> Mac OS X 10.3 machine:
> ===================> tincd version 1.0.3
>
> cat tinc.conf:
> Name = tinc_mac
> ConnectTo = tinc_schmidi
> ux tun/tap device.
> Device = /dev/tap0
> Mode=switch
>
> cat tinc-up:
> ifconfig $INTERFACE 10.0.0.2 netmask 255.255.255.0
> ifconfig $INTERFACE up
>
> cat hosts/tinc_mac:
> Address = 192.168.1.101
> Port = 655
> Subnet = 10.0.0.0/24
>
> netstat -nr:
> 10/24 link#8 UCSc 0 0 tap0
> 10.0.0.2 74:61:70:0:0:0 UHLW 0 2 lo0
>
>
> Log entries in syslog while pinging mac from linux:
> Mar 20 21:09:29 localhost tinc.vpn[29468]: Sending packet of 42 bytes
> to tinc_mac (192.168.1.101 port 655)
> Mar 20 21:09:30 localhost tinc.vpn[29468]: Read packet of 42 bytes
> from Linux tun/tap device (tap mode)
> Mar 20 21:09:30 localhost tinc.vpn[29468]: Broadcasting packet of 42
> bytes from tinc_linux (MYSELF)
> Mar 20 21:09:30 localhost tinc.vpn[29468]: Sending packet of 42 bytes
> to tinc_mac (192.168.1.101 port 655)
>
> log on mac:
> Mar 20 21:09:30 localhost tinc.vpn[890]: Broadcasting packet of 42
> bytes from tinc_linux (192.168.1.1 port 655)
> _______________________________________________
> tinc mailing list
> tinc@tinc-vpn.org
> http://brouwer.uvt.nl/cgi-bin/mailman/listinfo/tinc
>
>