gifconfig_gifX not working with cloned_interfaces?

Darren Pilgrim list_freebsd at bluerosetech.com
Tue Feb 11 21:16:28 UTC 2014


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"




More information about the freebsd-net mailing list