Which of the following is the primary function of a router in a computer network?
-
A
To assign IP addresses to devices
-
B
To connect different networks and route data packets
-
C
To amplify the signal of data packets
-
D
To provide wireless access to a network