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/
On Wed, Nov 22, 2000 at 12:08:56PM -0500, Steve Halasz wrote:> 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: > > ifconfig tap0: > tap0 Link encap:Ethernet HWaddr FE:FD:0A:02:00:01[...]> ifconfig tap0: > tap0 Link encap:Ethernet HWaddr FE:FD:0A:01:00:01The hardware address of the all tap devices must be fe:fd:00:00:00:00 with tinc 1.0pre3. That makes things simpler in the end... ------------------------------------------- Met vriendelijke groet / with kind regards, Guus Sliepen <guus@sliepen.warande.net> ------------------------------------------- See also: http://tinc.nl.linux.org/ http://www.kernelbench.org/ ------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20001122/d5ffe16e/attachment.pgp