[Cisco (Cisco) router RIP dynamic routing configuration] University campus planning

Table of contents

1. Purpose of the experiment

2. Experimental background

three. Laboratory equipment

Four. Experimental steps 1. Adding router serial port

2. The experimental topology is as follows

3. Set five network segments

4. Set the IP address of the PC

5. Configure router R1 as follows

7. Configure router R3 as follows

8. Test
connectivity

1. Purpose of the experiment

1. Master the configuration method of RIP protocol:

2. Master and view the routes generated through the dynamic routing protocol RIP learning;

3. Familiar with the connection method of WAN cables .

2. Experimental background

1. The campus network topology of Henan Vocational University of Science and Technology consists of three parts : comprehensive teaching building , comprehensive training building, and library . Use annotation tools to mark the names of these three parts .

2. The integrated equipment of the comprehensive teaching building is as follows. Two PCs , one server, one switch, and one router R outer 0.

3. The equipment in the training .

4. The equipment of the library is as follows. Two PCs.-Taiwan server.-Taiwan switah. One router router2 .

5. Add the corresponding functional module .HWIC-2T to the router .

6. Routers are connected by serial cable.

7. The IP address information table is planned as follows:

Comprehensive Mathematics Building: 192.86.3.0 network segment , default gateway 192.80.3.254 ;

Comprehensive training building: 192.86.1.0 network segment, default gateway 192.86.1.254 ;

Library : 192.86.2.0 network segment , default gateway 192.86.2.254 .

The 192.86.4.0 network segment is used between Routero and R onterl ;

The network segment 192.86.5.0 is used between Router1 and Router2 .

three. Laboratory equipment

 3 sets of routers ,  3 sets of switches , 7 sets of PCs, 2 sets of servers  ; DCE serial line; crossover line, direct connection line.

Four. Experimental steps
1. Adding router serial port

Click the power button of the router Router0 to turn it off (the green light is off), drag the module HWIC-2T on the left side of the router Router0 page to the serial port of the router, and then turn on the power, and the addition is complete.

The operation of the other two routers Router1 and Router2 is the same as that of Router0.

2. The experimental topology is as follows

   Place the router, switch and seven PCs. The PC and the switch use a copper direct connection, the switch and the router use a copper crossover cable, and the two routers use a serial DCE, that is, a line with a clock.

3. Set five network segments

As shown in the topological diagram above .

4. Set the IP address of the PC

Click on the PC, select the desktop - IP address configuration, and set its IP address and subnet mask as follows:

PC0(192.86.3.1)、PC1(192.86.3.2);

PC2(192.86.1.1)、PC3(192.86.1.2)、PC4(192.86.1.3);

PC5(192.86.2.1)、PC6(192.86.2.2)。

Click Server, select Desktop - IP Address Configuration, and set its IP address to:

Server0(192.86.3.3)、Server1(192.86.2.3)。

The subnet masks of all PCs and Servers are: 255.255.255.0

5. Configure router R1 as follows

(1) Open the command line page of Router0, enter the global mode, and then enter the privileged mode and configuration mode in turn;

(2) In the interface configuration mode, set the IP address of the router port Fa0/0, and configure the ip address of the interface serial0 /3/0 .

( 3 ) Configure static routing (configure routing table)

Router>en
Router#conf t
Router(config)#int fa0/0
Router(config-if)#ip address 192.168.3.254 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#int serial0/3/0
Router(config-if)#ip address 192.168.4.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config-router)#ip route 192.86.1.0 255.255.255.0 192.86.4.2
Router(config-router)#ip route 192.86.2.0 255.255.255.0 192.86.4.2
Router(config-router)#ip route 192.86.3.0 255.255.255.0 192.86.4.2
Router(config-router)#exit

6. Configure router R2 as follows

Router>en
Router#conf t
Router(config)#int fa0/0
Router(config-if)#ip address 192.168.1.254 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#int serial0/3/0
Router(config-if)#ip address 192.168.4.2 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#int serial0/3/1
Router(config-if)#ip address 192.168.5.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config-router)#ip route 192.86.3.0 255.255.255.0 192.86.4.1
Router(config-router)#ip route 192.86.2.0 255.255.255.0 192.86.5.2
Router(config-router)#exit

7. Configure router R3 as follows

Router>en
Router#conf t
Router(config)#int fa0/0
Router(config-if)#ip address 192.168.2.254 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#int serial0/3/1
Router(config-if)#ip address 192.168.5.2 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config-router)#ip route 192.86.1.0 255.255.255.0 192.86.5.1
Router(config-router)#ip route 192.86.4.0 255.255.255.0 192.86.5.1
Router(config-router)#ip route 192.86.3.0 255.255.255.0 192.86.5.1
Router(config-router)#exit

8. Test connectivity

After going through the above steps, we found that the topology map has been connected, and now test the connectivity of the two PCs.

Click PC1 to enter the command prompt: use PC1 to pingPC2, the result can be pinged:

Guess you like

Origin blog.csdn.net/qq_59642714/article/details/124742132