Conceptly
← All Concepts
🧭

Routing

InfrastructureNetwork path selection that decides where packets go next

Routing is the process of choosing the next hop for a packet based on its destination address. It stays mostly invisible in a single small network, but once subnets, VPNs, internet gateways, and multiple sites are involved, routing rules determine the real path traffic follows.

β–ΆArchitecture Diagram

πŸ” Structure

Dashed line animations indicate the flow direction of data or requests

Why do you need it?

When there is only one subnet, packets rarely need complex decisions. But once internal networks, the public internet, remote offices, and VPN links are all attached, the network has to decide where each packet should go next. Without a rule set for that, packets either take the wrong path or get dropped altogether.

Why did this approach emerge?

In early small networks, direct communication inside one broadcast domain was often enough. As the internet and enterprise networks expanded, operators had to stitch multiple networks together and needed a common way to decide where packets should be forwarded. Routing became one of the core capabilities of the network layer because it solved that scaling problem.

How does it work inside?

A router examines the destination IP and searches the route table for the most specific matching prefix. One private range might be sent to a branch router or a VPN gateway, while everything else follows a default route toward the internet edge. That repeated mapping of destination prefix to next hop is what turns disconnected links into a navigable network.

What is it often confused with?

Routing and load balancing both send traffic onward, but they use different decision criteria. Routing chooses a path based on the destination network prefix, while a load balancer chooses which backend instance behind the same service should receive the request. Network-to-network path selection is a routing problem; service-level distribution is a load-balancing problem.

When should you use it?

Routing fits office and data-center interconnection, internet egress paths, VPN connectivity, branch-office networking, and cloud network design. It does not solve HTTP-aware decisions or service-level backend distribution on its own. As route tables grow, keeping their priority and intent readable becomes critical for troubleshooting.

Network path design -- sending traffic toward the internet, branches, or other sites by destinationHeadquarters and branch connectivity -- forwarding specific private ranges through VPN pathsData-center segmentation -- controlling which network segments can reach which destinationsMulti-network operations -- combining default and exception routes to split traffic flows