From owner-freebsd-questions Thu May 17 17:33:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from netcabo.pt (mail2.netcabo.pt [212.113.161.137]) by hub.freebsd.org (Postfix) with ESMTP id 6CFF137B424 for ; Thu, 17 May 2001 17:33:15 -0700 (PDT) (envelope-from brunomiguel@netcabo.pt) Received: from hununu ([213.22.29.216]) by netcabo.pt with Microsoft SMTPSVC(5.5.1877.687.68); Fri, 18 May 2001 01:29:44 +0100 From: "Bruno Miguel" Organization: Artists, Inc. To: Freebsd-questions@FreeBSD.ORG Date: Fri, 18 May 2001 01:30:34 +0100 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Ipsec and routing Reply-To: brunomiguel@netcabo.pt Message-ID: <3B047B3A.27933.502C04@localhost> X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: X-Loop: FreeBSD.ORG Hello. I have a box A on a 192.168.100.0/24 network. I setup a VPN using IPSEC to a box B on a 192.168.200.0/24 network. I can ping and do everything ok using computers on those private networks and the routing is ok. Now I setup today a box C, VPN'ed 192.168.0.0/24 with box A. Everything works fine between private subnets A and C, but I can't send from B to C, and I don't understand why. I setup on B a route to send to gateway 192.168.100.1 (A) when sending packets to C, 192.168.0.0/24. I have setup that gateway for the 192.168.100.0/24 (A) network also, obviously :). If I tcpdump, I see it's not routing to gateway A but is trying to send packets directly on the interface, to the default gateway... What am I doing wrong here ? I know I can set another VPN between A and C, but I fail to understand why this doesn't work. Many thanks in advance ! ...:-=>> The freaking Mail Band <<=-:... hununu@netcabo.pt D.E.Q. @ I.S.T. - Portugal To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message