Professional Documents
Culture Documents
ODA030002 Dynamic
Routing Protocol and RIP
Routing Protocol
ISSUE 1.2 www.huawei.com
2. Based on an algorithm, the final route is calculated out (in fact, the
next hop and metric of the route are calculated out).
Each routing protocol has its own language (the relevant routing protocol
packet). Any two routers have the basic for mutual communication if they
implement and have started a routing protocol.
A new router should initiatively introduce itself to other router in the network
segment by sending the broadcast packet or sending the packet to the
specified neighboring router.
RIP OSPF
BGP IS-IS
The static route and direct route are often imported. Sometimes, the
routes of other routing protocols need to be redistributed.
Low overhead
The overhead of the protocol itself (memory, cpu, network bandwidth) i
s minimum.
Security
With the relevant security mechanism, the protocol itself is not easy to
attack.
Universal application
Be universal to networks of various topological structures and scales.
OSPF
IS-IS
RIP2
RIP1
Routing Table
------
Routing information
------
Other information
Routing Table
Routing Table
Destination Next
Destination Next
network hop
network hop
R1 R2
N1 R3
N1 R1
N2 R4
N2 R1
N3 R5
N3 R1
N4 R2
N4 R6
Router A A
Transfers the
new routing
B table
Topology change
causes the routing
table update
Update the
Update the routing table
routing table
11.3.0.0 s1 0
11.2.0.0 S0 0 11.3.0.0
11.4.0.0 s1 1
11.3.0.0 S0 1 C S0 11.1.0.0 s0 1
11.4.0.0. S0 2 E0
Routing Table
11.3.0.0 s0 0
11.4.0.0 E0 0
11.2.0.0 s0 1
11.1.0.0 S0 2
11.2.0.0 S0 0 11.3.0.0 s1 0
11.3.0.0
11.3.0.0 S0 1 11.4.0.0 s1 16
C
11.4.0.0. S0 16 S0 11.1.0.0 s0 1
E0
Routing Table
11.4.0.0 Destination Interface Metric
network
11.3.0.0 s0 0
Can be regarded as unreachable if 11.4.0.0 E0 16
the metric is 16. 11.2.0.0 s0 1
11.1.0.0 s0 2
11.3.0.0 s0 0
11.1.0.0 10
9
2
3
8 4
B
7 5
6
E0
12
11 1
Update after the hold-
10 2
11.2.0.0
Update after the
9 3
8 4 down time expiry
7 5
6
hold-down time
S0 S0
expiry
A S1
11.3.0.0
C
S0
E0
Network 11.4.0.0 is
11.4.0.0 unreachable
Network 11.4.0.0 is
Network 11.4.0.0 is 11.1.0.0
unreachable
unreachable
B
E0 11.2.0.0
S0 S0
A S1
11.3.0.0
C
S0
E0
Network 11.4.0.0 is
11.4.0.0 unreachable
E B C
11.4.0.0
Routing Table
① 11.4.0.0 E0 Infinity
A
12
②
11 1
Hold-down
10 2
9 3
8 4
7 5
6
timer set
RIP (in two version : RIP-1 and RIP-2) is applied to small and medium-
sized networks.
RIP support split horizon, route poison reverse, and triggered updated.
RIP
TCP UDP
IP
PPP Ether
The RIP is at the layer above the UDP. The routing information received by
the RIP is encapsulated in the UDP data packet.
---- ----
----
----
----
NET1 NET2
R1 R2
Response
Request
Routing Table
Routing Table
Routing Table
Destination Next hop
Destination Next hop
B network
network A
N1 A
N1 C
N2 A
N2 D
N3 A
N3 E
N4 F
N4 B
Microsoft Excel
Worksheet