CPC H04L 45/66 (2013.01) [H04L 12/18 (2013.01); H04L 45/18 (2013.01); H04L 45/745 (2013.01)] | 20 Claims |
1. A network virtualization device comprising:
a plurality of ports comprising:
a first port connected with a first host machine hosting a first compute instance, the first compute instance being a first member of a virtual Layer 2 (L2) network;
a second port connected with a second host machine hosting a second compute instance, the second compute instance being a second member of the virtual L2 network;
one or more processors; and
one or more memories storing instructions, that upon execution by the one or more processors, configure the network virtualization device to:
generate a first L2 bridge protocol data unit (BPDU) by applying a first loop detection protocol specific, from among the plurality of ports, to only the first port and the first host machine;
transmit, to the first compute instance via the first port, a first frame that includes the first L2 BPDU;
receive, from the first compute instance via the first port, a second frame;
determine that the second frame comprises the first L2 BPDU;
determine that a loop exists between the network virtualization device and the first compute instance based on the first loop detection protocol and the first L2 BPDU of the second frame;
generate a second L2 BPDU by applying a second loop detection protocol specific to only the second port and the second host machine;
transmit, to the second compute instance via the second port, a third frame that includes the second L2 BPDU;
determine that the second L2 BPDU is not received back from the second compute instance; and
determine that no loop exists between the network virtualization device and the second compute instance.
|