Independent network interfaces for virtual network environments
AssigneeInternational Business Machines Corporation
InventorStephan Benny
Life of this patent
Estimating the term…
Abstract
One embodiment includes using a bridge device in support of a kernel bridge infrastructure. The kernel bridge infrastructure is modified using netfilter hooks to prevent forwarding of broadcast packets between bridge ports and to set a source media access control (MAC) address of an egress packet to a corresponding MAC address of a virtual network interface card (vNIC).
Claims18
A method comprising:
- using a bridge device as a root interface in support of a kernel bridge infrastructure;
- adding a plurality of virtual network interface cards (vNICs) as bridge ports;
- and
- modifying behavior of the kernel bridge infrastructure using netfilter hooks, the modified behavior including prevention of forwarding of broadcast packets between the bridge ports and setting a source media access control (MAC) address of an egress packet to a corresponding MAC address of a vNIC, resulting in a network independent vNIC,
- wherein the bridge device learns the MAC address on each bridge port and selects a vNIC for egress packets.
A computer program product for providing a network independent interface, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to:
- use, by the processor, a bridge device as a root interface for supporting a kernel bridge infrastructure;
- add, by the processor, a plurality of virtual network interface cards (vNICs) as bridge ports;
- and
- modify, by the processor, behavior of the kernel bridge infrastructure using netfilter hooks, the modified behavior including prevention of forwarding of broadcast packets between bridge ports and setting a source media access control (MAC) address of an egress packet to a corresponding MAC address of a vNIC, resulting in a network independent vNIC,
- wherein the bridge device learns the MAC address on each bridge port and selects a vNIC for egress packets.
Dependencies are inferred from the claim text.