What is the primary function of a router in a computer network?

2024

What is the primary function of a router in a computer network?

  1. A.

    To connect devices within the same network

  2. B.

    To connect multiple networks together

  3. C.

    To filter incoming traffic based on IP addresses

  4. D.

    More than one of the above

  5. E.

    None of the above

Attempted by 2124 students.

Show answer & explanation

Correct answer: B

A router's primary function is to connect multiple networks together by forwarding data packets between them based on IP addresses. It operates at the network layer (Layer 3) of the OSI model and uses routing tables to determine the best path for data transmission. Option A describes the function of a switch, which connects devices within the same network. Option C refers to traffic filtering, which is typically handled by firewalls or ACLs, not the main purpose of a router. Option D is incorrect because at least one option (B) correctly identifies the router's primary role. Option E is incorrect because the correct function is listed in option B.

Explore the full course: Up Lt Grade Assistant Teacher 2025