CISCO PT Simulation Experiment (13) router RIP dynamic routing configuration
Experimental Purpose :
The configuration method of mastering RIP Dynamic route selection protocol
Mastering RIP routing descriptions in routing tables
Familiar with the principle and process of Routing and Packet forwarding
Experimental Background :
The company is connected to the export router of the enterprise network through a three-layer switch, isp The other router of the is connected. Now to be properly configured on enterprise network devices, It realizes the communication between the internal host of enterprise network and the external network host. In order to simplify the management and maintenance work, the company decided to use dynamic routing configuration--ripv2 protocol to realize interoperability.
Technical Principle :
Dynamic routing: Routers use routing Protocols ( algorithms ) to automatically calculate the optimal path and establish a routing table based on measured or estimated distance, delay, and network topology. Compared with static routing, it is more convenient to be used in the network environment with large scale and frequent network topology change, but on the other hand, it consumes more router CPU resources and network bandwidth.
-
routing protocol can be divided into 3 categories, :
-
distance vector: Determine the best path to the destination network by judging the distance. such as RIP, IGRP, etc.
-
link status:
-
Hybrid: Features with both distance vector and link state protocols, such as EIGRP
-
The routing Information Protocol (Routing information protocls, or RIP) is an earlier, more common IGP internal routing protocol that makes use of a distance vector protocol for small homogeneous networks in the following two versions:
-
ripv1: belongs to the class routing protocol, does not support the VLSM, the route updates in the broadcast form;
-
ripv2: Belongs to the class-free routing protocol, supports VLSM, and takes the form of multicast route update;
Experimental Equipment : ROUTER-PT 2 units, switch_2960 1 units, PC 3, straight line, crossover line, serial line.
Experimental topology :
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/9E/37/wKiom1mMq8bAYTQvAABChwodcMs817.png-wh_500x0-wm_ 3-wmp_4-s_3687498630.png "title=" 12.1.PNG "width=" 419 "height=" "" border= "0" hspace= "0" vspace= "0" style= "width : 419px;height:320px; "alt=" Wkiom1mmq8baytqvaabchwodcms817.png-wh_50 "/>
Experimental steps:
New Cisco PT topology diagram
Set IP and gateway addresses for each PC, where the gateway address is the IP address of the router interface, respectively
in Router0 and router1 Configure the interface's IP address
Set the clock frequency on the Router0 serial port (this experiment ROUTER0 the DCE type, theRouter0 one end has the clock icon )
Look at the direct-attached route on the router
router0 and
View Router Dynamic routing on the
Verify the communication between different LAN PCs
PC Settings 192.168.1.2//pc0192.168.1.3//pc1//subnet mask and gateway 255.255.255.0192.168.1.1
PC Settings 192.168.2.2//pc2//subnet mask and gateway 255.255.255.0192.168.2.1
router0 basic configuration Router>enablerouter#conf trouter (config) #inter f0/0 //Enter No. 0 module NO. 0 port (Fast Ethernet interface) Router (config-if) #ip address 192.168.1.1 255.255.255.0 //Configuration F0/0 Interface Iprouter (config-if) #no shutdown //Open Port Router (config-if) #exitRouter (config) #interface serial 2/0 //Enter 2nd module NO. 0 port (Serial interface) Router (config-if) #ip address 10.10.254.1 255.255.255.0 //Configuration S2/0 Interface Iprouter (config-if) #clock rate 64000 //must be configured with a clock to communicate router (config-if) #no shutdown //Open port Router (config) #^zrouter#show r
router1 basic configuration Router>enablerouter#conf trouter (config) #inter f0/0 //Enter No. 0 module NO. 0 port (Fast Ethernet interface) Router (config-if) #ip address 192.168.2.1 255.255.255.0 //Configuration F0/0 Interface Iprouter (config-if) #no shutdown //Open Port Router (config-if) #exitRouter (config) #interface serial 2/0 //Enter 2nd module NO. 0 port (Serial interface) Router (config-if) #ip address 10.10.254.2 255.255.255.0 //Configuration S2/0 Interface Iprouter (config-if) #clock rate 64000 //must be configured with a clock to communicate router (config-if) #no shutdown //Open port Router (config) #^zrouter#show r
router0 Dynamic routing configuration Router>enablerouter#conf trouter (config) # router rip //enable RIP dynamic routing protocol Router (config-router) #version 2 //using version 2, RIPV2 protocol router (config-router) # NETWORK 192.168.1.0     //Specifies the network that needs to be advertised (at the router interface) Router (config-router) #network 10.254.10.0Router (config) #^zrouter#show ip route
router1 Dynamic routing configuration Router>enablerouter#conf trouter (config) # router rip //enable RIP dynamic routing protocol Router (config-router) #version 2 //using version 2, RIPV2 protocol router (config-router) # NETWORK 192.168.2.0     //Specifies the network that needs to be advertised (at the router interface) Router (config-router) #network 10.254.10.0Router (config) #^zrouter#show ip route
# Link Test PC0 and PC1 (Command prompt cmd) ping 192.168.1.1//link ping 10.254.10.2//link ping 192.168.2.2 Link-through PC1 (Command prompt cmd) ping 10.254.10.1//link ping 192.168.1.3//link-pass
Lab environment: Windows 7,cisco PT 6.3
Reference: CCNA Study Guide (7th edition)
CISCO PT Simulation Experiment (13) router RIP dynamic routing configuration