L2 Cache

Behold the power of |!

User Tools

Site Tools


snipets:solaris:net-link-aggregation

Differences

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

Link to this comparison view

snipets:solaris:net-link-aggregation [2012/09/17 11:40]
sjorge
snipets:solaris:net-link-aggregation [2014/10/09 22:02]
Line 1: Line 1:
-====== Link Aggregation ====== 
-Link aggregation is pretty easy to configure on solaris. Bellow is a quick example that puts 2 interfaces into a LAGG and balances based on IP. 
  
-It also shows how you change the MTU correctly, it will propegate to the underlying interfaces. 
-<​code>​ 
-dladm create-aggr -l active -P L4 -d e1000g0 -d e1000g1 host0 
-dladm set-linkprop -p mtu=9000 host0 
-</​code>​ 
- 
-The ''​-l''​ flag sets the LACP-mode this can be either ''​active'',​ ''​passive''​ or ''​off''​. If you switch is set to passive, make sure to set it to active on your server! 
- 
-The ''​-P''​ flag set the LACP-policy,​ this can be either: ​ 
-  * ''​L2''​ Select outbound device according to source and destination MAC addresses of the packet. 
-  * ''​L3''​ Select outbound device according to source and destination IP addresses of the packet. 
-  * ''​L4''​ Select outbound device according to the upper layer protocol information contained in the packet. For TCP and UDP, this includes source and destination ports. For IPsec, this includes the SPI (Security Parameters Index.) 
- 
-Removing a member: 
-<​code>​ 
-dladm remove-aggr -d e1000g1 host0 
-</​code>​ 
- 
-Adding a member: 
-<​code>​ 
-dladm add-aggr -d e1000g2 host0 
-</​code>​ 
- 
-Well that gives you a general idea, for different policies and modes, you can use ''​man dladm''​. 
snipets/solaris/net-link-aggregation.txt · Last modified: 2014/10/09 22:02 (external edit)