Application viewpoint: A comprehensive description of static routing configuration

Source: Internet
Author: User
Tags block ip address

Many people may not have a special understanding of static routing configuration. Next we will mainly explain the detailed steps and detailed rules of static routing configuration, and hope to help you. Before the experiment, we will first introduce the related concepts: Static Routing: Some network administrators manually add routing information on the router configuration to achieve the purpose of routing; corresponding to dynamic routing: based on changes in the network or traffic, the routing protocol automatically adjusts the routing information to achieve routing.

Static route Configuration:

Router <config> # iproutenetwork [mask] {address | interface} [distance] [permanent]
Router <config> # iproute destination CIDR Block IP address destination CIDR Block mask direct connection interface IP Address/Interface Name of the physical egress of the local Router

In a class C network, PC1 communicates with pc2. e refers to Ethernet interfaces, s refers to serial interfaces, and * refers to DCE terminals, you need to set the clock frequency. 1/0, 0/0, and 0/1 indicate the interface type. The detailed topology is as follows:

Test process:

1. Connect a PC to a vro
2. Configure static routes for Routers
3. Configure and test the virtual PC

PC and router connection:

Use a simulator to simulate three routers and PCs. Configure static routes according to specific parameters: select three routers and check the virtual PC. The device type is 3640, select the location where IOS files are stored, calculate the idle value, click OK, select the path of the output directory, and then click Next. As shown in:

3 router specific parameter settings, first select Router1, device type 3640, Module Settings, Slot0: Select NM-4T, Slot1: Select NM-1E, and then "determine Router1 configuration", as follows:

Configure Router2 like Router1 in the static routing configuration, but the Slot1 in the module setting does not need to be selected. It only uses the serial port interface and does not use the Ethernet interface, as shown below:

The setting of Router3 is the same as that of router1. After setting Router3, select "direct output" for the console output, and then "Next": similar to the previous step, connect the remaining ports. The connection between specific ports is:

Router1S0/0 <----> Router2S0/0
Router2S0/1 <----> Router3S0/1
VPCSV0/1 <----> Router1E1/0
VPCSV0/2 <----> Router3E1/0

After the connection is complete, select "Generate. BAT file" and then "exit.

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.