gif problems in -STABLE

Henrik Brix Andersen henrik at
Sat Dec 30 03:36:48 PST 2006

On Sat, Dec 30, 2006 at 02:56:35AM +0100, Dimitry Andric wrote:
> For some reason, the ifconfig command now fails to create the proper
> routing table entries.  With the 2006-11-03 kernel, if I configure my
> gif0 tunnel as follows:
> ifconfig gif0 create
> ifconfig gif0
> ifconfig gif0 inet6 2001:7b8:2ff:146::2 2001:7b8:2ff:146::1 prefixlen 128
> route add -inet6 default 2001:7b8:2ff:146::1

Apart from the two IPv4 endpoint addresses you also assign two IPv6
addresses with prefixlen 128 to the gif0 interface? Looks weird to

Try this configuration in /etc/rc.conf instead:

ipv6_ifconfig_gif0="2001:7b8:2ff:146::2 prefixlen 127"

This syntax works for my setup (and matches reality - gif0 is a tunnel
with two IPv4 endpoints). I have just tested it with RELENG_6 as of

Henrik Brix Andersen <henrik at>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 209 bytes
Desc: not available
Url :

More information about the freebsd-stable mailing list