Exploring the Functions of Routing

Routing is the process that forwards data packets between networks or subnetworks using a Layer 3 device: a router or gateway. The routing process uses network routing tables, protocols, and algorithms to determine the most efficient path for forwarding the IP packet. Routers greatly expand the scalability of networks by terminating Layer 2 collisions and broadcast domains. Understanding how routers function will help you understand the broader topic of how networks are connected and how data is transmitted over networks. The following sections describe the operation of routers.

Routers

A router or gateway is a network device that determines the optimal path for transmitting data from one network to another. A router is a specialized computing device running programs and algorithms that aid in the optimal delivery of network traffic. Certain characteristics are common to all routers. Figure 4-1 shows a picture of various Cisco 2800 series routers.

Figure 4-1 Cisco 28000 Series Routers

Figure 4-1 Cisco 28000 Series Routers

Data Local Router Terdekat

Routers are essential components of large networks that use TCP/IP, because routers provide the ability to accommodate growth across wide geographical areas. The following characteristics are common to all routers:

■ Routers have these components, which are also found in computers and switches: — CPU

— Motherboard

■ Routers have network adapters to which IP addresses are assigned.

■ Routers can have these types of ports:

— Console port: The router uses a console port for the attachment of a terminal used for management, configuration, and control. A console port might not be found on all routers.

— Network port: The router has a number of network ports, including different LAN or WAN media ports.

Routers have the following two key functions:

■ Path determination: Routers must maintain their routing tables and ensure that other routers know about changes in the network. Routers do this by using a routing protocol to communicate the network information to other routers from a routing table on the router. It is possible to statically populate the routing tables, but statically populating does not scale and leads to problems when the network topology changes, either by design or as a result of outages.

■ Packet forwarding: Routers use the routing table to determine where to forward packets. Routers forward packets through a network interface toward the destination network identified by the destination IP address in the packet.

Path Determination

During the path determination part of transmitting data over a network, routers evaluate the available paths to remote destinations. This section describes how routers determine the most efficient path for forwarding packets.

There can be many paths to get from one network to another. These paths, also known as routes, can have many different characteristics, such as speed, latency, and media type. The purpose of a router is to communicate with other routers to learn and select the best path, as shown in Figure 4-2.

Figure 4-2 Routers Perform Path Selection

Figure 4-2 Routers Perform Path Selection

These routes are held in routing tables within the software of the router and are then used to determine where to send a packet based on the destination addressing. The following three types of entries in routing tables can be used to select the best path to a remote destination:

■ Static routing: This type of routing requires that you manually enter route information into a routing table.

■ Dynamic routing: This type of routing builds a routing table dynamically, using routing information that is obtained from routing protocols.

■ Default routing: This type of routing replaces the need to hold an explicit route to every network. The default route entry can be either statically configured or learned from a dynamic routing protocol.

The routing table holds only one entry per network. If there is more than one source of information regarding paths to a particular destination network, the routing process needs to be able to select which source of information should be used in the routing table. Multiple sources come from having multiple dynamic routing protocols running, and from static and default information being available. The routing protocols use different metrics to measure the distance and desirability of a path to a destination network. Because it is not possible to directly select from information provided by different routing protocols, the Cisco routing process assigns a weight, known as the administrative distance, to each source of information. The best, most trusted source has the lowest number.

Routing Tables

As part of the path determination process, the routing process builds a routing table that identifies known networks and knows how to reach them. Figure 4-3 shows how a routing table maintains network locations.

Figure 4-3 Routing Tables a

Network

Continue reading here: Constructing a Network Addressing Scheme

Was this article helpful?

+3 -1

Readers' Questions

  • jorja
    Which of the following reads address information and forwards the packets to the appropriate place?
    11 hours ago
  • A router is the device that reads address information and forwards packets to the appropriate place.
    • Veli-Matti
      Which of the following are the main components of dynamic routing protocols (select three.)?
      1 month ago
    • A) Distance vector algorithms B) Routing tables C) Link-state algorithms D) Path selection algorithms E) Network topology A) Distance vector algorithms B) Routing tables C) Link-state algorithms
      • marcho
        Which protocol do routers use to determine the optimal path to forward traffic?
        3 months ago
      • Routers use the Border Gateway Protocol (BGP) to determine the optimal path to forward traffic. BGP is a routing protocol that is used to exchange routing and reachability information between autonomous systems (AS). It is a powerful routing protocol that is essential for the Internet to operate properly.
        • Stephanie
          Which of the following describe the function of routers?
          7 months ago
          1. Routers direct traffic and messages between different computer networks.
          2. Routers forward data packets based on their destination IP address.
          3. Routers can provide a secure connection between different networks.
          4. Routers can be used to monitor and control network traffic.
          • REGINARD BAGGINS
            Which routing component is used to forward packets to remote networks?
            7 months ago
          • The routing component used to forward packets to remote networks is a router.
            • francis
              Are remote networks found in a router?
              8 months ago
            • Remote networks found in a router can include local area networks (LANs), wide area networks (WANs), virtual private networks (VPNs), and wireless networks.
              • amanda underhill
                What is the role of the forwarding table within a router?
                8 months ago
              • The forwarding table within a router is used to determine which interface a packet needs to be forwarded to in order to reach its destination. This table contains information about the networks that the router is connected to and the paths to be used to reach them. This enables the router to work out which interface a packet needs to be forwarded to in order to reach its destination.
                • santo
                  Which of the following describes router functions?
                  8 months ago
                • Router Functions:
                  1. Path selection: Selecting the network path based on criteria such as cost, delay, and bandwidth
                  2. Network traffic control: Controlling the flow of data across a network by enabling and/or blocking specific paths
                  3. Address resolution: Mapping IP addresses to corresponding hardware addresses
                  4. Packet filtering: Examining the header of an incoming packet to determine if it should be allowed to pass or blocked
                  5. Encapsulation: Creating a tunneling or virtual path between two networks so they can communicate securely.
                  • KEITH
                    Which two of these functions do routers perform on packets?
                    8 months ago
                    1. Filtering
                    2. Forwarding
                    • Douglas
                      What are two functions of a router?
                      8 months ago
                      1. Routing: A router acts as a gateway for data packets, receiving them and sending them out to the appropriate end point. It reads the addressing information of each packet and determines the best route for it to take to its final destination.
                      2. Network Security: Routers can help to protect your network by blocking unnecessary traffic and using various security protocols such as firewalls to limit access.
                      • fulgenzia
                        What is the purpose of the routing process?
                        8 months ago
                      • The routing process is responsible for determining the best path for data to travel from the source to the destination. Routing also helps manage and maintain the network traffic by seeking out shorter paths and avoiding congested areas in the network. It also helps ensure data is secure and delivered accurately by verifying the destination address and checking the integrity of the data.