Bug 214153 - IPv6 handbook section uses cloned_interfaces_<iface> erroneously
Summary: IPv6 handbook section uses cloned_interfaces_<iface> erroneously
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Documentation (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Sevan Janiyan
URL: https://reviews.freebsd.org/D8427
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-11-02 23:57 UTC by John W. O'Brien
Modified: 2016-11-03 19:45 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John W. O'Brien 2016-11-02 23:57:05 UTC
See: https://www.freebsd.org/doc/handbook/network-ipv6.html

Section 30.9.3. Connecting to a Provider

Excerpt --

"""
The first /etc/rc.conf entry creates the generic tunneling interface gif0:

cloned_interfaces="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="MY_IPv4_ADDR REMOTE_IPv4_ADDR"
"""

cloned_interfaces_gif0 does not work. Instead use:

create_args_gif0="tunnel MY_IPv4_ADDR REMOVE_IPv4_ADDR"
Comment 1 Sevan Janiyan freebsd_committer 2016-11-03 00:29:19 UTC
(In reply to John W. O'Brien from comment #0)
Hi John,
Which version of FreeBSD?
Sometimes there is the issue with legacy releases where the instructions are perfectly valid on those releases.
Comment 2 Sevan Janiyan freebsd_committer 2016-11-03 00:37:17 UTC
(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.
Comment 3 commit-hook freebsd_committer 2016-11-03 19:42:53 UTC
A commit references this bug:

Author: sevan
Date: Thu Nov  3 19:41:54 UTC 2016
New revision: 49639
URL: https://svnweb.freebsd.org/changeset/doc/49639

Log:
  Use the correct variable name & command to setup the gif tunnel endpoints.

  PR:		214153
  Submitted by:	John W. O'Brien <john at saltant dot com>
  Approved by:	bcr (mentor)
  Differential Revision:	https://reviews.freebsd.org/D8427

Changes:
  head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml
Comment 4 Sevan Janiyan freebsd_committer 2016-11-03 19:45:20 UTC
Committed, thanks!