01-01 IP Routing Overview
01-01 IP Routing Overview
Contents
1 IP Routing Overview.................................................................................................................1-1
1.1 Overview of IP Routing and the Routing Table ............................................................................................1-2
1.1.1 Route and Route Segments ..................................................................................................................1-2
1.1.2 Route Selection Through the Routing Table ........................................................................................1-3
1.2 Overview of Routing Protocols.....................................................................................................................1-4
1.2.1 Static Route and Dynamic Route .........................................................................................................1-4
1.2.2 Classification of Dynamic Routing Protocols......................................................................................1-5
1.2.3 Routing Protocols and Route Preferences............................................................................................1-5
1.2.4 Load Balancing and Route Backup......................................................................................................1-6
1.2.5 Sharing of Routing Information Between Protocols ............................................................................1-7
1.3 Routing Management ....................................................................................................................................1-7
1.3.1 Displaying of the Routing Table ..........................................................................................................1-7
1.3.2 Displaying and Debugging of the Routing Management Module........................................................1-8
Figures
Tables
Table 1-1 Routing protocols and their default preferences for the routes...........................................................1-6
Table 1-2 Displaying the routing table................................................................................................................1-7
Table 1-3 Displaying and Debugging the routing management module.............................................................1-8
1 IP Routing Overview
Section Description
1.1 Overview of IP Routing This section describes the information of the IP routing
and the Routing Table and the routing table.
1.2 Overview of Routing This section describes the information of the routing
Protocols protocol.
1.3 Routing Management This section describes the information of the routing
management.
Host A
Route Segment
Host C
Host B
When the size of the networks vary considerably, the length of the route segments may also
vary. So when the actual length of the path is measured, for different networks, the number of
route segments is multiplied by a weighted coefficient.
Consider a router in a network as a node in the network, and a route segment on the Internet
as a link. Then routing on the Internet is similar to the routing in a simple network.
Routing through a few routing segments may not be always the ideal way. For example,
routing through three LAN route segments may be much faster than routing through two
WAN route segments.
As shown in Figure 1-2, Router A is connected with three networks. Thus it has three IP
addresses and three physical interfaces. Figure 1-2 shows the routing table.
11.0.0.0/8
Routing Table
RouterB
Destination Nexthop Interface
11.0.0.0/8 1.1.1.2 Eth1/0/0 1.1.1.2/24
12.0.0.0/8 2.2.2.2 Eth2/0/0
13.0.0.0/8 3.3.3.2 Eth3/0/0 Eth1/0/0
1.1.1.1/24
Eth2/0/0 Eth3/0/0
2.2.2.1/24 3.3.3.1/24
RouterA
RouterC RouterD
2.2.2.2/24 3.3.3.2/24
12.0.0.0/8 13.0.0.0/8
quantity of Layer 3 devices. However, dynamic routes are quite complicated and difficult to
configure. They have higher system requirements. They also occupy certain network
resources.
Table 1-1 Routing protocols and their default preferences for the routes
DIRECT 0
OSPF 10
IS-IS 15
STATIC 60
RIP 100
OSPF ASE 150
OSPF NSSA 150
IBGP 255
EBGP 255
UNKNOWN 255
Except for direct route, the preferences of various routing protocols can be manually
configured to meet the user's requirements. In addition, the preferences for each static route
can be different.
Route Backup:
The NE40E supports the route backup to improve the network reliability. You can configure
multiple routes to the same destination based on the actual situation. The route with the
highest preference is called the active route. The other routes with descending preferences are
called backup routes.
Generally, the main route forwards packets. When the link has some faults, the route becomes
inactive, and the router chooses a backup route to forward the data. The process realizes the
switch from the main route to the backup route. When the main route is recovered, the router
recovers its corresponding route and chooses the route again. Because the route has the
highest preference, the router chooses the main route to send the data. That is the switch from
the backup route to the main route.
Action Command