# US 2012/0236761 A1 · Systems and Methods for Automatic Rack Detection

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2012/0236761 A1
- Document ID: US20120236761A1
- Status: Published application
- Kind: A1
- Application number: 13/407,614
- Filed: 2012-02-28
- Published: 2012-09-20
- Earliest claimed: 2011-03-15
- Assignees: Futurewei Technologies, Inc.
- Inventors: Shuo Yang; Stephen Kwok-Fai Wong
- Web page: https://patentgrep.com/patent/US20120236761A1

## CPC

- H04L 61/103: across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An embodiment system and method to provide rack awareness for a virtual machine running on a data center server. The virtual machine sends an address resolution protocol request message to a top-of-rack switch to identify a MAC address of the server physical port. The virtual machine receives a reply containing the MAC address of the top-of-rack switch physical port. The virtual machine sends an ICMP packet to the top-of-rack switch with a pre-selected un-routable IP address using the identified physical port MAC address. The virtual machine then receives a message from the top-of-rack switch providing a top-of-rack IP address. The virtual machine employs the top-of-rack IP address to identify the rack location of the server.

## Claims

### Claim 1

A method of identifying a server in a data center running a plurality of virtual machines on a plurality of servers, the method comprising:
sending an address resolution protocol (“ARP”) request message to a top-of-rack (“TOR”) switch to identify a media access control (“MAC”) address of a physical port of the TOR switch to which the server is connected;
receiving a message from the TOR switch in response to the ARP request message containing the MAC address of the physical port of the TOR switch to which the server is connected;
sending a packet to the TOR switch with a pre-selected un-routable Internet protocol (“IP”) address using the identified MAC address of the physical port;
receiving a message from the TOR switch providing a TOR IP address in response to the packet; and
employing the TOR IP address to identify the rack location of the server.

### Claim 2 (depends on 1)

The method as recited in claim 1 wherein the packet comprises an Internet control message protocol (“ICMP”) request.

### Claim 3 (depends on 1)

The method as recited in claim 1 further comprising employing the TOR IP address and a list of MAC addresses of physical machines to identify the server.

### Claim 4 (depends on 3)

The method as recited in claim 3 wherein an initialization script installed in a hypervisor software level comprises the list of the MAC addresses of the physical machines.

### Claim 5 (depends on 4)

The method as recited in claim 4 wherein the hypervisor software level is employed for the sending the ARP request message.

### Claim 6 (depends on 1)

The method as recited in claim 1 wherein the ARP request message is destined to layer 2 broadcast address 0xFFFFFFFFFFFF.

### Claim 7 (depends on 1)

The method as recited in claim 1 wherein the hypervisor software level employs the TOR MAC address to determine a physical port of the server for identifying the server.

### Claim 8 (depends on 1)

The method as recited in claim 1 wherein the pre-selected un-routable IP address is pre-configured on an access control list (“ACL”) that the TOR switch should reject.

### Claim 9 (depends on 1)

The method as recited in claim 1 wherein the packet comprises an ICMP echo request to the pre-selected un-routable IP address.

### Claim 10 (depends on 1)

The method as recited in claim 1 wherein the TOR IP address received in response to the packet is embedded in an ICMP reply.

### Claim 11

An apparatus to identify a server in a data center running a plurality of virtual machines on a plurality of servers, the apparatus
configured to send an address resolution protocol (“ARP”) request message to a top-of-rack (“TOR”) switch to identify a media access control (“MAC”) address of a physical port to which the server is connected;
configured to receive a message from the TOR switch in response to the ARP request message containing a MAC address of the physical port of the TOR switch to which the server is connected;
configured to send an ICMP packet to the TOR switch with a pre-selected un-routable IP address using the identified MAC address of the physical port;
configured to receive a message from the TOR switch providing a TOR IP address in response to the packet; and
configured to employ the TOR IP address to identify the rack location of the server.

### Claim 12 (depends on 11)

The apparatus as recited in claim 11 wherein the packet comprises an ICMP request.

### Claim 13 (depends on 11)

The apparatus as recited in claim 11 wherein the TOR IP address and a list of MAC addresses of physical machines are employed to identify the server.

### Claim 14 (depends on 11)

The apparatus as recited in claim 11 wherein an initialization script installed in a hypervisor software level comprises the list of the MAC addresses of the physical machines.

### Claim 15 (depends on 14)

The apparatus as recited in claim 14 wherein the hypervisor software level is employed to send the ARP request message.

### Claim 16 (depends on 11)

The apparatus as recited in claim 11 wherein the ARP request message is destined to layer 2 broadcast address 0xFFFFFFFFFFFF.

### Claim 17 (depends on 11)

The apparatus as recited in claim 11 wherein the hypervisor software level employs the TOR MAC address to determine a physical port of the server for identifying the server.

### Claim 18 (depends on 11)

The apparatus as recited in claim 11 wherein the pre-selected un-routable IP address is pre-configured on an ACL that the TOR switch should reject.

### Claim 19 (depends on 11)

The apparatus as recited in claim 11 wherein the packet comprises an ICMP echo request to the pre-selected un-routable IP address.

### Claim 20 (depends on 11)

The apparatus as recited in claim 11 wherein the TOR IP address received in response to the packet is embedded in an ICMP reply.
