Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2014 13:16:20 -0800
From:      Darren Pilgrim <list_freebsd@bluerosetech.com>
To:        Kimmo Paasiala <kpaasial@icloud.com>, freebsd-net@freebsd.org
Subject:   Re: gifconfig_gifX not working with cloned_interfaces?
Message-ID:  <52FA9324.9070301@bluerosetech.com>
In-Reply-To: <F73EF686-ECA1-4F70-9D15-7D8C336A4FB7@icloud.com>
References:  <3688B949-7F3B-47FE-8C6A-193805AE2B27@icloud.com> <CA%2Bq%2BTcqccvZkts4TGB8QSn_YsNXoCCt%2BWkOZfNdJp2Z%2BYThEMA@mail.gmail.com> <BDD51EA3-06FE-431C-84D9-8FE3671BD05A@icloud.com> <F73EF686-ECA1-4F70-9D15-7D8C336A4FB7@icloud.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2/11/2014 10:37 AM, Kimmo Paasiala wrote:
> Has anyone had time to look at this issue? I could try to come up
> with a fix myself but I’d first like to know what is the proper way
> configure gif(4) interfaces with FreeBSD 10. If gif_interfaces is
> deprecated then is gifconfig_gifX also deprecated? If gifconfig_gifX
> is also deprecated then this is a documentation issue and also the
> rc(8) scripts should warn about using it like they do now warn about
> gif_interfaces. If gifconfig_gifX is still valid then something must
> be done about the handling of cloned_interfaces in rc.conf. -Kimmo

IMO it's deprecated, a documentation issue and rc should warn.  The 
gifconfig approach is obsolete due to no support for tunneling over 
IPv6.  I asked about it a while back, but got silence.

Just use cloned_interfaces and ifconfig:

cloned_interfaces="gif0"
ifconfig_gif0="inet6 tunnel 2001:db8::1 2001:db8::2 -accept_rtadv"
ifconfig_gif0_alias0="inet 192.0.2.1 192.0.2.2 netmask 255.255.255.255"





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