gif interface not passing IPv6 packets

Gary Palmer gpalmer at freebsd.org
Mon Sep 26 16:05:28 UTC 2011


On Mon, Sep 26, 2011 at 04:04:00PM +0100, Matt Smith wrote:
> On 26 September 2011 15:21, Gary Palmer <gpalmer at 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


More information about the freebsd-net mailing list