Configuration Trouble

Steve Halasz skh2 at cornell.edu
Wed Nov 22 18:08:56 CET 2000


I have succeeded in getting two tinc1.0pre3 hosts to connect, but I can't 
ping one from the other. I can ping the local tap interfaces. tcpdump shows 
that icmp echo requests are received by the other host, but no replies are 
sent. The two hosts are North and South. It is the same pinging North to 
South and South to North. The hosts are configured as follows:

South:
Debian 2.2

/usr/local/etc/tinc/tinc.conf:
TapDevice = /dev/tap0
Name = South
PrivateKey = blahblahblah

/usr/local/etc/tinc/hosts/North:
PublicKey = blahblahblah
Subnet = 10.1.0.0/24

/usr/local/etc/tinc/hosts/South:
PublicKey = blahblahblah
Subnet = 10.2.0.0/24

ifconfig tap0:
tap0      Link encap:Ethernet  HWaddr FE:FD:0A:02:00:01
           inet addr:10.2.0.1  Bcast:10.255.255.255  Mask:255.255.255.0
           UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1
           RX packets:196 errors:0 dropped:0 overruns:0 frame:0
           TX packets:220 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0

route:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.1.0.0        *               255.255.255.0   U     0      0        0 tap0


North:
RH 6.0 - 2.4.0-test10 kernel

/usr/local/etc/tinc/tinc.conf:
ConnectTo = South
TapDevice = /dev/tap0
Name = North
PrivateKey = blahblahblah

/usr/local/etc/tinc/hosts/North:
PublicKey = blahblahblah
Subnet = 10.1.0.0/24

/usr/local/etc/tinc/hosts/South:
Address = 1.2.3.4
PublicKey = blahblahblah
Subnet = 10.2.0.0/24

ifconfig tap0:
tap0      Link encap:Ethernet  HWaddr FE:FD:0A:01:00:01
           inet addr:10.1.0.1  Bcast:10.1.0.255  Mask:255.255.255.0
           UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1
           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0

route:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.2.0.0        *               255.255.255.0   UG    0      0        0 tap0

Any help will be very appreciated.

Thanks,
Steve Halasz

-
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