Providing network identity for virtual machines
AssigneeInternational Business Machines Corporation
InventorsKalapriya Kannan, Anuradha Bhamidipaty
Life of this patent
Estimating the term…
Abstract
Techniques for assigning an internet protocol (IP) address to a virtual machine are provided. The techniques include tunneling a request for an IP address to an initialization protocol server, using the server to mask an identity of one or more guest virtual machines and obtain an IP address for the virtual machine based on a media access control (MAC) address of the virtual machine, and tunneling the IP address to the virtual machine.
Claims20
A method for assigning an internet protocol (IP) address to a virtual machine, comprising the steps of:
- tunneling a request for an IP address from one or more guest virtual machines to a dynamic host configuration protocol (DHCP) server upon boot-up of the one or more guest virtual machines, comprising:
- an agent on a host machine trapping the request from the virtual machine;
- and
- the agent requesting from a tunnel server the IP address for each guest virtual machine by providing a media access control (MAC) address of each guest virtual machine;
- the tunnel server mask an identity of the one or more guest virtual machines and obtain an IP address for the one or more guest virtual machines based on the media access control (MAC) address of each guest virtual machine comprising:
- maintaining at the tunnel server, a mapping between each guest virtual machine media access control (MAC) address and a media access control (MAC) address for the host machine for exposure to the dynamic host configuration protocol (DHCP) server;
- and
- the tunnel server requesting from the dynamic host configuration protocol (DHCP) server an IP address for the media access control (MAC) address of the one or more guest virtual machines;
- sending to the tunnel server from the dynamic host configuration protocol (DHCP) the IP address of one or more virtual machines;
- and
- the tunnel server tunneling the IP address to the one or more virtual machines via the agent.
A computer program product comprising a tangible computer readable recordable storage device having computer readable program code for assigning an internet protocol (IP) address to a virtual machine, said computer program product including:
- computer readable program code for tunneling a request for an IP address from one or more guest virtual machines to a dynamic host configuration protocol (DHCP) server upon boot-up of the one or more guest virtual machine, comprising:
- computer readable program code for an agent on a host machine to trap the request from the virtual machine;
- and
- computer readable program code for the agent to request from a tunnel server the IP address for each guest virtual machine by providing a media access control (MAC) address of each guest virtual machine;
- computer readable program code for the tunnel server to mask an identity of the one or more guest virtual machines and obtain an IP address for the one or more guest virtual machines based on the media access control (MAC) address of each guest virtual machine, comprising:
- computer readable program code for maintaining at the tunnel server, a mapping between each guest virtual machine media access control (MAC) address and a media access control (MAC) address for the host machine for exposure to the dynamic host configuration protocol (DHCP) server;
- and
- computer readable program code for the tunnel server to request from dynamic host configuration protocol (DHCP) server an IP address for the media access control (MAC) address of the one or more guest virtual machines;
- computer readable program code for sending to the tunnel server from the dynamic host configuration protocol (DHCP) the IP address of one or more virtual machines;
- and
- computer readable program code for the tunnel server to tunnel the IP address to the one or more virtual machines via the agent.
A system for assigning an internet protocol (IP) address to a virtual machine, comprising:
- a memory;
- and
- at least one processor coupled to said memory and operative to:
- tunnel a request for an IP address from one or more guest virtual machines to a dynamic host configuration protocol (DHCP) server upon boot-up of the one or more guest virtual machines, comprising:
- an agent on a host machine trapping the request from the virtual machine;
- and
- the agent requesting from a tunnel server the IP address for each guest virtual machine by providing a media access control (MAC) address of each guest virtual machine;
- the tunnel server mask an identity of the one or more guest virtual machines and obtain an IP address for the one or more guest virtual machines based on the media access control (MAC) address of the each guest virtual machine, comprising:
- maintaining at the tunnel server, a mapping between each guest virtual machine media access control (MAC) address and a media access control (MAC) address for the host machine for exposure to the dynamic host configuration protocol (DHCP) server;
- and
- the tunnel server requesting from dynamic host configuration protocol (DHCP) server an IP address for the media access control (MAC) address of the one or more guest virtual machines;
- sending to the tunnel server from the dynamic host configuration protocol (DHCP) the IP address of one or more virtual machines;
- and
- the tunnel server tunneling the IP address to the one or more virtual machines via the agent.
Dependencies are inferred from the claim text.