addresses of “Gateways” (next hops) through which packets should be forwarded when they are headed for given destina- tion addresses. A gateway can be a host, a server or any other device that performs routing functions
In the drawing below, the NETServer would require an entry for segment C in its routes table in order to forward packets going from network segment A to C. The entry would contain C as a destination address and the address (on segment B) of the gateway (next hop) needed to get there.
Note that even though network segment B uses two modems to transfer data rather than a physical cable, it looks like a cabling segment to Network A and Network C.
With such an entry in place, the NETServer can pick up packets on A that are bound for C and sends them to the gateway. The gateway handles the rest.