From owner-freebsd-net Thu Mar 22 2:18:12 2001 Delivered-To: freebsd-net@freebsd.org Received: from njord.bart.nl (njord.bart.nl [194.158.170.15]) by hub.freebsd.org (Postfix) with ESMTP id 1268037B719; Thu, 22 Mar 2001 02:18:08 -0800 (PST) (envelope-from asmodai@wxs.nl) Received: from daemon.chronias.ninth-circle.org (root@cable.ninth-circle.org [195.38.232.6]) by njord.bart.nl (8.10.1/8.10.1) with ESMTP id f2MAI5i87231; Thu, 22 Mar 2001 11:18:05 +0100 (CET) Received: (from asmodai@localhost) by daemon.chronias.ninth-circle.org (8.11.2/8.11.0) id f2MAHxX07751; Thu, 22 Mar 2001 11:17:59 +0100 (CET) (envelope-from asmodai) Date: Thu, 22 Mar 2001 11:17:58 +0100 From: Jeroen Ruigrok/Asmodai To: "David E. Cross" Cc: net@freebsd.org Subject: Re: gif(4) question Message-ID: <20010322111758.A7147@daemon.ninth-circle.org> References: <200103220152.UAA88304@cs.rpi.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200103220152.UAA88304@cs.rpi.edu>; from crossd@cs.rpi.edu on Wed, Mar 21, 2001 at 08:52:45PM -0500 Organisation: Ninth-Circle Enterprises Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [This question is more appropriate for -net IMHO] -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). I think that's how it is supposed to be given that gif's main function is to tunnel things and it works on a point-to-point basis. I might be wrong, in which case I am sure UMEMOTO-san or ITOJUN-san will correct me. -- Jeroen Ruigrok van der Werven/Asmodai .oUo. asmodai@[wxs.nl|freebsd.org] Documentation nutter/C-rated Coder BSD: Technical excellence at its best D78D D0AD 244D 1D12 C9CA 7152 035C 1138 546A B867 What is to be, will be. And what isn't to be sometimes happens... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message