Router Theory
Each router listens on each one of its multiple interfaces for route (also called forwarding) requests.
When a router receives a packet destined for a different network segment, the router must decide to which of its network interfaces it will direct the packet. If the router is connected directly to the destination VLAN, it just plops it out of the interface that’s connected to that VLAN; otherwise, it must hand it off to another router that either is attached to that VLAN or is closer to the directly connected router.
Routing Tables
Obviously, if the router has a direct connection to a particular segment, it knows how to route the packet there. But what if the router you hand the packet to isn’t directly connected to the destination ...
Get Sams Teach Yourself Network Troubleshooting in 24 Hours, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.