Changeset View
Changeset View
Standalone View
Standalone View
share/man/man4/lagg.4
Show All 10 Lines | |||||
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||||
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||||
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||||
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||||
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd November 18, 2017 | .Dd October 21, 2020 | ||||
.Dt LAGG 4 | .Dt LAGG 4 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm lagg | .Nm lagg | ||||
.Nd link aggregation and link failover interface | .Nd link aggregation and link failover interface | ||||
.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 159 Lines • ▼ Show 20 Lines | |||||
# ifconfig create wlan0 wlandev ath0 ssid my_net up | # ifconfig create wlan0 wlandev ath0 ssid my_net up | ||||
# ifconfig lagg0 create | # ifconfig lagg0 create | ||||
# ifconfig lagg0 laggproto failover laggport em0 laggport wlan0 \e | # ifconfig lagg0 laggproto failover laggport em0 laggport wlan0 \e | ||||
192.168.1.1 netmask 255.255.255.0 | 192.168.1.1 netmask 255.255.255.0 | ||||
.Ed | .Ed | ||||
.Pp | .Pp | ||||
(Note the mac address of the wireless device is forced to match the wired | (Note the mac address of the wireless device is forced to match the wired | ||||
device as a workaround.) | device as a workaround.) | ||||
.Pp | |||||
The following example shows how to create an infiniband failover interface. | |||||
.Bd -literal -offset indent | |||||
# ifconfig ib0 up | |||||
# ifconfig ib1 up | |||||
# ifconfig lagg0 create laggtype infiniband | |||||
# ifconfig lagg0 laggproto failover laggport ib0 laggport ib1 \e | |||||
1.1.1.1 netmask 255.255.255.0 | |||||
.Ed | |||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||
.Xr ng_one2many 4 , | .Xr ng_one2many 4 , | ||||
.Xr ifconfig 8 , | .Xr ifconfig 8 , | ||||
.Xr sysctl 8 | .Xr sysctl 8 | ||||
.Sh HISTORY | .Sh HISTORY | ||||
The | The | ||||
.Nm | .Nm | ||||
device first appeared in | device first appeared in | ||||
Show All 18 Lines |