For general users, if they are familiar with vro configurations, static routing configuration should also be very simple. By configuring Static Routing, You can manually specify the path to access a certain network. The network structure is relatively simple, generally, Static Routing is used when the path to a network is unique. Create a static route ip route prefix mask {address | interface} [distance] [tag] [permanent].
Prefix: destination network to be reached.
Mask: Subnet mask.
Address: the IP address of the next hop, that is, the port address of the adjacent static route.
Interface: local network interface.
Distance: optional ).
Tag: optional ).
Permanent: specify that the route will not be removed even if the port is switched off.
The next hop address of static route access 192.1.0.64/26 on Router1 is 192.200.10.6, that is, when a destination address belongs to the network range of 192.1.0.64/26, route it to an adjacent router with the address 192.200.10.6. On Router3, the next hop address for access to the 192.1.0.128/26 and 192.200.10.4/30 networks is set to 192.1.0.65. Because the Serial 0 address on Router1 is 192.200.10.5 and 192.200.10.4/30 belong to a directly connected network, there is a path to access 192.200.10.4/30, so you do not need to add a static route on router1.
At the same time, because Router3 is no longer connected to other routers except router Router2, you can also assign a default route to it to replace the above static routing configuration, ip route 0.0.0.0 0.0.0.0 192.1.0.65, that is, as long as the path to the specific destination address is not found in the routing table, the data is routed to the adjacent router with the address 192.1.0.65.
RIP Protocol
RIP (Routing information Protocol) is an Internal Gateway Protocol (IGP) that is widely used earlier and is suitable for small-sized similar networks, is a typical distance-vector protocol. For more information, see RFC1058 and RFC1723. RIP broadcasts UDP packets to exchange route information and sends route information updates every 30 seconds. RIP provides hop count as a scale to measure the route distance. The hop count is the number of routers that a packet must go through to reach the target. If there are two vrouters with different speeds or bandwidths to the same destination, but the hop count is the same, RIP considers the two routes to be of the same distance. The maximum number of hops supported by RIP is 15, that is, the maximum number of routers to be routed between the source and destination networks is 15, and the number of hops is 16, which indicates that the network cannot be reached.
Related commands
Use the RIP Protocol router rip, specify the RIP version {1 | 2} 1, and specify the network connected to the router. Note: 1. cisco RIP version 2 supports verification, key management, route aggregation, classless Inter-Domain Routing (CIDR), and variable-length Subnet Mask (VLSMs ).