INtime SDK Help
lagg (Link Aggregation and link failover interface)

The lagg interface allows aggregation of multiple network interfaces as one virtual lagg interface for the purpose of providing fault-tolerance and high-speed links.

A lagg interface can be created using the ifconfig laggN create command. It can use different link aggregation protocols specified using the laggproto proto option. Child interfaces can be added using the laggport child-iface option and removed using the -laggport child-iface option.

The driver currently supports the aggregation protocols failover (the default), fec, lacp, loadbalance, roundrobin, and none. The protocols determine which ports are used for outgoing traffic and whether a spe- cific port accepts incoming traffic. The interface link state is used to validate if the port is active or not.

Sends traffic only through the active port. If the master port becomes unavailable, the next active port is used. The first interface added is the master port; any interfaces added after that are used as failover devices.
Supports Cisco EtherChannel. This is a static setup and does not negotiate aggregation with the peer or exchange frames to monitor the link.
Supports the IEEE 802.3ad Link Aggregation Control Protocol (LACP) and the Marker Protocol. LACP will negotiate a set of aggregable links with the peer in to one or more Link Aggregated Groups. Each LAG is composed of ports of the same speed, set to full-duplex operation. The traffic will be balanced across the ports in the LAG with the greatest total speed, in most cases there will only be one LAG which contains all ports. In the event of changes in physical connectivity, Link Aggregation will quickly converge to a new configuration.
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 adtress.
Distributes outgoing traffic using a round-robin scheduler through all active ports and accepts incoming traffic from any active port.
This protocol is intended to do nothing: it disables any traffic without disabling the lagg interface itself.

Each lagg interface is created at runtime using interface cloning. This is most easily done with the ifconfig create command.

The MTU of the first interface to be added is used as the lagg MTU. All additional interfaces are required to have exactly the same value.


Create a 802.3ad link aggregation using LACP with two Intel Gigabit Ethernet interfaces:

# ifconfig ie1g0 up
# ifconfig ie1g1 up
# ifconfig lagg0 laggproto lacp laggport ie1g0 laggport ie1g1 netmask


There is no way to configure LACP administrative variables, including system and port priorities. The current implementation always performs active-mode LACP and uses 0x8000 as system and port priorities.

See Also