Forwarding tables for virtual networking devices
AssigneeCisco Technology, Inc.
InventorsNavindra Yadav, Sameer Merchant
Life of this patent
Estimating the term…
Abstract
Systems, methods, and non-transitory computer-readable storage media for forwarding tables for virtual networking devices. The system first identifies local virtual machines hosted on a local host connected to the system, the system having virtual tunneling capabilities. The system then generates a forwarding table for the system. Next, the system populates the forwarding table with local entries including bindings for the local virtual machines hosted on the local host and adds a default route in the forwarding table pointing to a default forwarder function, wherein the default route is configured to handle all non-local traffic relative to the system and the local host.
Claims20
A method comprising:
- identifying virtual machines hosted on a local host associated with a switch component comprising a virtual tunnel endpoint associated with an overlay network;
- generating, via a processor, a forwarding table for the switch component and populating the forwarding table only with local entries comprising bindings or entries for the virtual machines hosted on the local host;
- adding a default route in the forwarding table pointing to a forwarder function configured to handle all non-local traffic relative to the switch component, wherein the forwarder function associated with the default route is implemented on a network separate from the overlay network;
- and
- updating the forwarding table only based on updates to the virtual machines hosted on the local host or addition of new virtual machines hosted on the local host.
A system comprising:
- one or more processors;
- and
- a computer-readable storage medium having stored therein instructions which, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
- identifying virtual machines hosted on a local host associated with a switch, the switch comprising a virtual tunnel endpoint associated with an overlay network;
- generating a forwarding table for the switch and populating the forwarding table only with local entries comprising bindings or entries for the virtual machines hosted on the local host;
- adding a default route in the forwarding table pointing to one or more devices running a forwarder function, wherein the forwarder function is configured to handle all non-local traffic relative to at least one of the switch and the local host;
- and
- updating the forwarding table only based on updates to the virtual machines hosted on the local host or addition of new virtual machines hosted on the local host.
A non-transitory computer-readable storage medium having stored therein instructions which, when executed by a processor, cause the processor to perform operations comprising:
- receiving, via a switch comprising a virtual tunnel endpoint connected to an overlay network, an incoming packet intended for a destination address;
- analyzing a forwarding table to identify a next hop for the packet, wherein the forwarding table comprises only local entries for local destinations relative to the switch and a default route entry for all non-local traffic, the local destinations corresponding to virtual nodes hosted on a same host as the switch and wherein the forwarding table is updated only based on updates to the virtual nodes hosted on the same host or addition of new virtual nodes hosted on the same host;
- and
- forwarding the incoming packet to the next hop based on an entry in the forwarding table, the entry comprising:
- at least one of the local entries when the next hop is one of the virtual nodes hosted on the same host as the switch;
- or
- the default route entry when the next hop is not one of the virtual nodes hosted on the same host as the switch.
Dependencies are inferred from the claim text.