Skip site navigation (1)Skip section navigation (2)
Message-ID:  <bug-278458-9@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278458

            Bug ID: 278458
           Summary: ng_bridge(4) states that uplinkX is valid, but fails
                    if uplink0 is given
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Manual Pages
          Assignee: bugs@FreeBSD.org
          Reporter: parakleta@darkreality.org
                CC: doc@FreeBSD.org

Most examples show ng_bridge being connected to ng_ether with :lower being
connected to :link0 (see /usr/share/examples/netgraph/virtual.lan among
others).

The ng_bridge man page suggests that it is desirable to connect the :lower =
hook
of ng_ether to an uplink hook of the form :uplinkX.

Unfortunately, when combining these two instructions we get an illegal
arrangement which responds with `ngctl: send msg: Invalid argument` and no
further explanation.

I had to read through the code changes in https://reviews.freebsd.org/D2396=
3 to
see that the uplink form was disallowed when the link number is 0 (see
`sys/netgraph/ng_bridge.c:360` in that commit).

It is not clear to me from that change request why 0 was disallowed, and th=
is
seems contrary to the common guidance on how to connect ng_bridge to ng_eth=
er,
so either this restriction should be removed or the man page should be upda=
ted
to be explicit that this is disallowed (and perhaps provide an example scen=
ario
which could be copied).

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278458-9>