CISCO PT Simulation Experiment (12) configuration of router static routes

Source: Internet
Author: User
Tags ccna study guide

CISCO PT Simulation Experiment (12) configuration of router static routes

Experimental Purpose :

Master the configuration method and application of static route

Mastering Route descriptions in the routing table

Familiar with the principle and process of Routing and Packet forwarding

Experimental Background :

In addition to the headquarters of a company, there is another branch, and there is a separate LAN, in order to enable the company's departments can communicate with each other, share resources. Each exit is connected using one router, and the two routers have applied for a DDN line ( digital data network ) to connect, requiring proper configuration for mutual access.

Technical Principle :

  • Routers are network-layer devices that can select an optimal path based on the header information of the IP datagram (this process is called "Routing"), forward the datagram to the next-hop routing address, and eventually deliver to the destination node ( This process is called " packet Forwarding ". ) to enable mutual access between hosts of different local area networks (or logical subnets).

  • Routers are routed and forwarded according to the routing table. The routing table is composed of routing information. the structure and content of routing table generated by different vendors ' routers may vary, including: Route source (Route selection), Destination network and its mask, next-hop routing address or port, default route, and other information.

  • There are two main ways to generate a routing table: manual configuration and dynamic configuration, that is, static routing protocol configuration and dynamic routing protocol configuration.

    • Static routing: Manually configured by the network administrator fixed Routing information. Simple, efficient, reliable, and security-confidential advanced advantages.

    • Dynamic routing: Routers use dynamic routing protocols (such as RIP, OSPF, etc.) to automatically set up routing tables and update them according to the actual network topology changes, without the need for Administrator manual maintenance, which is suitable for networks with large network size and complex topology.

  • default/default route: A special case of static routing. When the packet is looking for the routing table, no route table entry matching the target is found, and if no default route is configured, that is, the router will discard the packet by specifying the router's default next-hop address.

  • Routers usually connect to a wide area network via a serial port, which is differentiated by the DCE (data Communication device), DTE device (data terminal equipment) , and, for standard serial ports, the distribution of the interface pins is reversed, and the general DTE is a needle (commonly known as a male), DCE is the hole head (commonly known as the female head), thus realizes the docking.

    • Due to the use of serial communication mode, the general DCE device needs to set the clock frequency to achieve communication. In addition, many routers now support the cable DCE type and clock frequency adaptive, such as Cisco's ISR router, etc.

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

Configuring static routes on Router0 and Router1

View Router static routes 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 Static routing configuration router>enablerouter#conf Trouter (config) #ip Route 192.168.2.0 255.255.255.0 10.254.10.2 (Command interpretation: When the destination network address is 192.168.2.0, forward to port address 10.254.10.2 routes) Router (config) #^zrouter#show IP route
Router1 Static routing configuration router>enablerouter#conf Trouter (config) #ip Route 192.168.1.0 255.255.255.0 10.254.10.1 (Command interpretation: IBID.) Router (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 (12) configuration of router static routes

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.