1 ip routing protocol overview, Introduction to ip route and routing table, Ip route – H3C Technologies H3C S3600 Series Switches User Manual
Page 307: Routing table, Function, Routing entry, Ip routing protocol overview
1-1
1
IP Routing Protocol Overview
Go to these sections for information you are interested in:
z
Introduction to IP Route and Routing Table
z
z
Displaying and Maintaining a Routing Table
z
The term router in this chapter refers to a router in a generic sense or an Ethernet switch running a
routing protocol.
z
The S3600-SI series do not support OSPF.
Introduction to IP Route and Routing Table
IP Route
Routers are used for route selection on the Internet. As a router receives a packet, it selects an
appropriate route (through a network) according to the destination address of the packet and forwards
the packet to the next router. The last router on the route is responsible for delivering the packet to the
destination host.
Routing Table
Function
The key for a router to forward packets is the routing table. Each router maintains a routing table. Each
entry in this table contains an IP address that represents a host/subnet and specifies which physical
port on the router should be used to forward the packets destined for the host/subnet. And the router
forwards those packets through this port to the next router or directly to the destination host if the host is
on a network directly connected to the router.
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.
Routing entry
Each routing entry in a routing table contains:
z
Destination: It identifies the address of the destination host or network of an IP packet.
z
Mask: Along with the destination address, it identifies the address of the network segment where
the destination host or router resides. By performing a logical AND operation between destination