From owner-freebsd-questions@FreeBSD.ORG Fri Feb 17 18:19:44 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 913B216A422 for ; Fri, 17 Feb 2006 18:19:44 +0000 (GMT) (envelope-from gabor.kovesdan@t-hosting.hu) Received: from server.t-hosting.hu (server.t-hosting.hu [217.20.133.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 939B843D53 for ; Fri, 17 Feb 2006 18:19:38 +0000 (GMT) (envelope-from gabor.kovesdan@t-hosting.hu) Received: from localhost (localhost [127.0.0.1]) by server.t-hosting.hu (Postfix) with ESMTP id 37A1B998428 for ; Fri, 17 Feb 2006 19:19:37 +0100 (CET) Received: from server.t-hosting.hu ([127.0.0.1]) by localhost (server.t-hosting.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 33035-05-2 for ; Fri, 17 Feb 2006 19:19:33 +0100 (CET) Received: from [192.168.2.186] (catv-5062e7e3.catv.broadband.hu [80.98.231.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.t-hosting.hu (Postfix) with ESMTP id 5B75C9983E9 for ; Fri, 17 Feb 2006 19:19:33 +0100 (CET) Message-ID: <43F613B3.1080105@t-hosting.hu> Date: Fri, 17 Feb 2006 19:19:31 +0100 From: =?ISO-8859-1?Q?K=F6vesd=E1n_G=E1bor?= User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at t-hosting.hu Subject: Set up routing? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Feb 2006 18:19:44 -0000 Hello, I'm trying to set up an additional routing for a host via a VPN tunnel with IPsec. The tunnel is working now, I see tcp packages going out with tcpdump, but IMCP host unreachable packages coming in from the VPN peer. What I did: route add A.B.C.D W.X.Y.Z Where A.B.C.D is the target machine and W.X.Y.Z is the VPN peer. Now when I type netstat -rn, I see in these first two entries: server# netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default P.Q.R.S UGS 3 5369402848 sk0 A.B.C.D W.X.Y.Z UGHS 0 667 gre0 It seems good to me, but it doesn't work. Am I doung something wrong? I can reach the VPN peer with traceroute, but not the A.B.C.D machine. Thanks in advance, Gabor Kovesdan