Date: Fri, 23 Mar 2001 04:29:43 +0900 (JST) From: Hajimu UMEMOTO <ume@FreeBSD.org> To: asmodai@wxs.nl Cc: crossd@cs.rpi.edu, net@freebsd.org Subject: Re: gif(4) question Message-ID: <20010323.042943.59501050.ume@FreeBSD.org> In-Reply-To: <20010322111758.A7147@daemon.ninth-circle.org> References: <200103220152.UAA88304@cs.rpi.edu> <20010322111758.A7147@daemon.ninth-circle.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> On Thu, 22 Mar 2001 11:17:58 +0100 >>>>> Jeroen Ruigrok/Asmodai <asmodai@wxs.nl> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010323.042943.59501050.ume>