# US 2021/0176133 A1 · Network topology generation based on network device information

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

- Number: US 2021/0176133 A1
- Document ID: US20210176133A1
- Status: Published application
- Kind: A1
- Application number: 16/802,590
- Filed: 2020-02-27
- Published: 2021-06-10
- Earliest claimed: 2019-12-10
- Assignees: VMware, Inc.
- Applicants: Vmware, Inc.
- Inventors: NILESH AVINASH PHADKE; Amol Manohar Vaikar
- Web page: https://patentgrep.com/patent/US20210176133A1

## CPC

- H04L 41/12: Discovery or management of network topologies
- H04L 12/4641: {Virtual LANs, VLANs, e.g. virtual private networks [VPN] (LAN interconnection over a bridge based backbone H04L12/462; encapsulation techniques H04L12/4633; routing of packets H04L45/00; packet switches H04L49/00; virtual private networks for security H04L63/0272)}
- H04L 45/02: Topology update or discovery
- H04L 45/745: Address table lookup; Address filtering
- H04L 2101/622: Layer-2 addresses, e.g. medium access control [MAC] addresses
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

In one example, a management node may include a storage device to store network device information associated with a plurality of network devices and physical hosts in a datacenter. Example network device information may include at least one of routing information and media access control (MAC) address information. Further, the management node may include a processor operable with the storage device and memory coupled to the processor. In one example, the memory may include a network topology generation unit to determine adjacency between the plurality of network devices in the datacenter using the routing information and/or media access control (MAC) address information associated with the plurality of network devices and generate a network topology including a network path between a source endpoint and a destination endpoint using the adjacency between the plurality of network devices.

## Claims

### Claim 1

A management node comprising:
a storage device to store network device information associated with a plurality of network devices and physical hosts in a datacenter, wherein the network device information comprises at least one of routing information and media access control (MAC) address information;
a processor operable with the storage device; and
memory coupled to the processor, wherein the memory comprises a network topology generation unit to:
determine adjacency between the plurality of network devices in the datacenter using the routing information and/or media access control (MAC) address information associated with the plurality of network devices; and
generate a network topology including a network path between a source endpoint and a destination endpoint using the adjacency between the plurality of network devices.

### Claim 2 (depends on 1)

The management node of claim 1, wherein the network topology generation unit is to:
determine a first route of a plurality of routes associated with a first network device of the plurality of network devices using the routing information;
when the first route is an indirect route, determine adjacency between the first network device and a second network device using the routing information associated with the first network device; and
when the first route is a direct route, determine the adjacency between the first network device and a third network device using the MAC address information associated with the first network device.

### Claim 3 (depends on 2)

The management node of claim 2, wherein the network topology generation unit is to determine the adjacency between the plurality of network devices by repeating the steps of claim 2 for each route associated with the first network device and remaining network devices having the routing information.

### Claim 4 (depends on 2)

The management node of claim 2, wherein when the first route is the indirect route, the network topology generation unit is to:
retrieve a next hop internet protocol (IP) address in the first route using the routing information;
identify a first interface associated with the first network device and a second interface corresponding to the retrieved IP address; and
determine the second network device adjacent to the first network device based on the first interface and the second interface.

### Claim 5 (depends on 4)

The management node of claim 4, wherein the network topology generation unit is to:
when the second interface is a physical port, determine the second network device associated with the physical port as being adjacent to the first network device.

### Claim 6 (depends on 4)

The management node of claim 4, wherein the network topology generation unit is to:
when the second interface is a logical port,
determine a physical port associated with the logical port; and
identify the second network device corresponding to the physical port as being adjacent to the first network device.

### Claim 7 (depends on 4)

The management node of claim 4, wherein the network topology generation unit is to:
when the second interface is a virtual local area network (VLAN) port, identify the second network device corresponding to the VLAN port as the adjacent device to the first network device.

### Claim 8 (depends on 2)

The management node of claim 2, wherein when the first route is the direct route, the network topology generation unit is to:
retrieve a MAC address associated with an egress interface of the first network device using the MAC address information;
determine a physical host corresponding to the MAC address; and
determine the third network device connected to the physical host as being adjacent to the first network device based on a physical network interface card (NIC) associated with the physical host and an interface associated with the first network device, wherein the physical NIC comprises one of a physical port, logical port, and VLAN port.

### Claim 9 (depends on 1)

The management node of claim 1, wherein each of the plurality of network devices is a layer 3 device or a layer 2 device.

### Claim 10 (depends on 9)

The management node of claim 9, wherein the layer 3 device is a router, brouter, or layer 3 switch, and wherein the layer 2 device is a layer 2 switch, bridge, modem, or network card.

### Claim 11 (depends on 1)

The management node of claim 1, wherein the source endpoint and the destination endpoint comprise the physical hosts, virtual machines, and containers.

### Claim 12 (depends on 1)

The management node of claim 1, wherein the storage device comprises:
a searchable database to store the configuration information and the operational information associated with the plurality of network devices and the physical hosts.

### Claim 13

A computer implemented method comprising:
obtaining device information associated with a plurality of network devices and physical hosts in a datacenter, wherein the network device information comprises at least one of routing information and media access control (MAC) address information;
determining adjacency between a plurality of network devices using the network device information; and
generating a network topology including a network path between a source endpoint and a destination endpoint using the adjacency between the plurality of network devices.

### Claim 14 (depends on 13)

