Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2002 22:05:41 +0300
From:      Mikko Hyvarinen <mikko.hyvarinen@morphy.iki.fi>
To:        Lars Eggert <larse@ISI.EDU>
Cc:        net@freebsd.org, snap-users@kame.net
Subject:   Re: tun device & IPv6
Message-ID:  <20020515220541.C95759@morphy.iki.fi>
In-Reply-To: <3CE1A2C0.8050201@isi.edu>; from larse@ISI.EDU on Tue, May 14, 2002 at 04:50:24PM -0700
References:  <3CE1A2C0.8050201@isi.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020515220541.C95759>