From owner-freebsd-net Thu Jun 27 3:35:18 2002 Delivered-To: freebsd-net@freebsd.org Received: from mailb.telia.se (mail.telia.se [131.115.15.109]) by hub.freebsd.org (Postfix) with ESMTP id 3286837B401 for <net@freebsd.org>; Thu, 27 Jun 2002 03:35:06 -0700 (PDT) Received: from mailb.telia.se (localhost [127.0.0.1]) by mailb.telia.se (8.11.6/8.11.6) with ESMTP id g5RAZ3m04265 for <net@freebsd.org>; Thu, 27 Jun 2002 12:35:03 +0200 (METDST) Received: from gripen.training.telia.se (gripen.training.telia.se [131.115.118.3]) by mailb.telia.se (8.11.6/8.11.6) with ESMTP id g5RAZ2w04247 for <net@freebsd.org>; Thu, 27 Jun 2002 12:35:02 +0200 (METDST) Received: from nisse.netplex.se (dator52.training.telia.se [131.115.118.52]) by gripen.training.telia.se (8.11.1/8.11.1) with ESMTP id g5RAZ0Z67027 for <net@freebsd.org>; Thu, 27 Jun 2002 12:35:01 +0200 (CEST) (envelope-from anders.hagman@netplex.se) Message-Id: <5.1.0.14.0.20020627122424.009f80d0@m1.480.telia.com> X-Sender: u48002568@m1.480.telia.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 27 Jun 2002 12:35:54 +0200 To: net@freebsd.org From: Anders Hagman <anders.hagman@netplex.se> Subject: Multi_af and ipv6 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: <freebsd-net.FreeBSD.ORG> List-Archive: <http://docs.freebsd.org/mail/> (Web Archive) List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions) List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-net> List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-net> X-Loop: FreeBSD.org Hej >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. As a plain user using ppp and tun, how do I turn on multi_af mode? I want to use ipv6 on tty/ppp-lines on FreeBSD acting as a router for an ipv6 course. NetBSD has support for ipv6 on pppd. Is it coming for FreeBSD? Regards MVH /Anders Anders Hagman Netplex AB, 070 370 03 95 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message