Patent attributes
According to one or more embodiments of the disclosure, a device of a virtual overlay for a Layer-2 mesh obtains a frame sent by a source toward a destination via the Layer-2 mesh. The device makes a classification of the frame. The device modifies, based on the classification, the frame to include a header associated with the virtual overlay and to include a trailer that comprises a sequence number of the frame, an identifier for a source of the frame, and a flow identifier. The device sends the frame modified by the device into the virtual overlay toward the destination, wherein the frame is replicated along different paths in the virtual overlay. The node in the virtual overlay performs deduplication with respect to two or more copies of the frame based on the trailer.