Deleted Added
full compact
lagg.4 (290450) lagg.4 (294615)
1.\" $OpenBSD: trunk.4,v 1.18 2006/06/09 13:53:34 jmc Exp $
2.\"
3.\" Copyright (c) 2005, 2006 Reyk Floeter <reyk@openbsd.org>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\"
1.\" $OpenBSD: trunk.4,v 1.18 2006/06/09 13:53:34 jmc Exp $
2.\"
3.\" Copyright (c) 2005, 2006 Reyk Floeter <reyk@openbsd.org>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\"
17.\" $FreeBSD: head/share/man/man4/lagg.4 290450 2015-11-06 15:33:27Z smh $
17.\" $FreeBSD: head/share/man/man4/lagg.4 294615 2016-01-23 04:18:44Z araujo $
18.\"
18.\"
19.Dd November 6, 2015
19.Dd January 23, 2016
20.Dt LAGG 4
21.Os
22.Sh NAME
23.Nm lagg
24.Nd link aggregation and link failover interface
25.Sh SYNOPSIS
26To compile this driver into the kernel,
27place the following line in your

--- 77 unchanged lines hidden (view full) ---

105This is a static setup and does not negotiate aggregation with the peer or
106exchange frames to monitor the link.
107The hash includes the Ethernet source and destination address, and, if
108available, the VLAN tag, and the IP source and destination address.
109.It Ic roundrobin
110Distributes outgoing traffic using a round-robin scheduler
111through all active ports and accepts incoming traffic from
112any active port.
20.Dt LAGG 4
21.Os
22.Sh NAME
23.Nm lagg
24.Nd link aggregation and link failover interface
25.Sh SYNOPSIS
26To compile this driver into the kernel,
27place the following line in your

--- 77 unchanged lines hidden (view full) ---

105This is a static setup and does not negotiate aggregation with the peer or
106exchange frames to monitor the link.
107The hash includes the Ethernet source and destination address, and, if
108available, the VLAN tag, and the IP source and destination address.
109.It Ic roundrobin
110Distributes outgoing traffic using a round-robin scheduler
111through all active ports and accepts incoming traffic from
112any active port.
113Using
114.Ic roundrobin
115mode can cause unordered packet arrival at the client.
116Throughput might be limited as the client performs CPU-intensive packet
117reordering.
113.It Ic broadcast
114Sends frames to all ports of the LAG and receives frames on
115any port of the LAG.
116.It Ic none
117This protocol is intended to do nothing: it disables any traffic without
118disabling the
119.Nm
120interface itself.

--- 35 unchanged lines hidden (view full) ---

156.Bd -literal -offset indent
157# ifconfig bge0 up
158# ifconfig bge1 up
159# ifconfig lagg0 create
160# ifconfig lagg0 laggproto lacp laggport bge0 laggport bge1 \e
161 192.168.1.1 netmask 255.255.255.0
162.Ed
163.Pp
118.It Ic broadcast
119Sends frames to all ports of the LAG and receives frames on
120any port of the LAG.
121.It Ic none
122This protocol is intended to do nothing: it disables any traffic without
123disabling the
124.Nm
125interface itself.

--- 35 unchanged lines hidden (view full) ---

161.Bd -literal -offset indent
162# ifconfig bge0 up
163# ifconfig bge1 up
164# ifconfig lagg0 create
165# ifconfig lagg0 laggproto lacp laggport bge0 laggport bge1 \e
166 192.168.1.1 netmask 255.255.255.0
167.Ed
168.Pp
169Create a link aggregation using ROUNDROBIN with two
170.Xr bge 4
171Gigabit Ethernet interfaces and set the limit of 500 packets
172per interface:
173.Bd -literal -offset indent
174# ifconfig bge0 up
175# ifconfig bge1 up
176# ifconfig lagg0 create
177# ifconfig lagg0 laggproto roundrobin laggport bge0 laggport bge1 \e
178 192.168.1.1 netmask 255.255.255.0
179# ifconfig lagg0 rr_limit 500
180.Ed
181.Pp
164The following example uses an active failover interface to set up roaming
165between wired and wireless networks using two network devices.
166Whenever the wired master interface is unplugged, the wireless failover
167device will be used:
168.Bd -literal -offset indent
169# ifconfig em0 up
170# ifconfig ath0 ether 00:11:22:33:44:55
171# ifconfig create wlan0 wlandev ath0 ssid my_net up

--- 33 unchanged lines hidden ---
182The following example uses an active failover interface to set up roaming
183between wired and wireless networks using two network devices.
184Whenever the wired master interface is unplugged, the wireless failover
185device will be used:
186.Bd -literal -offset indent
187# ifconfig em0 up
188# ifconfig ath0 ether 00:11:22:33:44:55
189# ifconfig create wlan0 wlandev ath0 ssid my_net up

--- 33 unchanged lines hidden ---