Mac OS X and Linux

Thomas Schmid thomas.schmid at gmail.com
Sun Mar 20 21:12:44 CET 2005


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)


More information about the tinc mailing list