Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Dynamic routing-RIP routing Protocol (configuration process)

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Dynamic routing overview:

implementation base on certain routing protocol

Features:

Reduced administrative tasks

It's taking up bandwidth.

Overview of Dynamic Routing Protocols:

A language used by routers to exchange information.

Measure:

hop count, bandwidth, load, delay, reliability, cost

Comparison of static and dynamic routing:

Static routing and dynamic routing complement each other in networks

Classified according to algorithm performed by route:

distance vector routing protocols

Routes are selected based on the number of routers that pass from the source network to the destination network

RIP,IGRP

link-state routing protocol

Route selection takes into account all paths from the source network to the destination network

OSPF,IS-IS

RIP is a distance-vector routing protocol (maximum hop count is 15 hops, 16 hops unreachable)

Regular updates, neighbor updates, broadcast updates, full routing table updates

The router learns the direct connection route, and when the update cycle is 30s, the router will send the routing table to the neighbor. After another 30s, the router will send the routing table again when the second update cycle is up.

Difference between RIP v1 and RIP v2

Version RIP v1RIP v2 Differentiated Classful Routing Protocol

classless routing protocol

broadcast update

(255.255.255.255)

Multicast update (224.0.0.9) VLSM not supported VLSM automatic routing aggregation not disabled Automatic aggregation can be disabled manual aggregation not supported Discontinuous subnets supported Discontinuous subnets

Experimental topology:

PC1:192.168.10.2/24

R1:

f0/0 interface: 192.168.10.1/24

f0/1 Interface: 192.168.20.1/30

R2:

f0/0 interface: 192.168.20.2/30

f0/1 interface: 192.168.30.1/30

R3:

f0/0 interface: 192.168.30.2/30

f0/1 Interface: 192.168.40.1/30

PC2:192.168.40.2/24

1, double click to open R1 configuration interface

R1#conf t Global mode R1(config)#int f0/0 Configure f0/0 interface R1(config-if)#ip add 192.168.10.1 255.255.0R1 (config-if)#no shut Open R1(config-if)#int f0/1 Configure f0/1 interface R1(config-if)#ip add 192.168.20.1 255.255.252R1 (config-if)#no shut Open R1(config-if)#do show ip route view the routing table

2. Double-click to open the R2 configuration interface

R2#conf t global mode R2(config)#int f0/0 configure f0/0 interface R2(config-if)#ip add 192.168.20.1 255.255.252R2 (config-if)#no shut Open R2(config-if)#int f0/1 configure f0/1 interface R2(config-if)#ip add 192.168.30.1 255.255.252R2 (config-if)#no shut Open R2(config-if)#do show ip route view the routing table

3. Double-click to open the R3 configuration interface

R3#conf t Global Moss R3(config)#int f0/0 Configure f0/0 interface R3(config-if)#ip add 192.168.30.2 255.255.252R3 (config-if)#no shut Open R3(config-if)#int f0/1 configure f0/1 interface R3(config-if)#ip add 192.168.40.1 255.255.252R3 (config-if)#no shut Open R3(config-if)#do show ip route View routing table information

4, configure ip address and gateway of pc1 and pc2

PC1> ip 192.168.10.2 192.168.10.1 Configure ip address and gateway for PC1 PC2> ip 192.168.40.2 192.168.40.1 Configure ip address and gateway for PC2

5. At this time, the two PCs cannot be connected because we have not configured RIP routing protocol.

6, configure RIP routing protocol for R1, R2, R3

R1#conf t global mode R1(config)#router rip Configure RIP routing protocol for R1 R1(config-router)#network 192.168.10.0R1(config-router)#network 192.168.20.0R1(config-router)#version 2R1(config-router)#no auto-summaryR1 (config-router)#exit

R2#conf t global mode R2(config)#router rip Configure RIP routing protocol for R2 R2(config-router)#network 192.168.20.0R2(config-router)#network 192.168.30.0R2(config-router)#version 2R2(config-router)#no auto-summary R2 (config-router)#exit

R3#conf t Global Mode R3(config)#router rip Configure RIP routing protocol for R3 R3(config-router)#network 192.168.30.0R3(config-router)#network 192.168.40.0R3(config-router)#version 2R3(config-router)#no auto-summaryR3 (config-router)#exit

7. Check whether the routing tables of the three routers have learned from each other to the routing table of the other party. Segment 10.20.30.40

do show ip route View routing table information

8. Test whether the two PCs can communicate now.

experiment is successful

Thanks for reading!!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report