- Link Aggregation and Failover section improvements
- Explicitly show you have to bring the interfaces up in the examples - Improve wording around bringing the interfaces up PR: docs/159374
This commit is contained in:
parent
7a0d4ef9c0
commit
e86ae43cc9
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=37761
1 changed files with 17 additions and 12 deletions
|
@ -3377,12 +3377,14 @@ BEGEMOT-BRIDGE-MIB::begemotBridgeDefaultBridgeIf.0 s bridge2</screen>
|
|||
channel-group <replaceable>1</replaceable> mode active
|
||||
channel-protocol lacp</userinput></screen>
|
||||
|
||||
<para>On the &os; machine create the &man.lagg.4; interface using
|
||||
<replaceable>fxp0</replaceable> and
|
||||
<replaceable>fxp1</replaceable>, with an IP Address of
|
||||
<para>Create the &man.lagg.4; interface using
|
||||
<replaceable>fxp0</replaceable> and <replaceable>fxp1</replaceable>,
|
||||
and bring the interfaces up with the IP Address of
|
||||
<replaceable>10.0.0.3/24</replaceable>:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig <literal>lagg<replaceable>0</replaceable></literal> create </userinput>
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>fxp0</replaceable> up</userinput>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>fxp1</replaceable> up</userinput>
|
||||
&prompt.root; <userinput>ifconfig <literal>lagg<replaceable>0</replaceable></literal> create </userinput>
|
||||
&prompt.root; <userinput>ifconfig <literal>lagg<replaceable>0</replaceable></literal> up laggproto lacp laggport <replaceable>fxp0</replaceable> laggport <replaceable>fxp1</replaceable> <replaceable>10.0.0.3/24</replaceable></userinput></screen>
|
||||
|
||||
<para>View the interface status by running:</para>
|
||||
|
@ -3437,14 +3439,15 @@ ifconfig_<literal>lagg<replaceable>0</replaceable></literal>="laggproto lacp lag
|
|||
<title>Failover mode</title>
|
||||
|
||||
<para>Failover mode can be used to switch over to a secondary interface if
|
||||
the link is lost on the master interface. Create and configure the
|
||||
<literal>lagg<replaceable>0</replaceable></literal> interface, with
|
||||
the link is lost on the master interface. Bring the underlying
|
||||
physical interfaces up. Create the &man.lagg.4; interface, using
|
||||
<replaceable>fxp0</replaceable> as the master interface and
|
||||
<replaceable>fxp1</replaceable> as the secondary interface,
|
||||
with an IP Address of <replaceable>10.0.0.15/24</replaceable>:
|
||||
</para>
|
||||
<replaceable>fxp1</replaceable> as the secondary interface and assign
|
||||
an IP Address of <replaceable>10.0.0.15/24</replaceable>:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig <literal>lagg<replaceable>0</replaceable></literal> create</userinput>
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>fxp0</replaceable> up</userinput>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>fxp1</replaceable> up</userinput>
|
||||
&prompt.root; <userinput>ifconfig <literal>lagg<replaceable>0</replaceable></literal> create</userinput>
|
||||
&prompt.root; <userinput>ifconfig <literal>lagg<replaceable>0</replaceable></literal> up laggproto failover laggport <replaceable>fxp0</replaceable> laggport <replaceable>fxp1</replaceable> <replaceable>10.0.0.15/24</replaceable></userinput></screen>
|
||||
|
||||
<para>The interface will look something like this, the major
|
||||
|
@ -3523,11 +3526,13 @@ bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
|
|||
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> create wlandev <replaceable>iwn0</replaceable> ssid <replaceable>my_router</replaceable> up</userinput></screen>
|
||||
|
||||
<para>Create the &man.lagg.4; interface with <replaceable>bge0</replaceable>
|
||||
<para>Bring the <replaceable>bge0</replaceable> interface up. Create
|
||||
the &man.lagg.4; interface with <replaceable>bge0</replaceable>
|
||||
as master, and failover to <replaceable>wlan0</replaceable> if
|
||||
necessary:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig <literal>lagg<replaceable>0</replaceable></literal> create</userinput>
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>bge0</replaceable> up</userinput>
|
||||
&prompt.root; <userinput>ifconfig <literal>lagg<replaceable>0</replaceable></literal> create</userinput>
|
||||
&prompt.root; <userinput>ifconfig <literal>lagg<replaceable>0</replaceable></literal> up laggproto failover laggport <replaceable>bge0</replaceable> laggport <replaceable>wlan0</replaceable></userinput></screen>
|
||||
|
||||
<para>The interface will look something like this, the major
|
||||
|
|
Loading…
Reference in a new issue