Index: share/man/man5/rc.conf.5 =================================================================== --- share/man/man5/rc.conf.5 +++ share/man/man5/rc.conf.5 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 24, 2017 +.Dd November 20, 2017 .Dt RC.CONF 5 .Os .Sh NAME @@ -1816,15 +1816,28 @@ Set to the list of .Xr gif 4 tunnel interfaces to configure on this host. -A -.Va gifconfig_ Ns Aq Ar interface -variable is assumed to exist for each value of -.Ar interface . +For each +.Xr gif +tunnel interface, set a variable named +.Va ifconfig_ Ns Aq Ar interface +with the parameters for the +.Xr ifconfig 8 +command to configure the link level for +.Ar interface +with the +.Cm tunnel +option. The value of this variable is used to configure the link layer of the -tunnel according to the syntax of the +tunnel using the .Cm tunnel option to .Xr ifconfig 8 . +For example, configure two +.Xr gif +interfaces with +.D1 Li gif_interfaces="gif0 gif1" +.D1 Li ifconfig_gif0="tunnel src_addr0 dst_addr0" +.D1 Li ifconfig_gif1="tunnel src_addr1 dst_addr1" Additionally, this option ensures that each listed interface is created via the .Cm create