From owner-freebsd-net Wed May 15 12: 6:12 2002 Delivered-To: freebsd-net@freebsd.org Received: from morphy.iki.fi (baana-pppoes-213-139-166-84.suomi.net [213.139.166.84]) by hub.freebsd.org (Postfix) with SMTP id 2276D37B40C for ; Wed, 15 May 2002 12:05:48 -0700 (PDT) Received: (qmail 14097 invoked by uid 1000); 15 May 2002 19:05:41 -0000 Date: Wed, 15 May 2002 22:05:41 +0300 From: Mikko Hyvarinen To: Lars Eggert Cc: net@freebsd.org, snap-users@kame.net Subject: Re: tun device & IPv6 Message-ID: <20020515220541.C95759@morphy.iki.fi> References: <3CE1A2C0.8050201@isi.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3CE1A2C0.8050201@isi.edu>; from larse@ISI.EDU on Tue, May 14, 2002 at 04:50:24PM -0700 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 On Tue, May 14, 2002 at 04:50:24PM -0700, Lars Eggert wrote: > Hi, > > could someone with more knowledge of the tun device please take a look > at the code around line 387 in net/if_tun.c? It looks like tunoutput() > drops all packets here that aren't of the AF_INET family - most notably, > it drops IPv6 packets. > > We hacked around this with the simple fix below, but I'm not sure if > there are any drawbacks... > [clip] Is there a specific reason why you are not using the "multi-af" mode? IPv6 works just nicely with /usr/sbin/ppp (PPPoE), which uses if_tun in "multi-af" mode. Regards, Mikko -- All opinions expressed above are mine alone and do not express the views of my employer or any other organizations that I am affiliated with. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message