A Deep Dive into Layer 2 Technologies