diff options
author | thompsa <thompsa@FreeBSD.org> | 2012-03-06 22:58:13 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2012-03-06 22:58:13 +0000 |
commit | b1fbb40a93a6965db74bad2d0e41c6213a2449c5 (patch) | |
tree | a66e0f4d01b37baeb77069cd3e0375ba9fedb6b6 /sbin/ifconfig/ifconfig.8 | |
parent | 10e68a3224291be36c3e534197c59fd26a9f2dbb (diff) | |
download | FreeBSD-src-b1fbb40a93a6965db74bad2d0e41c6213a2449c5.zip FreeBSD-src-b1fbb40a93a6965db74bad2d0e41c6213a2449c5.tar.gz |
Add the ability to set which packet layers are used for the load balance hash
calculation.
Diffstat (limited to 'sbin/ifconfig/ifconfig.8')
-rw-r--r-- | sbin/ifconfig/ifconfig.8 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8 index d9d23f9..3af620b 100644 --- a/sbin/ifconfig/ifconfig.8 +++ b/sbin/ifconfig/ifconfig.8 @@ -2309,6 +2309,21 @@ Set the aggregation protocol. The default is failover. The available options are failover, fec, lacp, loadbalance, roundrobin and none. +.It Cm lagghash Ar option Ns Oo , Ns Ar option Oc +Set the packet layers to hash for aggregation protocols which load balance. +The default is +.Dq l2,l3,l4 . +The options can be combined using commas. +.Pp +.Bl -tag -width ".Cm l2" -compact +.It Cm l2 +src/dst mac address and optional vlan number. +.It Cm l3 +src/dst address for IPv4 or IPv6. +.It Cm l4 +src/dst port for TCP/UCP/SCTP. +.El +.Pp .El .Pp The following parameters are specific to IP tunnel interfaces, |