On Wed, 24 May 2000, Matthijs Hoosemans wrote:> I am using tinc1.0pre1 pre2 is not yet available on the tinc site. > The Var. VpnMask is unknown in version pre1. > Netmask is 255.0.0.0 on tap0 on both gateways. > Still the problem that you can ping the gateway on the other network but not > the machines behind it. > I've used the rpm download.Please show me the exact output of "ifconfig tap0" and "route" on both gateways. Met vriendelijke groet, Guus Sliepen. - Tinc: Discussion list about the tinc VPN daemon Archive: mail.nl.linux.org/lists Tinc site: ftp.nl.linux.org/pub/linux/tinc
On Wed, 24 May 2000, Matthijs Hoosemans wrote: Everything is OK except on machine B: tap0 Link encap:Ethernet HWaddr FE:FD:0A:02:00:9A inet addr:10.0.0.154 Bcast:10.255.255.255 Mask:255.0.0.0 HWaddr should be FE:FD:0A:00:00:9A. Met vriendelijke groet, Guus Sliepen. - Tinc: Discussion list about the tinc VPN daemon Archive: mail.nl.linux.org/lists Tinc site: ftp.nl.linux.org/pub/linux/tinc
On Wed, 24 May 2000, Guus Sliepen wrote:> Everything is OK except on machine B:> tap0 Link encap:Ethernet HWaddr FE:FD:0A:02:00:9A > inet addr:10.0.0.154 Bcast:10.255.255.255 Mask:255.0.0.0> HWaddr should be FE:FD:0A:00:00:9A.Ehr, correction, inet addr should be 10.2.0.154 :). Met vriendelijke groet, Guus Sliepen. - Tinc: Discussion list about the tinc VPN daemon Archive: mail.nl.linux.org/lists Tinc site: ftp.nl.linux.org/pub/linux/tinc
I am using tinc1.0pre1 pre2 is not yet available on the tinc site. The Var. VpnMask is unknown in version pre1. Netmask is 255.0.0.0 on tap0 on both gateways. Still the problem that you can ping the gateway on the other network but not the machines behind it. I've used the rpm download. -----Original Message----- From: Guus Sliepen [mailto:guus@warande3094.warande.uu.nl] Sent: Wednesday, May 24, 2000 4:09 AM To: Matthijs Hoosemans Cc: tinc@nl.linux.org Subject: Re: Almost ... On Wed, 24 May 2000, Matthijs Hoosemans wrote:> I have used tinc to get a vpn up and running I am almost there but havesome> problems at the end.What version are you using?> My config:[...]> both networks are in the routing table (with the gateways 10.0.0.31 and > 10.2.0.155).(What I'm going to say now is for the 1.0pre2 versions.) For tinc, the tapdevice must have netmask 255.0.0.0. You don't need to specify gateways in your routing table, tinc will handle that. Add "VpnMask=255.0.0.0" to the tinc.conf files on both tinc gateways. The IP address of the tap device is allowed to have the same IP as the real ethernet interface of the gateways by the way. Met vriendelijke groet, Guus Sliepen. - Tinc: Discussion list about the tinc VPN daemon Archive: mail.nl.linux.org/lists Tinc site: ftp.nl.linux.org/pub/linux/tinc