Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2011 17:16:59 +0100
From:      Matt Smith <matt@xtaz.co.uk>
To:        Gary Palmer <gpalmer@freebsd.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: gif interface not passing IPv6 packets
Message-ID:  <CAD0n1vH1cXCfj7W7RJKk90%2BrZfLuM5JNaRoa_0JgbC84GRyi3A@mail.gmail.com>
In-Reply-To: <20110926160527.GD57708@in-addr.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> <20110926160527.GD57708@in-addr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 26 September 2011 17:05, Gary Palmer <gpalmer@freebsd.org> wrote:

>
> 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.
>
>
Here we go:

 root@tao[~]# ifconfig vr0 inet6 2a01:348:294::1 prefixlen 64 -alias
root@tao[~]# ifconfig gif0 destroy
root@tao[~]# ifconfig gif0
ifconfig: interface gif0 does not exist
Internet6:
Destination                       Gateway                       Flags
Netif Expire
::/96                             ::1                           UGRS
lo0
::1                               ::1                           UH
lo0
::ffff:0.0.0.0/96                 ::1                           UGRS
lo0
(deleted fe80, ff01, ff02 to save space)
root@tao[~]# ifconfig gif0 create
root@tao[~]# ifconfig gif0 tunnel 192.168.1.2 1.2.3.4
root@tao[~]# ifconfig gif0 inet6 2abc::2 2abc::1 prefixlen 128
root@tao[~]# netstat -nr -f inet6 | grep 2abc
2abc::1                           2abc::2                       UH
gif0
ff01:5::/32                       2abc::2                       U
gif0
ff02::%gif0/32                    2abc::2                       U
gif0
root@tao[~]# ping6 2abc::2
ping6: UDP connect: No route to host

You see why I'm exceptionally confused now?!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAD0n1vH1cXCfj7W7RJKk90%2BrZfLuM5JNaRoa_0JgbC84GRyi3A>