4. A router is a device that forwards data
packets between computer networks. This creates an
overlay internetwork, as a router is connected to two or
more data lines from different networks. When a data
packet comes in one of the lines, the router reads the
address information in the packet to determine its
ultimate destination. Then, using information in its routing
table or routing policy, it directs the packet to the next
network on its journey.
9. hub is a device for connecting multiple Ethernet devices
together and making them act as a single network
segment. It has multipleinput/output (I/O) ports, in which
a signal introduced at the input of anyport appears at
the output of every port except the original incoming. A
hub works at the physical layer (layer 1) of the OSI
model. Repeater hubs also participate in collision
detection, forwarding a jam signal to all ports if it
detects a collision.