tincd running, but ping test doesn't work!
gillianh at paper-graphics.com
gillianh at paper-graphics.com
Thu Feb 22 16:33:47 CET 2001
Hi Tinc Mailing Group,
I've got Tinc-1.0pre3 set up on two Redhat Linux 6.2 / kernel 2.2.18
servers. It compiles okay, it reads the configuration files okay, it
makes a valid connection between the two tincd daemons. However, it
does not route data from one subnet to the other subnet. I will
describe my setup below, and if anyone can suggest why it is not
working, can they please reply to put me out of my misery.
Machine A: real ip address = 194.128.68.11
subnet A = 194.128.68.0/24
tap0 ip address = 194.128.68.17
Machine B: real ip address on eth0 = 194.128.68.9
real ip address on eth1 = 195.128.68.9
subnet B = 195.128.68.0/24
tap0 ip address = 195.128.68.8
(N.B.: Machine B has 2 network cards, eth0 and eth1)
Here are my configuration files, which describe the setup:
Machine A:
/usr/local/etc/tinc/tinc-up :
#!/bin/bash
/sbin/ifconfig tap0 hw ether fe:fd:00:00:00:00
/sbin/ifconfig tap0 194.128.68.17 netmask 128.0.0.0
/usr/local/etc/tinc/tinc-down :
#!/bin/bash
/sbin/ifconfig tap0 down
/usr/local/etc/tinc/tinc.conf :
Name = A
TapDevice = /dev/tap0
Interface = eth0
ConnectTo = B
PrivateKey = xxxx
/usr/local/etc/tinc/hosts/A :
Address = 194.128.68.11
Subnet = 194.128.68.0/24
Port = 655
PublicKey = xxxx
/usr/local/etc/tinc/hosts/B :
Address = 194.128.68.9
Subnet = 195.128.68.0/24
Port = 655
PublicKey = xxxx
Machine B:
/usr/local/etc/tinc/tinc-up :
#!/bin/bash
/sbin/ifconfig tap0 hw ether fe:fd:00:00:00:00
/sbin/ifconfig tap0 195.128.68.8 netmask 128.0.0.0
/usr/local/etc/tinc/tinc-down :
#!/bin/bash
/sbin/ifconfig tap0 down
/usr/local/etc/tinc/tinc.conf :
Name = B
TapDevice = /dev/tap0
Interface = eth1
PrivateKey = xxxx
/usr/local/etc/tinc/hosts/A :
Address = 194.128.68.11
Subnet = 194.128.68.0/24
Port = 655
PublicKey = xxxx
/usr/local/etc/tinc/hosts/B :
Address = 194.128.68.9
Subnet = 195.128.68.0/24
Port = 655
PublicKey = xxxx
There are two machines,
one on Subnet A which has ip address of 194.128.68.13
and one on Subnet B which has ip address of 195.128.68.85
I've tried to ping from one of these machines to the other
machine, unsuccessfully. I've tried setting up the routing
on these machines so that the router for Subnet A is
the tap0 interface ip: 194.128.68.17
and the router for Subnet B is 195.128.68.8
None of my efforts has worked. I've run tincd as follows:
/usr/local/sbin/tincd -ddddd
and looked at the /var/log/messages log file.
Feb 22 15:18:47 B tinc[918]: tincd 1.0pre3 (Feb 21 2001 15:58:47)
starting, d
ebug level 5
Feb 22 15:18:47 B tinc[918]: Ready: listening on port 655
Feb 22 15:18:56 B tinc[918]: Connection from 194.128.68.11 port 1025
Feb 22 15:18:57 B tinc[918]: Connection with A (194.128.68.11) activated
It gives me no useful information to explain why the VPN isn't working.
Thanks for any assistance.
Regards,
Gillian.
-
Tinc: Discussion list about the tinc VPN daemon
Archive: http://mail.nl.linux.org/lists/
Tinc site: http://ftp.nl.linux.org/pub/linux/tinc/
More information about the Tinc
mailing list