PingingLab-2.5 r00002 basic configuration

Source: Internet
Author: User

2.5 r00002 basic configuration

Purpose:

1. master the basic configuration of r12002.

2. Master the classless features of r12002.

Tutorial topology:

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/0630101D9-0.png "title =" 2.5.png "/>

Tutorial steps:

1. Configure the IP addresses of each device based on the topology in the figure and ensure direct connection connectivity;

Perform the following configuration on R1:

R1 (config) # int f0/0

R1 (config-if) # no shutdown

R1 (config-if) # ip address 12.1.1.1 255.255.255.0

R1 (config-if) # exit

R1 (config) # int f1/0

R1 (config-if) # no shutdown

R1 (config-if) # ip address 13.1.1.1 255.255.255.0

R1 (config-if) # exit

R1 (config) # int loopback 1

R1 (config-if) # ip address 1.1.1.1 255.255.255.255

R1 (config-if) # exit

Configure R2 as follows:

R2 (config) # int f0/0

R2 (config-if) # no shutdown

R2 (config-if) # ip address 12.1.1.2 255.255.255.0

R2 (config-if) # exit

R2 (config) # int f1/0

R2 (config-if) # no shutdown

R2 (config-if) # ip address 23.1.1.2 255.255.255.0

R2 (config-if) # exit

R2 (config) # int loopback 1

R2 (config-if) # ip address 2.2.2.2 255.255.255.255

R2 (config-if) # exit

Configure the following on R3:

R3 (config) # int f0/0

R3 (config-if) # no shutdown

R3 (config-if) # ip address 13.1.1.3 255.255.255.0

R3 (config-if) # exit

R3 (config-if) # int f1/0

R3 (config-if) # no shutdown

R3 (config-if) # ip address 23.1.1.3 255.255.255.0

R3 (config-if) # exit

R3 (config) # int loopback 1

R3 (config-if) # ip address 3.3.3.3 255.255.255.255

R3 (config-if) # exit

Perform a connectivity test on one of the routers:

R1 # ping 12.1.1.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 12.1.1.2, timeout is 2 seconds:

.!!!!

Success rate is 80 percent (4/5), round-trip min/avg/max = 20/34/48 MS

R1 # ping 13.1.1.3

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 13.1.1.3, timeout is 2 seconds:

.!!!!

Success rate is 80 percent (4/5), round-trip min/avg/max = 16/31/48 MS

This indicates that the direct connection is correct.

2. Configure r1_2 on each vro. The R1 configuration is as follows:

R1 (config) # router rip

R1 (config-router) # version 2 [PL1]

R1 (config-router) # no auto-summary [PL2]

R1 (config-router) # network 12.0.0.0 [PL3]

R1 (config-router) # network 13.0.0.0

R1 (config-router) # network 1.0.0.0

R1 (config-router) # exit

R2 is configured as follows:

R2 (config) # router rip

R2 (config-router) # version 2

R2 (config-router) # no auto-summary

R2 (config-router) # network 12.0.0.0

R2 (config-router) # network 23.0.0.0

R2 (config-router) # network 2.0.0.0

R2 (config-router) # exit

The R3 configuration is as follows:

R3 (config) # router rip

R3 (config-router) # version 2

R3 (config-router) # no auto-summary

R3 (config-router) # network 13.0.0.0

R3 (config-router) # network 23.0.0.0

R3 (config-router) # network 3.0.0.0

R3 (config-router) # exit

3. View and test the route table on any vro:

View the route table on R1:

R1 # show ip route rip [PL4]

2.0.0.0/32 is subnetted, 1 subnets

R2.2.2.2 [120/1] via 12.1.1.2, 00:00:04, FastEthernet0/0[PL5]

3.0.0.0/32 is subnetted, 1 subnets

R3.3.3.3 [120/1] via 13.1.1.3, 00:00:12, FastEthernet1/0

23.0.0.0/24 is subnetted, 1 subnets

R23.1.1.0 [120/1] via 13.1.1.3, 00:00:12, FastEthernet1/0

[120/1] via 12.1.1.2, 00:00:04, FastEthernet0/0

We can see the RIPv2 route learned by R1 from R2 and R3. The connectivity test is conducted as follows:

R1 # ping 2.2.2.2 source 1.1.1.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:

Packet sent with a source address of 1.1.1.1

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 20/24/44 MS

R1 # ping 3.3.3.3 source 1.1.1.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:

Packet sent with a source address of 1.1.1.1

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 16/24/40 MS

At this time, the test on R1 is successful. The same method can be used to test on R2 and R3. It indicates that r12002 makes the three vrouters connect to each other in the loop CIDR block. This experiment is completed.

[PL1]The RIP protocol supports three versions. In addition to r00001, r00002, RIPng, and r00002 are defined in RFC 1388 and are used to optimize and supplement r00001, RIPng is developed to support Ipv6 environments.

[PL2]RSM 2 has the classless feature and supports VLSM and CIDR. However, RIPv2 Enables automatic aggregation by default. This command is used to disable the automatic summary feature.

[PL3]Although r12002 is a classless routing protocol, the method for declaring a route is the same as that for r12001, or the primary network number.

[PL4]This command is used to view the RIP route. In the same way, you can add the keywords connected, static, ospf, and VPN after the show ip route command to directly view the route of the specific protocol.

[PL5]R12002 route updates include specific mask information, which can better describe the network than r00001.

========================================================== =

PingingLab· High quality ITEducation provider

CCIELab-ITProject Practice · customization of high-end Talents

Shenzhen pinke Information Technology Co., Ltd. · waihuan West Road Station, Guangzhou University City

Sina Weibo :@PingingLab@ PingingLab-Chen xinjie

PingingLabPublic Account: pinginglab

PingingLabTechnical Exchange Group: 240920680


This article from the "Chen xinjie network" blog, please be sure to keep this source http://chenxinjie.blog.51cto.com/7749507/1274514

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.