User Tools

Site Tools


computing:unix:unix_link_aggr

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
computing:unix:unix_link_aggr [2014/11/22 14:32]
gcooper
computing:unix:unix_link_aggr [2019/02/06 08:24] (current)
gcooper
Line 1: Line 1:
 ====== UNIX Link Aggreagation (Bonding) ====== ====== UNIX Link Aggreagation (Bonding) ======
  
-:!: Possibly applies to **Solaris, OmniOS, Illumos**, etc.+:!: Possibly applies to **Solaris, OmniOS, Illumos, OpenIndiana**, etc.
  
 http://www.isartor.org/wiki/Solaris_Link_Aggregation http://www.isartor.org/wiki/Solaris_Link_Aggregation
Line 9: Line 9:
 http://pvssraju.wordpress.com/2009/08/19/how-to-create-a-link-aggregation-bonding-on-solaris/ http://pvssraju.wordpress.com/2009/08/19/how-to-create-a-link-aggregation-bonding-on-solaris/
  
-Show existing physical interface and link information:+===== Show Info ===== 
 + 
 +Show existing **physical interface and link information**:
  
 <file> <file>
 dladm show-phys dladm show-phys
 dladm show-link dladm show-link
 +dladm show-ether
 +dladm show-aggr
 </file> </file>
  
-Show existing IP configuration and delete:+Show existing **IP configuration** and delete:
  
 <file> <file>
Line 23: Line 27:
 </file> </file>
  
-Create the bond specifying the interfaces to include and add a static IP address:+**Create the bond** specifying the interfaces to include and add a static IP address:
  
 <file> <file>
Line 30: Line 34:
 </file> </file>
  
-Delete a bond:+**Delete a bond**:
  
 <file> <file>
Line 41: Line 45:
 http://serverfault.com/questions/537705/configuring-lacp-between-openindiana-solaris-and-a-cisco-c3560 http://serverfault.com/questions/537705/configuring-lacp-between-openindiana-solaris-and-a-cisco-c3560
  
-:!: If you are using the bond to communicate with the server, you will lose connectivity on the next step.+:!: If you are using the bond to communicate with the server, you will **lose connectivity** on the next step.
  
-Enable LACP on the server side:+**Enable LACP** on the server side:
  
 <file> <file>
Line 49: Line 53:
 </file> </file>
  
 +**Add interfaces to a bond**:
  
 +<file>
 +dladm add-aggr -d e1000g1 -d e1000g3 aggr1
 +</file>
  
 +**Show routes**:
  
-dladm add-aggr -d e1000g1 -d e1000g3 aggr1+<file> 
 +netstat -nr 
 +</file> 
 + 
 +**Add a route**: 
 + 
 +Ephemeral: 
 + 
 +<file> 
 +route add default <ipaddress> 
 +</file> 
 + 
 +Persistent: 
 + 
 +<file> 
 +echo <ipaddress> > /etc/defaultrouter 
 +</file>
computing/unix/unix_link_aggr.1416691946.txt.gz · Last modified: 2014/11/22 14:32 by gcooper