Knowing Your Layer 2 and Layer 3 Protocols