Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2011 12:05:27 -0400
From:      Gary Palmer <gpalmer@freebsd.org>
To:        Matt Smith <matt@xtaz.co.uk>
Cc:        freebsd-net@freebsd.org
Subject:   Re: gif interface not passing IPv6 packets
Message-ID:  <20110926160527.GD57708@in-addr.com>
In-Reply-To: <CAD0n1vESKKmBXPqud07TmhsUJeTecktPumLWuMxp=rDUk0NuBg@mail.gmail.com>
References:  <CAD0n1vG0fvHMkBxxLRq0Y%2Bx9rDt5AXb4WZhq-oxuqpti4mQC7w@mail.gmail.com> <20110926132923.GB57708@in-addr.com> <CAD0n1vFB6h9h%2BBe9DOCwxi9aECBvkTvf8g7C_tsQxXXFv90XKw@mail.gmail.com> <20110926142114.GC57708@in-addr.com> <CAD0n1vESKKmBXPqud07TmhsUJeTecktPumLWuMxp=rDUk0NuBg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 26, 2011 at 04:04:00PM +0100, Matt Smith wrote:
> On 26 September 2011 15:21, Gary Palmer <gpalmer@freebsd.org> wrote:
> > Smells like a routing table problem or similar configuration problem.
> > On my tunnel endpoint, admitedly running 7.4 not 8.x or head, pings
> > to the LOCAL endpoint of the gif0 tunnel go over lo0, not the external
> > interface (gif0). ?I believe that is true for all IPv4 or IPv6 traffic.
> 
> Interesting. You could be right then. But I still don't understand
> what could have changed as the rc.conf configuration for this is
> identical to what it was before the power cut. The deprecated part
> just makes the outgoing source address algorithm favour the vr0
> address, but the same happens no matter if I include that or not.

Not sure, however an experiment may be in order

# ifconfig gif0 
ifconfig: interface gif0 does not exist
# ifconfig gif0 create
# ifconfig gif0 tunnel <lan IP> 1.2.3.4
# ifconfig gif0 inet6 2abc::2 2abc::1 prefixlen 128
# netstat -nr -f inet6 | grep 2abc
2abc::1                           link#8                        UHL        gif0
2abc::2                           link#8                        UHL         lo0
# ifconfig gif0 destroy

See if your routing table is correct after the test you proposed earlier.

Gary



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