summaryrefslogtreecommitdiff
path: root/static/netbsd/man4/lagg.4 3.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/netbsd/man4/lagg.4 3.html')
-rw-r--r--static/netbsd/man4/lagg.4 3.html139
1 files changed, 0 insertions, 139 deletions
diff --git a/static/netbsd/man4/lagg.4 3.html b/static/netbsd/man4/lagg.4 3.html
deleted file mode 100644
index 2c6d4e39..00000000
--- a/static/netbsd/man4/lagg.4 3.html
+++ /dev/null
@@ -1,139 +0,0 @@
-<table class="head">
- <tr>
- <td class="head-ltitle">LAGG(4)</td>
- <td class="head-vol">Device Drivers Manual</td>
- <td class="head-rtitle">LAGG(4)</td>
- </tr>
-</table>
-<div class="manual-text">
-<section class="Sh">
-<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
-<p class="Pp"><code class="Nm">lagg</code> &#x2014; <span class="Nd">link
- aggregation and link failover interface</span></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<p class="Pp"><code class="Cd">pseudo-device lagg</code></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-<p class="Pp">The <code class="Nm">lagg</code> interface allows aggregation of
- multiple network interfaces as one virtual <code class="Nm">lagg</code>
- interface for the purpose of providing fault-tolerance and high-speed
- links.</p>
-<p class="Pp">A <code class="Nm">lagg</code> interface can be created using the
- <code class="Ic">ifconfig lagg</code><var class="Ar">N</var>
- <code class="Ic">create</code> command. It can use different link
- aggregation protocols specified using the <code class="Ic">laggproto</code>
- <var class="Ar">proto</var> option. Child interfaces can be added using the
- <code class="Ic">laggport</code> <var class="Ar">child-iface</var> option
- and removed using the <code class="Ic">-laggport</code>
- <var class="Ar">child-iface</var> option. A priority of each child interface
- can be configured using the <code class="Ic">laggport</code>
- <var class="Ar">child-iface pri</var> <var class="Ar">N</var> or
- <code class="Ic">laggportpri</code> <var class="Ar">child-iface</var>
- <var class="Ar">N</var> option. The interface preferentially uses the child
- interface that is the smallest numeric in the priority.</p>
-<p class="Pp">The driver currently supports the aggregation protocols
- <code class="Ic">failover</code>, <code class="Ic">loadbalance</code>,
- <code class="Ic">lacp</code>, and <code class="Ic">none</code> (the
- default). The protocols determine which ports are used for outgoing traffic
- and whether a specific port accepts incoming traffic. The interface link
- state is used to validate if the port is active or not.</p>
-<dl class="Bl-tag">
- <dt id="failover"><a class="permalink" href="#failover"><code class="Ic">failover</code></a></dt>
- <dd>Sends traffic only through the active port that is the highest priority.
- When the same priority is configured, The first interface added is used
- for sending traffic. If the link-state of the sending port becomes down,
- The next priority port is used.
- <p class="Pp">Received traffic is accepted through all active port if
- <code class="Ic">laggfailover</code> <code class="Nm">rx-all</code>
- option is enabled. The option is enabled by default, and it can be
- disabled by <code class="Ic">laggfailover</code>
- <code class="Nm">-rx-all</code> option. If the option is disabled,
- received traffic is only accepted through the sending port.</p>
- </dd>
- <dt id="loadbalance"><a class="permalink" href="#loadbalance"><code class="Ic">loadbalance</code></a></dt>
- <dd>Balances outgoing traffic across the active ports based on hashed protocol
- header information and accepts incoming traffic from any active port. This
- is a static setup and does not negotiate aggregation with the peer or
- exchange frames to monitor the link. The hash includes the Ethernet source
- and destination address, and, if available, the VLAN tag, and the IP
- source and destination address.</dd>
- <dt id="lacp"><a class="permalink" href="#lacp"><code class="Ic">lacp</code></a></dt>
- <dd>Supports the IEEE 802.1AX (formerly 802.3ad) Link Aggregation Control
- Protocol (LACP) and the Marker Protocol. LACP will negotiate a set of
- aggregable links with the peer into a Link Aggregated Group. The LAG is
- composed of ports of the different speed, set to full-duplex operation, if
- <code class="Ic">lagglacp</code> <code class="Nm">multi-speed</code>
- option is configured. The function can be disabled by
- <code class="Ic">lagglacp</code> <code class="Nm">-multi-speed</code>
- option. Outgoing traffic across the distributing ports based on hashed
- protocol header information and accepts incoming traffic from any
- collecting port. The maximum number of active ports in a LAG can be
- configured by <code class="Ic">lagglacp</code>
- <code class="Nm">maxports</code> <var class="Ar">N</var> option.</dd>
- <dt id="none"><a class="permalink" href="#none"><code class="Ic">none</code></a></dt>
- <dd>This protocol is intended to do nothing: it disables any traffic without
- disabling the <code class="Nm">lagg</code> interface itself.</dd>
-</dl>
-<p class="Pp">Each <code class="Nm">lagg</code> interface is created at runtime
- using interface cloning. This is most easily done with the
- <a class="Xr">ifconfig(8)</a> <code class="Cm">create</code> command.</p>
-<p class="Pp">The MTU of the <a class="Xr">lagg(4)</a> is applied to each
- physical interfaces. And the physical interfaces can not change its MTU
- directly.</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="EXAMPLES"><a class="permalink" href="#EXAMPLES">EXAMPLES</a></h1>
-<p class="Pp">Create a link aggregation using LACP with two
- <a class="Xr">wm(4)</a> Gigabit Ethernet interfaces:</p>
-<div class="Bd Pp Bd-indent Li">
-<pre># ifconfig wm0 up
-# ifconfig wm1 up
-# ifconfig lagg0 create
-# ifconfig lagg0 laggproto lacp laggport wm0 laggport wm1 \
- 192.168.1.1 netmask 255.255.255.0</pre>
-</div>
-<p class="Pp">Create a link aggregation using FAILOVER with two
- <a class="Xr">wm(4)</a> Gigabit Ethernet interfaces and set each
- priority:</p>
-<div class="Bd Pp Bd-indent Li">
-<pre># ifconfig wm0 up
-# ifconfig wm1 up
-# ifconfig lagg0 create
-# ifconfig lagg0 laggproto failover
-# ifconfig lagg0 laggport wm0 pri 1000
-# ifconfig lagg0 laggport wm1 pri 2000
-# ifconfig lagg0 inet 192.168.1.1 netmask 255.255.255.0</pre>
-</div>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
- ALSO</a></h1>
-<p class="Pp"><a class="Xr">ifconfig(8)</a></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
-<p class="Pp">The <code class="Nm">lagg</code> device first appeared in
- <span class="Ux">NetBSD 10.0</span>.</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
-<p class="Pp">The <code class="Nm">lagg</code> driver was written under the name
- <code class="Nm">trunk</code> by <span class="An">Reyk Floeter</span>
- &lt;<a class="Mt" href="mailto:reyk@openbsd.org">reyk@openbsd.org</a>&gt;.</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="BUGS"><a class="permalink" href="#BUGS">BUGS</a></h1>
-<p class="Pp">There is no way to configure LACP administrative variables,
- including system priority. The current implementation always performs
- active-mode LACP and uses 0x8000 as system priority.</p>
-</section>
-</div>
-<table class="foot">
- <tr>
- <td class="foot-date">April 2, 2020</td>
- <td class="foot-os">NetBSD 10.1</td>
- </tr>
-</table>