Virtual Switch ARP Suppression via IP-to-Port Mapping
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In virtualized networks, the broadcasting of ARP request packets to resolve unknown destination MAC addresses leads to redundant packet duplication, causing unnecessary CPU, memory, and network bandwidth utilization, especially when the destination virtual machine is on the same virtual switch as the source.
Innovation Solution
Maintaining an IP address-to-port identifier (PIMT) mapping table in the virtual switch to determine if the destination IP address matches an entry, allowing direct routing of ARP request packets to the correct port instead of broadcasting, thereby preventing redundant packet transmission.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of information
If ARP request packets are broadcasted to all machines in the network to resolve destination MAC address, then the source virtual machine can determine the destination MAC address, but redundant packet duplication occurs causing unnecessary CPU, memory, and network bandwidth utilization
Solution Approach 1:
The virtual switch pre-establishes a mapping table that associates virtual machine MAC addresses with port identifiers before ARP broadcasting is needed. When an ARP request arrives, the virtual switch checks this pre-established mapping to determine if the destination VM is on the same host, allowing it to suppress unnecessary broadcasts and reduce redundant packet duplication.
Solution Approach 2:
The virtual switch acts as an intermediary between the source and destination virtual machines. It intercepts ARP request packets, checks its mapping table to determine the destination VM's location, and either suppresses the broadcast or forwards it selectively. This intermediary function eliminates the need for full network broadcasting when the destination VM is locally available, reducing CPU, memory, and bandwidth utilization.
2Reliability
If ARP request packets are broadcasted to all machines in the network, then the destination virtual machine can be located, but redundant packet duplication occurs across the network
Solution Approach 1:
The virtual switch pre-establishes a mapping table that associates virtual machine MAC addresses with port identifiers before ARP broadcasting is needed. When an ARP request arrives, the virtual switch checks this pre-established mapping to determine if the destination VM is on the same host, allowing it to suppress unnecessary broadcasts and reduce redundant packet duplication.
Solution Approach 2:
The virtual switch acts as an intermediary between the source and destination virtual machines. It intercepts ARP request packets, checks its mapping table to determine the destination VM's location, and either suppresses the broadcast or forwards it selectively. This intermediary function eliminates the need for full network broadcasting when the destination VM is locally available, reducing CPU, memory, and bandwidth utilization.
3Loss of information
If ARP broadcasting is performed in virtualized networks, then address resolution can be achieved, but network efficiency decreases due to redundant transmission
Solution Approach 1:
The virtual switch pre-establishes a mapping table that associates virtual machine MAC addresses with port identifiers before ARP broadcasting is needed. When an ARP request arrives, the virtual switch checks this pre-established mapping to determine if the destination VM is on the same host, allowing it to suppress unnecessary broadcasts and reduce redundant packet duplication.
Solution Approach 2:
The virtual switch acts as an intermediary between the source and destination virtual machines. It intercepts ARP request packets, checks its mapping table to determine the destination VM's location, and either suppresses the broadcast or forwards it selectively. This intermediary function eliminates the need for full network broadcasting when the destination VM is locally available, reducing CPU, memory, and bandwidth utilization.
Data Source
AI summary
Aspects of the present disclosure provide a method for processing address resolution protocol (ARP) packets in a computing environment. The method includes the steps of maintaining a table mapping internet protocol (IP) addresses to port identifiers (port IDs), receiving a packet, determining a type of the received packet, based on the type of the received packet being a first type, checking whether a destination IP address in the received packet matches an entry in the table, and if the destination IP address in the received packet matches an entry in the table: determining a port ID associated with the matching entry, and forwarding the received packet over a port associated with the determined port ID.


