[Bug 196343] New: ipsec gif0 setup missing netmask

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 29 00:14:48 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196343

            Bug ID: 196343
           Summary: ipsec gif0 setup missing netmask
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Documentation
          Assignee: freebsd-doc at FreeBSD.org
          Reporter: ari at ish.com.au

The IPSec documentation may contain a bug.

    https://www.freebsd.org/doc/handbook/ipsec.html

In particular, the command is given as:

    # ifconfig gif0 internal1 internal2

and then the resulting gif0 interface looks like

    inet 10.246.38.1 --> 10.0.0.5 netmask 0xffffff00

It would appear that the mask is missing from the command like so:

    # ifconfig gif0 internal1 netmask 255.255.255.0 internal2


Even better, since example IP addresses are used in these docs, write it like
this:


    # ifconfig gif0 10.246.38.1 netmask 255.255.255.0 10.0.0.5

and it will be much clearer as to which IP address you are supposed to put
where. The documentation never explains which end of the link is supposed to be
internal1 and which is internal2. At the very least, rename them as
external_remote and external_local.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-doc mailing list