Hello,
I have 2 hosts HostA and HostB
HostA - 10.38.9.2, kernel 2.4.16, tincd from Debian package
HostB - 10.38.9.223, kernel 2.2.17-21mdk, tincd from tarball package.
HostA:
------------------------------
/etc/tinc/test4/tinc.conf
Name = HostA
ConnectTo = HostB
TapDevice = /dev/misc/net/tun
PrivateKeyFile = /etc/tinc/test4/rsa_key.priv
/etc/tinc/test4/hosts/HostA
Subnet = 10.0.0.0/8
Port = 8195
Address = 10.38.9.2
-----BEGIN RSA PUBLIC KEY-----
...
/etc/tinc/test4/hosts/HostB
Subnet = 10.0.0.0/8
Port = 8195
Address = 10.38.9.223
-----BEGIN RSA PUBLIC KEY-----
...
HostB:
----------------------------------------
/usr/local/etc/tinc/test4/tinc.conf
Name = HostA
TapDevice = /dev/tap0
PrivateKeyFile = /usr/local/etc/tinc/test4/rsa_key.priv
/usr/local/etc/tinc/test4/hosts/HostA and .../HostB are the same
[HostB]#insmod ethertap0 -o "ethertap0" unit="0"
[HostB]#ifconfig tap0 hw ether fe:fd:00:00:00:00
[HostB]#ifconfig tap0 10.100.9.223 netmask 255.255.255.0 broadcast
10.100.9.255
[HostB]#ifconfig tap0 -arp
[HostB]#tincd -n test4 -ddddd
[HostB]#tail -f /var/log/messages | grep tinc
HostB tinc.test4[11629]: tincd 1.0pre5 starting
HostB tinc.test4[11629]: /dev/tap0 is a Linux ethertap device
HostB tinc.test4[11629]: Ready: listening on port 8195
[HostA]#tincd -n test4 -ddddd
[HostA]#ifconfig test4 hw ether fe:fd:00:00:00:00
[HostA]#ifconfig test4 10.100.9.2 netmask 255.255.255.0 broadcast
10.100.9.255
[HostA]#ifconfig test4 -arp
[HostB]#tail -f /var/log/messages | grep tinc
HostB tinc.test4[11629]: Got SEGV signal
HostB tinc.test4[11629]: Trying to re-execute in 5 seconds...
HostB tinc.test4[11638]: tincd 1.0pre5 starting
HostB tinc.test4[11638]: /dev/tap0 is a Linux ethertap device
HostB tinc.test4[11638]: Ready: listening on port 8195
HostB tinc.test4[11638]: Got SEGV signal
HostB tinc.test4[11638]: Trying to re-execute in 5 seconds...
HostB tinc.test4[11652]: tincd 1.0pre5 starting
HostB tinc.test4[11652]: /dev/tap0 is a Linux ethertap device
HostB tinc.test4[11652]: Ready: listening on port 8195
[HostA]#tail -f /var/log/syslog | grep tinc
HostA tinc.test4[8896]: tincd 1.0pre5 starting
HostA tinc.test4[8896]: /dev/misc/net/tun is a Linux tun/tap device
HostA tinc.test4[8896]: Ready: listening on port 8195
HostA tinc.test4[8896]: Metadata socket error for HostB
(10.38.9.223): Connection reset by peer
[HostA]#netstat -an | grep 8195
tcp 0 0 0.0.0.0:8195 0.0.0.0:*
LISTEN
tcp 0 0 10.38.9.2:32984 10.38.9.223:8195
ESTABLISHED
udp 0 0 0.0.0.0:8195 0.0.0.0:*
[HostB]#netstat -an | grep 8195
tcp 0 0 10.38.9.223:8195 10.38.9.2:32984
ESTABLISHED
tcp 0 0 0.0.0.0:8195 0.0.0.0:*
LISTEN
udp 0 0 0.0.0.0:8195 0.0.0.0:*
I can't ping VPN interfaces.
Regards,
Igor Belokopytov
Tinc: Discussion list about the tinc VPN daemon
Archive: http://mail.nl.linux.org/lists/
Tinc site: http://tinc.nl.linux.org/