21 ip routing overview, Ip routing and routing table, Routing – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 203: Routing through a routing table, Routing table, Contents of a routing table, 1 routing through a routing table, Ip routing overview

Advertising
background image

21-1

21

IP Routing Overview

Go to these sections for information you are interested in:

z

IP Routing and Routing Table

z

Routing Protocol Overview

z

Displaying and Maintaining a Routing Table

z

The term switch in this document refers to a switch in a generic sense or an access controller
configured with the switching function unless otherwise specified.

z

The term “router” in this document refers to a Layer 3 switch running routing protocols.

IP Routing and Routing Table

Routing

Routing in the Internet is achieved through routers. Upon receiving a packet, a router finds an optimal
route based on the destination address and forwards the packet to the next router in the path until the
packet reaches the last router, which forwards the packet to the intended destination host.

Routing Through a Routing Table

Routing table

Routing tables play a key role in routing. Each router maintains a routing table, and each entry in the
table specifies which physical interface a packet destined for a certain destination should go out to
reach the next hop (the next router) or the directly connected destination.

Routes in a routing table can be divided into three categories by origin:

z

Direct routes: Routes discovered by data link protocols, also known as interface routes.

z

Static routes: Routes that are manually configured.

z

Dynamic routes: Routes that are discovered dynamically by routing protocols.

Contents of a routing table

A routing table includes the following key items:

z

Destination address: Destination IP address or destination network.

z

Network mask: Specifies, in company with the destination address, the address of the destination
network. A logical AND operation between the destination address and the network mask yields
the address of the destination network. For example, if the destination address is 129.102.8.10 and
the mask 255.255.0.0, the address of the destination network is 129.102.0.0. A network mask is

Advertising