Section 30.9.3. Connecting to a Provider
The first /etc/rc.conf entry creates the generic tunneling interface gif0:
Next, configure that interface with the IPv4 addresses of the local and remote endpoints. Replace MY_IPv4_ADDR and REMOTE_IPv4_ADDR with the actual IPv4 addresses:
cloned_interfaces_gif0 does not work. Instead use:
create_args_gif0="tunnel MY_IPv4_ADDR REMOVE_IPv4_ADDR"
(In reply to John W. O'Brien from comment #0)
Which version of FreeBSD?
Sometimes there is the issue with legacy releases where the instructions are perfectly valid on those releases.
(In reply to Sevan Janiyan from comment #1)
Apologies, I was quick off the mark there & assumed another scenario with regards to legacy releases with verifying that was the case before I responded.
A commit references this bug:
Date: Thu Nov 3 19:41:54 UTC 2016
New revision: 49639
Use the correct variable name & command to setup the gif tunnel endpoints.
Submitted by: John W. O'Brien <john at saltant dot com>
Approved by: bcr (mentor)
Differential Revision: https://reviews.freebsd.org/D8427