From owner-freebsd-current Fri Feb 18 13:27:50 2000 Delivered-To: freebsd-current@freebsd.org Received: from fgwmail7.fujitsu.co.jp (fgwmail7.fujitsu.co.jp [192.51.44.37]) by hub.freebsd.org (Postfix) with ESMTP id 4052337BA51 for ; Fri, 18 Feb 2000 13:27:48 -0800 (PST) (envelope-from shin@nd.net.fujitsu.co.jp) Received: from m3.gw.fujitsu.co.jp by fgwmail7.fujitsu.co.jp (8.9.3/3.7W-MX0002-Fujitsu Gateway) id GAA17177; Sat, 19 Feb 2000 06:27:26 +0900 (JST) (envelope-from shin@nd.net.fujitsu.co.jp) Received: from incapgw.fujitsu.co.jp by m3.gw.fujitsu.co.jp (8.9.3/3.7W-0002-Fujitsu Domain Master) id GAA11260; Sat, 19 Feb 2000 06:27:25 +0900 (JST) Received: from localhost ([192.168.245.85]) by incapgw.fujitsu.co.jp (8.9.3/3.7W-0002) id GAA06860; Sat, 19 Feb 2000 06:27:24 +0900 (JST) To: cob@gnt.kiev.ua Cc: freebsd-current@FreeBSD.ORG Subject: Re: IP tunnel In-Reply-To: <87og9eg413.fsf@rock.gnt.kiev.ua> References: <87og9eg413.fsf@rock.gnt.kiev.ua> X-Mailer: Mew version 1.94 on Emacs 20.4 / Mule 4.0 (HANANOEN) X-Prom-Mew: Prom-Mew 1.93.4 (procmail reader for Mew) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000219062805W.shin@nd.net.fujitsu.co.jp> Date: Sat, 19 Feb 2000 06:28:05 +0900 From: Yoshinobu Inoue X-Dispatcher: imput version 990905(IM130) Lines: 43 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hello! > > What about ${subj} in current? > Or maybe someone know how to make > ip tunnel on current using patches, tools, etc.? > > Thanx. Maybe there are several ways, and one thing I know is gif interface recently added. It can be used by adding following entry in your kernel config. (Any number can be specified.) pseudo-device gif 4 It can do, IPv6 over IPv4 IPv4 over IPv6 IPv4 over IPv4 IPv6 over IPv6 tunnelings. To configure outer addresses, use gifconfig, like, gifconfig gif0 10.1.1.1 10.1.1.2 You need to do opposite on the 10.1.1.2 machine. And to configure inner addresses, just use ifconfig for gif interfaces. Also please take care not to create infinite loop tunnel, when you do, IPv4 over IPv4 IPv6 over IPv6 Please check man for gifconfig for details. Yoshinobu Inoue To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message