Network Device Hash Function Selection for ECMP and LAG

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current network devices face challenges in efficiently configuring Equal-Cost Multi-Path (ECMP) and Link Aggregation Group (LAG) routing functionalities, leading to potential network polarization where traffic is concentrated on a few routes instead of being distributed evenly across available paths.

Innovation Solution

The method involves selecting and using specific hash functions for ECMP and LAG processing based on network chip identification, MAC address, and flags, which are determined during the network device's initialization, ensuring unique parameter sets for each device and distributing traffic effectively across multiple routes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If a single hash function is used for all network devices, then configuration is simple, but network polarization occurs and traffic is not distributed evenly

Engineering Contradiction:
Improveconfiguration simplicityVSAvoidtraffic distribution efficiency
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent applies local quality by making each network device use a unique hash function selected based on its own identification (device ID, MAC address, or chip ID). This ensures that while the overall system has diverse routing behaviors, each individual device's configuration remains simple and automatic, resolving the contradiction between configuration simplicity and traffic distribution efficiency

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent changes the parameter of hash function selection by introducing device-specific identification parameters (device ID, MAC address, chip ID) to determine which hash function each device uses. This parameter change enables automatic differentiation between devices while maintaining simple configuration procedures, thereby improving traffic distribution without complicating deployment

Inventive Principle:
Principle #35Parameter changes

2Manufacturing precision

If manual configuration of routing parameters is required, then routing decisions can be precisely controlled, but device complexity and configuration time increase

Engineering Contradiction:
Improverouting decision precisionVSAvoidconfiguration complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent implements self-service by enabling network devices to automatically select their own hash functions based on their unique identifiers. The devices self-configure their routing parameters without manual intervention, achieving precise routing control through algorithmic selection rather than manual configuration, thus maintaining routing precision while eliminating configuration complexity

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent applies preliminary action by pre-defining multiple hash functions with different characteristics before deployment. During device initialization, the appropriate hash function is automatically selected based on device identification, preparing the routing configuration in advance without requiring manual setup, thereby achieving precise control with minimal operational complexity

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS9548892B2Method and system for preventing polarization in a network
Publication Date: 2017.01.17 ARISTA NETWORKS INC
  • US9548892B2 patent drawing
  • US9548892B2 patent drawing
  • US9548892B2 patent drawing

AI summary

A method for configuring network devices. The method includes selecting a first hash function to use to process packets using Equal-Cost Multi-Path (ECMP) on a network device, where the first hash function is selected from a set of hash functions using a second hash function, a network chip ID of the network chip in the network device, a network device media access control (MAC) address, and an ECMP flag. The method further includes selecting a third hash function to use to process packets using a Link Aggregation Group (LAG), where the third hash function is selected from the set of hash functions using a fourth hash function, the network chip ID of the network chip in the network device, the network device MAC address, and the LAG flag. The method further includes processing a packet received by the network device using the first hash function or the third hash function.