Setting up IPv6 in /etc/rc.conf

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Fri Oct 15 20:55:12 UTC 2010


On Fri, 15 Oct 2010, Mark Murray wrote:

> Alexey Shuvaev writes:
>>> gifconfig_gif0_ipv6="2001:1111:2222:3333::2 2001:1111:2222:3333::1 prefixlen 128"
>> 		     ^^^^		   ^^^^
>> I suppose you should prefix it with "inet6" keyword.
>> There are 2 examples in rc.conf (search for "Sample IPv6").
>
> Aaaaah!
>
> It didn't occur to me that I might need TWO inet6's! I'll give that a go when
> I play with this again tomorrow.

It's just one inet6; put there what you would pass to ifconfig on the
command line.  The fact that ifconfig defaults to "inet" is the
problem leading to more confusion.

I think the samples in defaults/rc.conf will be more clear soon.

/bz

-- 
Bjoern A. Zeeb                              Welcome a new stage of life.


More information about the freebsd-current mailing list