<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#333333" bgcolor="#FFFFFF">
<p>Hi there,</p>
<p>I would need some help with my configuration. I have tried a long
time, but did not find my error. Thus I would really appreciate
your help.<br>
</p>
<p>There are three hosts:</p>
<ol>
<li>h181</li>
<li>h182: Should ConnectTo h181<br>
</li>
<li>h183: Should ConnectTo h181</li>
</ol>
<p><b>Files under /etc/tinc/vpn0/hosts</b></p>
<p>[h181:]<br>
Address = 94.130.108.xxx<br>
Subnet = 172.16.1.1/32<br>
-----BEGIN RSA PUBLIC KEY-----<br>
***<br>
-----END RSA PUBLIC KEY-----</p>
<p>[h182:]<br>
Subnet = 172.16.1.2/32<br>
-----BEGIN RSA PUBLIC KEY-----<br>
***<br>
-----END RSA PUBLIC KEY-----</p>
<p>[h183:]<br>
Subnet = 172.16.1.3/32<br>
-----BEGIN RSA PUBLIC KEY-----<br>
***<br>
-----END RSA PUBLIC KEY-----</p>
<p><br>
</p>
<p><b>tinc.conf files:</b><br>
</p>
<p>[tinc.conf h181:]<br>
Name = h181<br>
Device = /dev/net/tun<br>
BindToAddress = 0.0.0.0<br>
AddressFamily = ipv4<br>
<br>
</p>
<p>[tinc.conf h182:]<br>
Name = h182<br>
Device = /dev/net/tun<br>
ConnectTo = h181<br>
BindToAddress = 0.0.0.0<br>
AddressFamily = ipv4<br>
<br>
</p>
<p>[tinc.conf h183:]<br>
Name = h183<br>
Device = /dev/net/tun<br>
ConnectTo = h181<br>
BindToAddress = 0.0.0.0<br>
AddressFamily = ipv4<br>
</p>
<p><br>
</p>
<p><b>tinc-up Files:</b></p>
<p>[tinc-up h181:]<br>
#!/bin/sh<br>
#<br>
# Must use IP 172.16.1.1<br>
#<br>
/sbin/ifconfig $INTERFACE 172.16.1.1 netmask 255.255.255.0</p>
<p>[tinc-up h182:]<br>
#!/bin/sh<br>
#<br>
# Must use IP 172.16.1.2<br>
#<br>
/sbin/ifconfig $INTERFACE 172.16.1.2 netmask 255.255.255.0<br>
</p>
<p>[tinc-up h182:]<br>
#!/bin/sh<br>
#<br>
# Must use IP 172.16.1.3<br>
#<br>
/sbin/ifconfig $INTERFACE 172.16.1.3 netmask 255.255.255.0</p>
<p><br>
</p>
<p>The occuring errors are:</p>
<ul>
<li>Ping from h182 (172.16.1.2) and h183 (172.16.1.3) to h181
(172.16.1.1) is not possible</li>
<li>Ping from h181 to h182 and h183 and between h182 and h183
are possible, but extremely slow (some about 1000ms; ping to
public IP is about 10ms)</li>
</ul>
<p>When I start tinc with tincd -n netname -d5 -D everything seems
normal, many PINGs and PONGs are displayed.</p>
<p>In route -n it is displayed on all hosts:</p>
<p>172.16.1.0 0.0.0.0 255.255.255.0 U 0
0 0 vpn0<br>
</p>
<p>When stopping tincd on h182 or h183 pings between the two
remaining hosts are possible and fast.<br>
</p>
<p>I am using tinc 1.0.24-2.1 (Debian).<br>
</p>
<p>Thank you.</p>
</body>
</html>