From owner-freebsd-net Thu Mar 22 11:34:10 2001 Delivered-To: freebsd-net@freebsd.org Received: from peace.mahoroba.org (peace.calm.imasy.or.jp [202.227.26.34]) by hub.freebsd.org (Postfix) with ESMTP id 3CCD737B71A for ; Thu, 22 Mar 2001 11:34:06 -0800 (PST) (envelope-from ume@FreeBSD.org) Received: from localhost (IDENT:nZHQSZJ51ZZ/2sUVwJW3PrLCNMTrlcdxEH/lFi5vZdt+v1sHbtTiYmGDtedMV8mO@localhost [::1]) (authenticated as ume with CRAM-MD5) by peace.mahoroba.org (8.11.3/8.11.3/peace) with ESMTP/inet6 id f2MJTmX93104; Fri, 23 Mar 2001 04:29:49 +0900 (JST) (envelope-from ume@FreeBSD.org) Date: Fri, 23 Mar 2001 04:29:43 +0900 (JST) Message-Id: <20010323.042943.59501050.ume@FreeBSD.org> To: asmodai@wxs.nl Cc: crossd@cs.rpi.edu, net@freebsd.org Subject: Re: gif(4) question From: Hajimu UMEMOTO In-Reply-To: <20010322111758.A7147@daemon.ninth-circle.org> References: <200103220152.UAA88304@cs.rpi.edu> <20010322111758.A7147@daemon.ninth-circle.org> X-Mailer: xcite1.38> Mew version 1.95b115 on Emacs 20.7 / Mule 4.0 =?iso-2022-jp?B?KBskQjJWMWMbKEIp?= X-PGP-Public-Key: http://www.imasy.org/~ume/publickey.asc X-PGP-Fingerprint: 6B 0C 53 FC 5D D0 37 91 05 D0 B3 EF 36 9B 6A BC X-URL: http://www.imasy.org/~ume/ X-OS: FreeBSD 5.0-CURRENT Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>>>> On Thu, 22 Mar 2001 11:17:58 +0100 >>>>> Jeroen Ruigrok/Asmodai said: asmodai> [This question is more appropriate for -net IMHO] asmodai> -On [20010322 03:00], David E. Cross (crossd@cs.rpi.edu) wrote: >I recently tried (for the first time) to get gif running under FreeBSD >4.3-BETA (cvsup-ed yesterday). I noticed the following: > >gifconfig gif0 inet 10.1.1.1 10.1.2.1 >ifconfig gif0 192.168.1.1 192.168.1.2 netmask 0xffffff00 > >and then I 'ping 192.168.1.1' it will try to route the packet instead of >reply directly. I need to 'route add 192.168.1.1 127.0.0.1' to have it >reply to the packet directly. I don't need to do this for other types >of interfaces... did I mess something up, is this how it is supposed to >be (doesn't seem to be documented as such). asmodai> I think that's how it is supposed to be given that gif's main function asmodai> is to tunnel things and it works on a point-to-point basis. asmodai> I might be wrong, in which case I am sure UMEMOTO-san or ITOJUN-san will asmodai> correct me. Since routing info to ::1 is allocated in IPv6 case, I think it should be alloacated to 127.0.0.1 also in IPv4 case. -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message