Routing is the process of selecting and defining paths for IP-packet traffic within or between networks as well as the process of managing network traffic overall.
A large autonomous network or the internet may present thousands of possible routes between destinations. As networks grow in scale to support mission-critical uses, routing is becoming more important and more complex.
Visibility into network transmission paths for internal and external traffic can help admins identify sources of latency and provide ways to resolve it.
Switches are devices that connect and can help to secure computers, printers, servers, and other devices to networks in homes or organizations.
Routers connect networks to other networks and act as dispatchers. They analyze data to be sent across networks, identify where it needs to go, choose the best routes for it, and send it on its way. Routers connect organizations to the outside world and can help to protect information from outside security threats.
While switches and routers differ in several other ways, a key difference is how they identify end devices. A Layer 2 switch uniquely identifies a device by its MAC address. A Layer 3 router uniquely identifies a device by a network-assigned IP address.
Ethernet technology provides the routing rules that enable network-connected devices to talk to, and not over, one another.
If two or more connected devices on a network try to transmit data packets at the same time, a packet collision occurs. Ethernet was designed to solve the problem of packet collision.
It provides network devices with a set of rules that essentially says, "Make sure no one else is talking before you talk. If you hear someone talking while you're talking, stop, listen, and wait for the talking to end before you talk again."
Transmissions within small, self-contained networks can use static routing, which relies on tables built manually or remembered over time by host devices.
Static routing is not feasible for larger networks. Such networks may have complex topologies and multiple subnetworks and undergo continual changes, such as addition and removal of endpoints and applications. Dynamic routing, which is based on protocols that incorporate updated network information and pathway metrics, keeps itself up-to-date automatically.
Dynamic routing within a large network can use either:
Both protocols have limitations. Distance-vector routing may not perform as well in a large network as in a smaller one, because of the many segments between nodes. As for link-state algorithms, they can require significant compute resources to compile. For these instances, path-vector routing, described below, is an alternative solution.
Transmissions between domains employ the path-vector routing protocol, which is a modified version of distance-vector routing. The difference is that path-vector routing designates one node to stand in for numerous other nodes for the purposes of routing. This path-vector information allows distance-vector routing to perform more rapidly and flexibly.
LANs are commonly used as small business networks or as subnetworks within a larger network. Purely local transmission routes are stored in static routing tables, whereas transmissions that exit the local network to move through the internet or to another subnetwork use dynamic protocols.
WANs are usually deployed by large enterprises, which means WANs are likely to involve multiple subnetworks and advanced services such as private- or hybrid-cloud deployments and private 5G networks.
Segment routing is a technique that's widely used by enterprises that need their IP networks to be efficient, scalable, and reliable. The technique is also able to address the requirements of 5G, the Internet of Things (IoT), and service virtualization. Segment routing routes according to the instructions and path information that are stored within a packet's header.
Software-defined networking offers numerous benefits, such as centralized provisioning, easy scalability, and the ability to repurpose existing hardware. It also provides visibility into network traffic and the ability to control that traffic through definition and adjustment of routing pathways.
For example, an SDN can use software-defined routing to quickly reconfigure routing tables or packet headers for anticipated spikes and dips in traffic, or new traffic patterns based on new applications or deployments.