MAC learning in a multiple virtual switch environment
AssigneeInternational Business Machines Corporation
InventorBruce H. Ratcliff
Life of this patent
Estimating the term…
Abstract
Examples of techniques for media access control (MAC) address learning are disclosed. In one example implementation according to aspects of the present disclosure, a computer-implemented method may include: receiving, by a processing device, a packet; determining, by the processing device, a packet type of the packet; and responsive to determining that the packet is a MAC learning packet type, updating, by the processing device, a MAC address table based on MAC address information associated with the packet.
Claims17
A computer-implemented method for media access control (MAC) address learning, the method comprising:
- receiving, by a processing device, a packet;
- determining, by the processing device, a packet type of the packet;
- responsive to determining that the packet is a MAC learning packet type, updating, by the processing device, a MAC address table based on MAC address information associated with the packet, wherein the MAC learning packet type is a neighbor discovery packet type;
- determining a non-registered MAC address on an inbound flow;
- creating a non-registered address entry in the MAC address table;
- sending a copy of the packet to a virtual switch interface defined with a promiscuous setting;
- waiting a timeout period;
- and
- responsive to no MAC learning packet type being received during the timeout period, removing the non-registered MAC address from the MAC address table.
A system for media access control (MAC) address learning, the system comprising:
- a memory having computer readable instructions;
- and
- a processing device for executing the computer readable instructions, the computer readable instructions comprising:
- receiving, by the processing device, a packet;
- determining, by the processing device, a packet type of the packet;
- responsive to determining that the packet is a MAC learning packet type, updating, by the processing device, a MAC address table based on MAC address information associated with the packet, wherein the MAC learning packet type is a neighbor discovery packet type;
- determining a non-registered MAC address on an inbound flow;
- creating a non-registered address entry in the MAC address table;
- sending a copy of the packet to a virtual switch interface defined with a promiscuous setting;
- waiting a timeout period;
- and
- responsive to no MAC learning packet type being received during the timeout period, removing the non-registered MAC address from the MAC address table.
A computer program product for media access control (MAC) address learning, the computer program product comprising:
- a non-transitory computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processing device to cause the processing device to perform a method comprising:
- receiving, by the processing device, a packet;
- determining, by the processing device, a packet type of the packet;
- and
- responsive to determining that the packet is a MAC learning packet type, updating, by the processing device, a MAC address table based on MAC address information associated with the packet, wherein the MAC learning packet type is a neighbor discovery packet type;
- determining a non-registered MAC address on an inbound flow;
- creating a non-registered address entry in the MAC address table;
- sending a copy of the packet to a virtual switch interface defined with a promiscuous setting;
- waiting a timeout period;
- and
- responsive to no MAC learning packet type being received during the timeout period, removing the non-registered MAC address from the MAC address table.
Dependencies are inferred from the claim text.