RIP routing protocol configuration experiment

(1) Purpose of the experiment:

  1. Understand the principle of RIP routing;
  2. Master the configuration method of RIP routing.

(2) Experimental equipment:

Router and PC, twisted pair.

(3) Experimental content:

This experiment makes the network smooth by configuring the RIP route of the router, and further understands the principle of the RIP protocol.

(4) Experimental steps:

1) Arrange the topology and configure the ip address

Configure the ip address of each device

Configure the address of R0

Turn on the routing interface switch

2) Configure RIPV1 on the router

Configure routing for r0

Configure routing for r1

Configure routing on R3

3) View the routing table of the router

View the routing table of R0

View the RIP protocol of router R0 and some parameters of RIP

View the routing table of R1

View the routing table of R2

4) Check the dynamic update of RIP routing

Check the dynamic update of R0's RIP route

Close routing update information

5) From PC0 to ping PC1 and PC2, it can be pinged .

(5) Experimental results (with data and charts):

PC0 to ping PC1, the result can be pinged

PC0 to ping PC2, the result can be pinged

(6) Analysis and conclusion of experimental results:

    RIP belongs to the interior gateway protocol (IGP), which is used in an autonomous system. It is a vector-based distributed routing protocol, which is simple to implement and widely used.

Dynamic routing: It is a software process running on a router, through which routing information is exchanged between the same routing protocols on the router.

Advantages: It can automatically adapt to changes in network status, and automatically maintain routing information without the participation of network administrators.

Disadvantages: Due to the need to exchange routing information with each other, it needs to occupy network bandwidth and system resources, and the security is not as good as static routing.

(7) Experimental experience and suggestions:

    RIP is a UDP-based routing protocol, and RIPv1 data packets cannot exceed 512 bytes (the RIP packet header occupies 4 bytes, and each routing entry occupies 20 octets. Therefore, the RIP message is the largest It is 4+(25*20)=504 bytes, plus an 8-byte UDP header, so the size of the RIP datagram (excluding the header of the IP packet) can reach up to 512 bytes.) . RIPv1 protocol packets do not carry mask information, so RIPv1 processes routing entries according to the main network segment mask and interface address mask when sending and receiving routing updates. Therefore, RIPv1 cannot support route aggregation, nor does it support discontinuous subnets. There is no authentication field in RIPv1 protocol packets, so RIPv1 does not support authentication.

Guess you like

Origin blog.csdn.net/Zheng_Emperor/article/details/128201628