Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Sep 2001 11:54:49 +0100
From:      Brian Somers <brian@freebsd-services.com>
To:        JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= <jinmei@isl.rdc.toshiba.co.jp>
Cc:        freebsd-net@FreeBSD.ORG, brian@freebsd-services.com
Subject:   Re: Forward: Re: ping gif0 
Message-ID:  <200109101054.f8AAsnJ57600@hak.lan.Awfulhak.org>
In-Reply-To: Message from JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= <jinmei@isl.rdc.toshiba.co.jp>  of "Mon, 10 Sep 2001 13:10:46 %2B0900." <y7vwv37it2x.wl@condor.jinmei.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@freebsd-services.com>                <brian@Awfulhak.org>
      http://www.freebsd-services.com/        <brian@[uk.]FreeBSD.org>
Don't _EVER_ lose your sense of humour !      <brian@[uk.]OpenBSD.org>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109101054.f8AAsnJ57600>