The Layer 2 engine performs which of the following tasks?
1) If necessary, an input router ACL check is performed.
2) The destination IP address is compared against the Layer 3 forwarding table for the longest match.
3) The Layer 2 and Layer 3 header are rewritten.
4) The Layer 2 forwarding engine forwards the frame.