ifconfig gif0 and rc.conf [was: Re: IP packet with options]

Bruce Cran bruce at cran.org.uk
Sat Mar 22 09:52:07 PDT 2008


Malcolm Clarke wrote:
> We are trying to configure an IPv6 tunnel for IPSec, ie IPv6 in IPv6.
> 
> The command line would be
> 
> ifconfig gif0 inet6 tunnel src-addr dst_addr (IPv6 addresses)
> 
> There appears to be no equivalent line for rc.conf.
> 
> Regards
> 
> Malcolm

To configure an if_gif interface for IPv6 use:

ipv6_ifconfig_gif0="src-addr dst_addr"

--
Bruce


More information about the freebsd-questions mailing list