Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Sep 2001 12:55:13 -0400 (EDT)
From:      "Jasper O'Malley" <jooji@nickelkid.com>
To:        freebsd-questions@freebsd.org
Subject:   Netgraph bridging: what is LOCAL_IFACE?
Message-ID:  <Pine.BSF.4.21.0109281246400.16336-100000@cornflake.nickelkid.com>

next in thread | raw e-mail | index | archive | help

I'm trying to learn more about the netgraph bridging module, and I ran
across this comment in /usr/share/examples/netgraph/ether.bridge:

[quote]

# List the names of the interfaces that you want to bridge across
# here in ${BRIDGE_IFACES}. If you want to include the local host
# machine as well then set ${LOCAL_IFACE} as well (it may also be
# listed in ${BRIDGE_IFACES}). Of course, any ${LOCAL_IFACE} must
# be ifconfig(8)ured separately. If you don't want a ${LOCAL_IFACE}
# then leave it defined as the emtpy string.

[end quote]

The sentence:

   If you want to include the local host machine as well then set
   ${LOCAL_IFACE} as well (it may also be listed in ${BRIDGE_IFACES}).

is confusing. Can someone clarify what this says? Include the "local
host machine" in what, exactly? What is meant by the "local host
machine" in this context? What is the significance of the LOCAL_IFACE
interface? Why would one want to define a LOCAL_IFACE, rather than simply
using the bridge interface? Unfortunately, I don't yet know enough about
netgraph in general to figure it out from reading the rest of the
bridge-creation script.

Cheers,
Mick


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0109281246400.16336-100000>