Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Section Two Routing Tables You may be wondering how a host or router determines where to transmit an IPv 4 packet, especially because any particular

Section Two Routing Tables
You may be wondering how a host or router determines where to transmit an IPv4 packet, especially because any particular network can contain dozens, hundreds, or thousands of hosts, and the answer lies in the routing table. A routing table is a set of rules used by a host to formulaically determine the nexthop destination of an IPv4 packet. In particular, each host uses its routing table to determine which of its network adapters it will use for the transmission, and which host (technically, which network adapter) will be the nexthop recipient. The term table in routing table is used primarily because the set of rules defined in a routing table is most often displayed in a tabular format, which consists of specific columns information, with one rule per row. Each rule defines the next hop for a particular network as defined by a network address and a subnet mask. Computers and devices are concerned with the rules themselves, and we as human beings view the rules in a tabular format, for understandability. A routing table contains all the information necessary for a host to determine where transmit an IPv4 packet.
It is important to understand that routing a packet from a sender to a receiver is distinct from a routing protocol. A routing protocol specifies exactly how routers share route information with each other, so that routers are able to communicate and configure their routing tables. Routing protocols treat each network as a single entity, and therefore exclusively consider networks, but not hosts on the network, when computing routes. Routing, on the other hand, uses the route information defined by a routing protocol, or route information defined through some other means such as manual or DHCP route assignment, in order to move an IPv4 packet from a sender to a receiver. A router may settle upon a set of routes by using a routing protocol, then route a copious number of packets using that set of routes. There are many different routing protocols in use today, but they all perform the same function to determine viable and efficient routes for IPv4 packets, and to update the routing table on each router to reflect this.
Let us take a look at the structure of a routing table. The significant columns of information in a routing table are the destination networks network address, the destination networks subnet mask, the network adapter to be used to reach the destination network, the IPv4 address of the next hop to reach for the destination network, and a metric that is used to determine which rule is preferable in the event two or more rules can be used. Each of these is explained in turn below.
The Destination Networks Network Address
What it Means: The network address is specified in this column so that the sending host knows which network is specified by the rule. Recall that a network can contain many hosts, and so any one rule in a routing table can identify the nexthop recipient for all hosts in a network.
Example: 35.26.1.0 is an example of a network address.
Common Title: When routing tables are printed, you will often see this column titled Network
Destination or Destination, though different operating systems and tools may use a different title.
The Destination Networks Subnet Mask
What it Means: The subnet mask determines which of the bits in an IPv4 address are used in the network identifier, and which are used in the host identifier. Recall that the network identifier
Page7of12
uniquely identifies a particular network, and the host identifier uniquely identifies a host on that network.
Example: 255.255.252.0 is an example of a subnet mask.
How it Works: The sending host collectively uses the destination networks address and subnet mask to determine if a particular IPv4 address matches a rule. For example, given a destination IPv4 address of 192.168.1.0, a rule with network address 192.168.1.0 and subnet mask 255.255.255.0 matches the destination address, but a rule with network address 192.168.5.0 and subnet mask 255.255.255.0 does not match the destination address.
It is important to note that if an IPv4 address matches two or more rules, the most specific rule the one with the most number of 1 bits in the subnet mask is the rule that is IPv4 uses to determine the next hop. For example, if one matching rule specifies 10.0.0.0/8 for its network address and subnet mask, and a second matching rule specifies 10.2.8.0/24, the second matching rule wins. You may now legitimately wonder what happens when two or more rules may match the same IPv4 address and also have the same number of 1 bits in the subnet mask. In such a case, another piece of information in the routing table the metric is used to settle the dispute. The metric is discussed in more detail in its own section, so you may refer to that section for more details. Because more than one rule may match any particular IPv4 address, it is important that one of the rules still wins so

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning ASP.NET 2.0 And Databases

Authors: John Kauffman, Bradley Millington

1st Edition

0471781347, 978-0471781349

More Books

Students also viewed these Databases questions

Question

What does Processing of an OLAP Cube accomplish?

Answered: 1 week ago