Changeset View
Changeset View
Standalone View
Standalone View
head/share/man/man4/bridge.4
Show All 29 Lines | |||||
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | ||||
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||||
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||||
.\" POSSIBILITY OF SUCH DAMAGE. | .\" POSSIBILITY OF SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd October 16, 2017 | .Dd February 01, 2020 | ||||
.Dt IF_BRIDGE 4 | .Dt IF_BRIDGE 4 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm if_bridge | .Nm if_bridge | ||||
.Nd network bridge device | .Nd network bridge device | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
To compile this driver into the kernel, | To compile this driver into the kernel, | ||||
place the following line in your | place the following line in your | ||||
▲ Show 20 Lines • Show All 428 Lines • ▼ Show 20 Lines | |||||
interface and set the local and remote IP addresses for the | interface and set the local and remote IP addresses for the | ||||
tunnel, these are reversed on the remote bridge. | tunnel, these are reversed on the remote bridge. | ||||
.Bd -literal -offset indent | .Bd -literal -offset indent | ||||
ifconfig gif0 create | ifconfig gif0 create | ||||
ifconfig gif0 tunnel 1.2.3.4 5.6.7.8 up | ifconfig gif0 tunnel 1.2.3.4 5.6.7.8 up | ||||
ifconfig bridge0 create | ifconfig bridge0 create | ||||
ifconfig bridge0 addm fxp0 addm gif0 up | ifconfig bridge0 addm fxp0 addm gif0 up | ||||
.Ed | .Ed | ||||
.Pp | |||||
Note that | |||||
.Fx | |||||
6.1, 6.2, 6.3, 7.0, 7.1, and 7.2 have a bug in the EtherIP protocol. | |||||
For more details and workaround, see the | |||||
.Xr gif 4 | |||||
manual page. | |||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||
.Xr gif 4 , | .Xr gif 4 , | ||||
.Xr ipf 4 , | .Xr ipf 4 , | ||||
.Xr ipfw 4 , | .Xr ipfw 4 , | ||||
.Xr pf 4 , | .Xr pf 4 , | ||||
.Xr ifconfig 8 | .Xr ifconfig 8 | ||||
.Sh HISTORY | .Sh HISTORY | ||||
The | The | ||||
Show All 24 Lines |