15. Configure the dynamic routing of the router (RIP protocol)

1. Relevant knowledge

what is a router

A router (Router) is a hardware device that connects two or more networks. It acts as a gateway between networks. It is a dedicated intelligent network device that reads the address in each data packet and then decides how to transmit it. It can understand different protocols, such as the Ethernet protocol used by a local area network, and the TCP/IP protocol used by the Internet. In this way, the router can analyze the destination addresses of data packets from various types of networks, and convert the addresses of non-TCP/IP networks into TCP/IP addresses, or vice versa; The best route is sent to the designated location. So routers can connect non-TCP/IP networks to the Internet.

What is router static routing

A static route is a fixed route manually configured by the administrator in the router. The route clearly specifies the path that the packet must pass through to reach the destination. Unless the network administrator intervenes, the static route will not change. Static routing cannot respond to network changes, so static routing is generally used for networks with a small network and a relatively fixed topology.

What is router dynamic routing

Dynamic routing is a process in which routers in the network communicate with each other, transmit routing information, and use the received routing information to update the router table. It is implemented based on some routing protocol. Common types of routing protocols are: distance vector routing protocols (such as RIP) and link state routing protocols (such as OSPF). Routing protocols define the rules that routers use when communicating with other routers. Dynamic routing protocols generally have routing algorithms. A necessary step in its routing algorithm.

What is the RIP protocol

RIP uses the distance vector algorithm to synchronize routing information. Through the information exchange of the distance vector algorithm, all routers in the system can obtain routing information to all destination addresses. Generally speaking, all destinations in a network segment are summarized into one record, because addressing within the network can be achieved through Layer 2 technology. The routing database records the gateway information of a data packet going to its destination network, and includes a weight value, which describes the path distance to reach the destination network through this gateway.

2. Configure the dynamic routing technology steps of the router

  1. Set the IP address of the router and PC host
  2. Use the dynamic routing command on the router (route rip specifies the dynamic routing protocol)

3. Interface layout

4. Host PC IP address setting

IP address setting of         host PC0

IP address setting of         host PC1

Verification of         host PC0 pinging PC1

5. Router command configuration

Command settings for         Router Router0

Command settings for         Router Router1

6. Verification

        Host PC0 pings PC1

Guess you like

Origin blog.csdn.net/weixin_53645521/article/details/125160448