Question: What Layer Is Router?

Is a router layer 2 or 3?

.