summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2006-10-08 19:41:05 +0000
committerthompsa <thompsa@FreeBSD.org>2006-10-08 19:41:05 +0000
commit6ef560faa087d804b9941821595121fde8612b3a (patch)
treee835c5524d7dcc69941a179077fdf9a4f812eaf8 /share/man
parentdf130660f1fab9aab0570bd2318005e364c7ff24 (diff)
downloadFreeBSD-src-6ef560faa087d804b9941821595121fde8612b3a.zip
FreeBSD-src-6ef560faa087d804b9941821595121fde8612b3a.tar.gz
- Note that the bridge uses a random MAC and can be overridden.
- Provide an example of assigning an IP to the bridge. PR: kern/102607 Submitted by: Stefan Bethke <stb@lassitu.de> MFC after: 3 days
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man4/if_bridge.418
1 files changed, 18 insertions, 0 deletions
diff --git a/share/man/man4/if_bridge.4 b/share/man/man4/if_bridge.4
index ca3afcb..ea43589 100644
--- a/share/man/man4/if_bridge.4
+++ b/share/man/man4/if_bridge.4
@@ -78,6 +78,13 @@ command or using the
variable in
.Xr rc.conf 5 .
.Pp
+The
+.Nm
+interface randomly chooses a link (MAC) address in the range reserved for
+locally adminstered addresses when it is created.
+The address can be changed by assigning the desired link address using
+.Xr ifconfig 8 .
+.Pp
A bridge can be used to provide several services, such as a simple
802.11-to-Ethernet bridge for wireless hosts, and traffic isolation.
.Pp
@@ -232,6 +239,17 @@ ifconfig bridge0 \e
up
.Ed
.Pp
+The bridge can be used as a regular host interface at the same time as bridging
+between it's member ports.
+In this example, the bridge connects em0 and em1, and will receive it's IP
+address through DHCP:
+.Bd -literal -offset indent
+cloned_interfaces="bridge0"
+ifconfig_bridge0="addm em0 addm em1 DHCP"
+ifconfig_em0="up"
+ifconfig_em1="up"
+.Ed
+.Pp
The bridge can tunnel Ethernet across an IP internet using the EtherIP
protocol.
This can be combined with
OpenPOWER on IntegriCloud