Configure the rip dynamic routing protocol for network-wide communication

Source: Internet
Author: User

Configure the rip dynamic routing protocol to connect the entire network. IP addresses 192.168.0.0/24R1 and R3: IP addresses 192.168.1.0/24R2 and IP addresses 192.168.2.0/24R3 and R4: IP addresses 192.168.3.0 /24 use the loopback interface to simulate lo 0 192.168.20.1/24R3 lo 0 192.168.30.1/24R4 lo 0 192.168.40.1/24 interface configuration of the internal client host R1 to omit R1router ripnetwork 192.168.10.0network 192.168.0.0network 192.168.1.0 R2router ripnetwork 192.168.201_network 192.168.2.0network 192.168.0.0 R3router 192.168.301_network 192.168.2.0network 192.168.1.0network 192.168.3.0 R4router ripnetwork 192.168.401_network 192.168.3.0 route table R1R 192.168.30.0/24 [120/1] via 192.168.1.2, 00:00:10, FastEthernet0/0C 192.168.10.0/24 is directly connected, Loopback0R 192.168.40.0/24 [120/2] via 192.168.1.2, 00:00:10, FastEthernet0/0R 192.168.20.0/24 [120/1] via 192.168.0.2, 00:00:04, fastEthernet1/0C 192.168.0.0/24 is directly connected, FastEthernet1/0C 192.168.1.0/24 is directly connected, FastEthernet0/0R 192.168.2.0/24 [120/1] via 192.168.1.2, 00:00:10, fastEthernet0/0 [120/1] via 192.168.0.2, 00:00:04, FastEthernet1/0R 192.168.3.0/24 [120/1] via 192.168.1.2, 00:00:12, FastEthernet0/0R2R 192.168.30.0/24 [120/1] via 192.168.2.1, 00:00:00, fastEthernet0/0R 192.168.10.0/24 [120/1] via 192.168.0.1, 00:00:09, FastEthernet1/0R 192.168.40.0/24 [120/2] via 192.168.2.1, 00:00:00, FastEthernet0/0C 192.168.20.0/24 is directly connected, loopback0C 192.168.0.0/24 is directly connected, FastEthernet1/0R 192.168.1.0/24 [120/1] via 192.168.2.1, 00:00:00, FastEthernet0/0 [120/1] via 192.168.0.1, 00:00:09, fastEthernet1/0C 192.168.2.0/24 is directly connected, FastEthernet0/0R 192.168.3.0/24 [120/1] via 192.168.2.1, 00:00:02, FastEthernet0/0R3C 192.168.30.0/24 is directly connected, loopback0R 192.168.10.0/24 [120/1] via 192.168.1.1, 00:00:25, FastEthernet1/0R 192.168.40.0/24 [120/1] via 192.168.3.1, 00:00:21, FastEthernet2/0R 192.168.20.0/24 [120/1] via 192.168.2.2, 00:00:24, fastEthernet0/0R 192.168.0.0/24 [120/1] via 192.168.2.2, 00:00:24, FastEthernet0/0 [120/1] via 192.168.1.1, 00:00:25, FastEthernet1/0C 192.168.1.0/24 is directly connected, fastEthernet1/0C 192.168.2.0/24 is directly connected, FastEthernet0/0C 192.168.3.0/24 is directly connected, FastEthernet2/0R4R 192.168.30.0/24 [120/1] via 192.168.3.2, 00:00:13, fastEthernet0/0R 192.168.10.0/24 [120/2] via 192.168.3.2, 00:00:13, FastEthernet0/0C 192.168.40.0/24 is directly connected, Loopback0R 192.168.20.0/24 [120/2] via 192.168.3.2, 00:00:13, fastEthernet0/0R 192.168.0.0/24 [120/2] via 192.168.3.2, 00:00:13, FastEthernet0/0R 192.168.1.0/24 [120/1] via 192.168.3.2, 00:00:13, FastEthernet0/0R 192.168.2.0/24 [120/1] via 192.168.3.2, at 00:00:13, FastEthernet0/0C 192.168.3.0/24 is directly connected. FastEthernet0/0 indicates that there are two routes to the destination CIDR block, with the same number of hops, because RIP is an extension of r1_2 based on the number of hops (modifying the lo 0 parameter) change R1 lo 0 to 10.10.10.1/24, change R2 lo 0 to 10.10.20.1/24, and then change R3 lo 0 to 10.10.30.1/24, and then change R4 lo 0 to 10.10.40.1/24. declare lo 0 network segment network 10.0.0.0 route table R1 R 10.0.0.0/8 [120/1] via 192.168.1.2, 00:00:15, FastEthernet0/0R2R 10.0.0.0/8 [120/1] via 192.168.2.1, 00:00:16, FastEthernet0/0 [120/1] via 192.168.0.1, 00:00:15, FastEthernet1/0R3R 10.0.0.0/8 [120/1] via 192.168.1.1, 00:00:02, FastEthernet1/0R4 R 10.0.0.0/8 [120/1] via 192.168.3.2, 00:00:14, fastEthernet0/0 R1 to 10.10.30.1 to 10.10.40.1 to 10.10.10.1 to 10.10.10.30.1 to 10.10.10.1 to 10.10.40.1 to 10.10.10.1 to 10.10.20.1 to 10.10.40.1 to 10.10.10.1 to 10.10.10.10.1: route table R1R 10.10.20.0 [120/1] via 192.168.0.2, 00:00:12, FastEthernet1/0R 10.10.30.0 [120/1] via 192.168.1.2, 00:00:19, FastEthernet0/0R 10.10.40.0 [120/2] via 192.168.1.2, 00:00:19, FastEthernet0/0R2R 10.10.10.0 [120/1] via 192.168.0.1, 00:00:04, FastEthernet1/0R 10.30.0 [120/1] via 192.168.2.1, 00:00:11, FastEthernet0/0R 10.10.40.0 [120/2] via 192.168.2.1, 00:00:11, fastEthernet0/0R3R 10.10.10.0 [120/1] via 192.168.1.1, 00:00:09, FastEthernet1/0R 10.10.20.0 [120/1] via 192.168.2.2, 00:00:21, FastEthernet0/0R 10.10.40.0 [120/1] via 192.168.3.1, 00:00:15, fastEthernet2/0R4R 10.10.10.0 [120/2] via 192.168.3.2, 00:00:29, FastEthernet0/0R 10.10.20.0 [120/2] via 192.168.3.2, 00:00:29, FastEthernet0/0R 10.10.30.0 [120/1] via 192.168.3.2, 00:00:29, fastEthernet0/0: The network is connected successfully.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.