From owner-freebsd-net Mon Sep 10 3:55: 9 2001 Delivered-To: freebsd-net@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id BE23C37B408 for ; Mon, 10 Sep 2001 03:55:01 -0700 (PDT) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.6/8.11.6) with ESMTP id f8AAsxi70415; Mon, 10 Sep 2001 11:55:00 +0100 (BST) (envelope-from brian@freebsd-services.com) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.6/8.11.6) with ESMTP id f8AAsnJ57600; Mon, 10 Sep 2001 11:54:49 +0100 (BST) (envelope-from brian@freebsd-services.com) Message-Id: <200109101054.f8AAsnJ57600@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= Cc: freebsd-net@FreeBSD.ORG, brian@freebsd-services.com Subject: Re: Forward: Re: ping gif0 In-Reply-To: Message from JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= of "Mon, 10 Sep 2001 13:10:46 +0900." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 10 Sep 2001 11:54:49 +0100 From: Brian Somers Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > I'm forwarding a message directly to me, with a permission of the > sender, because I myself do not have enough time to tackle this. > > JINMEI, Tatuya > Communication Platform Lab. > Corporate R&D Center, Toshiba Corp. > jinmei@isl.rdc.toshiba.co.jp [.....] > > > I've got a question for all of you net hackers. > > > When I configure a gif interface, why can't I ping the local endpoint on > the > > > inside of the tunnel? I've just been through hell and back trying to > get > > > some IPSec tunnels created (they're working now, thanks to all those who > > > helped me out), and this was one of my big stumbling blocks -- since I > > > couldn't ping the local or remote endpoint of the gif tunnel, I spent > much > > > time chasing down problems with gif when it wasn't a problem at all. [.....] The local endpoint can't be pinged unless you've got a route for it... that's just the way the routing code works. You can ping the local address for an Ethernet interface, but that's just because the hardware returns such packets. Adding a loopback route or address alias is the way to handle this. -- Brian http://www.freebsd-services.com/ Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message