Switch MAC Address Learning to Prevent Packet Flooding

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional networking systems face issues with packet flooding in switches due to the lack of efficient MAC address learning and database updates, leading to unnecessary packet replication across interconnected switches, which can result in network congestion and reduced quality of service.

Innovation Solution

A method and system where switches communicate discovery requests and responses to update Level 2 (L2) databases with MAC addresses, and utilize host discovery tables to prevent frequent database update requests, ensuring packets are forwarded efficiently along a single path once the destination MAC address is learned, thereby avoiding packet flooding.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If switches replicate packets to all interconnected switches when MAC address is not in database, then packet delivery coverage is improved, but network congestion increases and quality of service deteriorates

Engineering Contradiction:
Improvepacket delivery coverageVSAvoidnetwork performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system performs preliminary MAC address learning by having switches send discovery requests to hosts and store MAC addresses in databases before packet flooding occurs. This preliminary action enables switches to make informed forwarding decisions later, avoiding unnecessary packet replication while ensuring reliable delivery.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements feedback mechanisms where switches send discovery requests to hosts and receive discovery responses containing MAC address information. This feedback loop allows switches to update their databases continuously, improving forwarding accuracy and reducing network congestion from unnecessary flooding.

Inventive Principle:
Principle #23Feedback

2Measurement precision

If switches frequently send database update requests to discover MAC addresses, then MAC address database accuracy is improved, but network traffic overhead increases

Engineering Contradiction:
ImproveMAC address database accuracyVSAvoidnetwork traffic volume
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

Instead of continuous or frequent database updates, the system uses periodic discovery requests triggered by specific events such as when a switch first encounters a MAC address or when topology changes occur. This periodic action maintains database accuracy while significantly reducing unnecessary network traffic overhead.

Inventive Principle:
Principle #19Periodic action

3Reliability

If packets are forwarded along multiple paths through interconnected switches, then packet delivery reliability is improved, but network congestion and latency increase

Engineering Contradiction:
Improvepacket delivery reliabilityVSAvoidnetwork latency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system segments the network forwarding process into two distinct phases: MAC address discovery/learning phase and packet forwarding phase. During the forwarding phase, switches use the learned MAC addresses to determine single optimal paths, separating the reliability function (MAC learning) from the efficiency function (directed forwarding).

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS8467311B2Method and system for avoiding flooding of packets in switches
Publication Date: 2013.06.18 AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LTD
  • US8467311B2 patent drawing
  • US8467311B2 patent drawing
  • US8467311B2 patent drawing

AI summary

Certain aspects of a method and system for avoiding flooding of packets in switches may include a network comprising a plurality of switches interconnected to one or more hosts. One of the plurality of switches may communicate a discovery request to the one or more hosts to determine a MAC address of the one or more hosts. One of the plurality of switches may receive a discovery response from the one or more hosts in response to the communicated discovery request. One of the plurality of switches may update their L2 databases with the MAC addresses of the one or more hosts based on the received discovery response. If the MAC address of a destination host is listed in the L2 database, a switch may communicate a received packet to the destination host using one or more other switches based on the MAC address in the L2 database.