Subject

    Computer Science

    Topic

    Computer Hardware

    In networking, what is the primary function of a router?

    a)
    To connect devices within the same local network using MAC addresses.
    b)
    To forward data packets between different computer networks using IP addresses.
    c)
    To convert digital signals from a computer to analog signals for a telephone line.
    d)
    To regenerate a weak signal to extend the range of a network.

    Explanation

    A router operates at the Network Layer (Layer 3) of the OSI model. Its main job is to determine the best path for data packets to travel from a source network to a destination network. This is different from a switch, which operates at Layer 2 and connects devices within a single network.

    Find Tutors

    View all Tutors