From owner-freebsd-net Wed Jun 13 4:28: 2 2001 Delivered-To: freebsd-net@freebsd.org Received: from alacran.it.uc3m.es (alacran.it.uc3m.es [163.117.139.44]) by hub.freebsd.org (Postfix) with ESMTP id 6EBEF37B401 for ; Wed, 13 Jun 2001 04:27:57 -0700 (PDT) (envelope-from jrh@it.uc3m.es) Received: from it.uc3m.es (localhost [127.0.0.1]) by alacran.it.uc3m.es (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with ESMTP id f5DBT3p06795 for ; Wed, 13 Jun 2001 13:29:03 +0200 X-Authentication-Warning: alacran.it.uc3m.es: Host localhost [127.0.0.1] claimed to be it.uc3m.es Message-ID: <3B274E7F.7454D577@it.uc3m.es> Date: Wed, 13 Jun 2001 13:29:03 +0200 From: Juan Fco Rodriguez Hervella X-Mailer: Mozilla 4.74 [es] (X11; U; Linux 2.4.3 i686) X-Accept-Language: en MIME-Version: 1.0 To: Lista Subject: Re: Automatic tunneling References: <092B7733.7F64FCA1.9513E96F@netscape.net> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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 The automatic tunneling uses addresses of the form ::, so if you detect that the destination is of this form, means that the packet should be 'automatically' encapsulated. Correct me if I am wrong. raviprasad20@netscape.net escribi=F3: > = > Hi, > My this doubt is regarding automatic tunneling. I know that freeBSd doe= snot support it. But i feel u can guide me in this. > Suppose iam implementing automatic tunneling then is there a need for m= e to use any of the gif interfaces. > = > I feel that with the present freeBSD architecture i can implement autom= atic tunneling. My idea is this when ever an ipv6 packet is to be sent ov= er 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 o= ver an ipv4 cloud. In the configured tunneling case we have a routing ent= ry & 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 a= n 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 tunn= eled in advance. > = > regards > ravi prasad > __________________________________________________________________ > Get your own FREE, personal Netscape Webmail account today at http://we= bmail.netscape.com/ > = > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message -- = ********************************* Juan F. Rodriguez Hervella Universidad Carlos III de Madrid ******************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message