From owner-freebsd-net Wed Jun 13 4:16:14 2001 Delivered-To: freebsd-net@freebsd.org Received: from imo-d02.mx.aol.com (imo-d02.mx.aol.com [205.188.157.34]) by hub.freebsd.org (Postfix) with ESMTP id 0F14E37B40D for ; Wed, 13 Jun 2001 04:16:07 -0700 (PDT) (envelope-from raviprasad20@netscape.net) Received: from raviprasad20@netscape.net by imo-d02.mx.aol.com (mail_out_v30.22.) id n.5e.5655f6 (16229) for ; Wed, 13 Jun 2001 07:16:03 -0400 (EDT) Received: from netscape.com (aimmail01.aim.aol.com [205.188.144.193]) by air-in02.mx.aol.com (v78_r3.8) with ESMTP; Wed, 13 Jun 2001 07:16:02 -0400 Date: Wed, 13 Jun 2001 07:16:02 -0400 From: raviprasad20@netscape.net To: freebsd-net@freebsd.org Subject: Automatic tunneling Mime-Version: 1.0 Message-ID: <092B7733.7F64FCA1.9513E96F@netscape.net> X-Mailer: Franklin Webmailer 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, My this doubt is regarding automatic tunneling. I know that freeBSd doesnot support it. But i feel u can guide me in this. Suppose iam implementing automatic tunneling then is there a need for me to use any of the gif interfaces. I feel that with the present freeBSD architecture i can implement automatic tunneling. My idea is this when ever an ipv6 packet is to be sent over an ipv4 cloud then i should call the gif_output() in the nd6_output(). In the gif_output() i should generate the encapsulation header & call ip_output() to send the packet. The only preoblem for me is to identify that the packet is to be sent over an ipv4 cloud. In the configured tunneling case we have a routing entry & it takes care of calling gif_output(). FreeBSD uses the routing table to find the interface through which the packet is to be sent. In this case if i have to send the packet through an ipv4 cloud then i should specify the interface so that gif_output() is called. Kindly tell is there a way for me to find that the packet is to be tunneled in advance. regards ravi prasad __________________________________________________________________ Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message