The computer implemented method of claim 13, wherein determining the adjacency between the plurality of network devices comprises:
determining a first route of a plurality of routes associated with a first network device of the plurality of network devices using the routing information;
when the first route is an indirect route, determining adjacency between the first network device and a second network device using the routing information associated with the first network device; and
when the first route is a direct route, determining the adjacency between the first network device and a third network device using the MAC address information associated with the first network device.

### Claim 15 (depends on 14)

The computer implemented method of claim 14, wherein determining the adjacency between the plurality of network devices further comprises determining the adjacency between the plurality of network devices by repeating the steps of claim 14 for each route associated with the first network device and remaining network devices having the routing information.

### Claim 16 (depends on 14)

The computer implemented method of claim 14, wherein when the first route is the indirect route, determining the adjacency between the first network device and the second network device comprises:
retrieving a next hop internet protocol (IP) address in the first route using the routing information;
identifying a first interface associated with the first network device and a second interface corresponding to the retrieved IP address; and
determining the second network device adjacent to the first network device based on the first interface and the second interface.

### Claim 17 (depends on 16)

The computer implemented method of claim 16, wherein determining the second network device adjacent to the first network device comprises:
when the second interface is a physical port, determining the second network device associated with the physical port as being adjacent to the first network device.

### Claim 18 (depends on 16)

The computer implemented method of claim 16, wherein determining the second network device adjacent to the first network device comprises:
when the second interface is a logical port,
determining a physical port associated with the logical port; and
identifying the second network device corresponding to the physical port as being adjacent to the first network device.

### Claim 19 (depends on 16)

The computer implemented method of claim 16, wherein determining the second network device adjacent to the first network device comprises:
when the second interface is a virtual local area network (VLAN) port, identifying the second network device corresponding to the VLAN port as the adjacent device to the first network device.

### Claim 20 (depends on 14)

The computer implemented method of claim 14, wherein when the first route is the direct route, determining the adjacency between the first network device and the third network device comprises:
retrieving a MAC address associated with an egress interface of the first network device using the MAC address information;
determining a physical host corresponding to the MAC address; and
determining the third network device connected to the physical host as being adjacent to the first network device based on a physical network interface card (NIC) associated with the physical host and an interface associated with the first network device, wherein the physical NIC comprises one of a physical port, logical port, and VLAN port.

### Claim 21

A non-transitory machine-readable storage medium encoded with instructions that, when executed by a computer, cause the computer to:
obtain device information associated with a plurality of network devices and physical hosts in a datacenter, wherein the network device information comprises at least one of routing information and media access control (MAC) address information;
determine adjacency between a plurality of network devices using the network device information; and
generate a network topology including a network path between a source endpoint and a destination endpoint using the adjacency between the plurality of network devices.

### Claim 22 (depends on 21)

The non-transitory machine-readable storage medium of claim 21, wherein instructions to determine the adjacency between the plurality of network devices comprise instructions to:
determine a first route of a plurality of routes associated with a first network device of the plurality of network devices using the routing information;
when the first route is an indirect route, determine adjacency between the first network device and a second network device using the routing information associated with the first network device; and
when the first route is a direct route, determine the adjacency between the first network device and a third network device using the MAC address information associated with the first network device.

### Claim 23 (depends on 22, 26)

The non-transitory machine-readable storage medium of claim 22, wherein instructions to determine the adjacency between the plurality of network devices further comprise instructions to determine the adjacency between the plurality of network devices by repeating the instructions of claim 26 for each route associated with the first network device and remaining network devices having the routing information.

### Claim 24 (depends on 22)

The non-transitory machine-readable storage medium of claim 22, wherein the instructions to determine the adjacency between the first network device and the second network device when the first route is the indirect route comprise instructions to:
retrieve a next hop internet protocol (IP) address in the first route using the routing information;
identify a first interface associated with the first network device and a second interface corresponding to the retrieved IP address; and
determine the second network device adjacent to the first network device based on the first interface and the second interface.

### Claim 25 (depends on 24)

The non-transitory machine-readable storage medium of claim 24, wherein the instructions to determining the second network device adjacent to the first network device comprise instructions to:
when the second interface is a physical port, determine the second network device associated with the physical port as being adjacent to the first network device.

### Claim 26 (depends on 24)

The non-transitory machine-readable storage medium of claim 24, wherein the instructions to determine the second network device adjacent to the first network device comprise instructions to:
when the second interface is a logical port,
determine a physical port associated with the logical port; and
identify the second network device corresponding to the physical port as being adjacent to the first network device.

### Claim 27 (depends on 24)

The non-transitory machine-readable storage medium of claim 24, wherein the instructions to determine the second network device adjacent to the first network device comprise instructions to:
when the second interface is a virtual local area network (VLAN) port, identify the second network device corresponding to the VLAN port as the adjacent device to the first network device.

### Claim 28 (depends on 22)

The non-transitory machine-readable storage medium of claim 22, wherein instructions to determine the adjacency between the first network device and the third network device when the first route is the direct route comprise instructions to:
retrieve a MAC address associated with an egress interface of the first network device using the MAC address information;
determine a physical host corresponding to the MAC address; and
determine the third network device connected to the physical host as being adjacent to the first network device based on a physical network interface card (NIC) associated with the physical host and an interface associated with the first network device, wherein the physical NIC comprises one of a physical port, logical port, and VLAN port.
