mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
- 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
This commit is contained in:
parent
bfb06714ec
commit
69f35a88d2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163137
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user