summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2006-10-11 21:00:02 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2006-10-11 21:00:02 +0000
commit757f6a12a96cfed363d06265d45eca1c8ea9a714 (patch)
tree2675669d88bf7d060ac5b45a3ceb3db416ecded6 /share
parent93ee72a1947f84b436d1ae296e0e315fd72c7733 (diff)
Notes
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/if_bridge.420
1 files changed, 19 insertions, 1 deletions
diff --git a/share/man/man4/if_bridge.4 b/share/man/man4/if_bridge.4
index 0479906f4429..1dc6b2982373 100644
--- a/share/man/man4/if_bridge.4
+++ b/share/man/man4/if_bridge.4
@@ -35,7 +35,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd August 13, 2006
+.Dd October 8, 2006
.Dt IF_BRIDGE 4
.Os
.Sh NAME
@@ -77,6 +77,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
@@ -226,6 +233,17 @@ ifconfig bridge0 \e
up
.Ed
.Pp
+The bridge can be used as a regular host interface at the same time as bridging
+between its member ports.
+In this example, the bridge connects em0 and em1, and will receive its 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