Patent ID: 9674103
Date: 2017-06-06
CPC Classifications: G06F,H04L

Claim:
1. A computer-implemented method for managing an address on a virtual switch in a system operating a plurality of virtual machines, comprising: receiving, by a processor, virtual network interface card (vNIC) configuration data from a controller, the configuration data including addresses obtained by the controller from an address pool, the address pool including assigned and available addresses, each assigned addressed being an address assigned at configuration to one virtual machine of the plurality of virtual machines, the available addresses including one or more addresses different from each assigned address, wherein the processor is coupled with a first memory in a hardware resource and the first memory stores a first virtual machine, a virtual switch, and a vNIC, the address pool is stored in a second memory external, the controller and the second memory being external to the hardware resource; receiving, by the vNIC operating on the processor, an enforcement rule for the virtual switch, wherein the enforcement rule includes one or more assigned addresses assigned at configuration to a first virtual machine; receiving, by the vNIC operating on the processor, a network packet from the first virtual machine for transmission through the vNIC; determining, by the virtual switch operating on the processor, whether the enforcement rule applies to the network packet by determining whether a source address for the network packet has been changed from an assigned address assigned at configuration to the first virtual machine to another address; and blocking the network packet, by the virtual switch operating on the processor, from being transmitted from the first virtual when the enforcement rule is determined to apply to the network packet.