Cisco simulator configured static routing

Static routing and dynamic routing difference:

Before summary of the steps, I think the difference between static routing and dynamic routing talk about rip, professional interpretation is : static routing calculation is non-adaptive routing protocol is configured manually by managers, can not be changed according to changes in the network topology . Dynamic routing is the ability to automatically update the network topology according to a change in the routing table automatically select the appropriate routing, the administrator does not require manual configuration. I personally understand : the equivalent of you get to where you want to B from place A, from A can have three different paths to reach B. You happen to choose a way to go, we found that the road is broken, static routing approach is not to go, waiting for someone to tell (reconfigure the other way) it, it was from another road to reach B; and dynamic routing does not need to be told that he choose the other way to go. (Personal understanding, if wrong, let me know)

Configuration premise Description: When using Cisco simulator configuration, there are many configurations (such as: ip address, open interfaces, routing lines, etc.) may be used to configure a graphical interface, you can also use the command line configuration; if using a graphical interface configuration would be more simple , no order in mind, but from the perspective of professional learning, using the command line configuration is more practical; I will be more than the following configuration use the command line to configure, occasionally using a graphical interface to configure.

A: basic configuration

1. configure static routes on the network topology Cisco simulator:

2. Configure the name of each router, enter the command in global configuration mode: hostname + name. To Router0 for example (if no instructions are based on the following Router0 for example):

3. The router interface FastEthernet ip address, enter the command in the port mode: ip + address + ip addresses + subnet mask.

4. Serial interface router ip address, also enter the command in the port mode. (Note the ip address and then write down no + shutdown command to ensure the interface is open, above FastEthernet interfaces, too).

5. ip address configuration for each host, the same method except that the configuration interface of the router when the router is to open command line interface, the ip host command from the host is to open the line interface; do not want to be understood that if the command can also be graphically interface configurations, a host configuration graphical interface is given ip address (in the PC0) Example. Note: the router is enable communication between different LANs, when configuring so, to ensure that each switch is connected to a host in a different network segments

6. Set the serial clock rate , the above topology, a Serial port between routers, need to configure the serial clock rate of the DCE interface, not every Serial interfaces are DCE interface (Serial Interface is some DCE interface, some DTE interface). Use the command in privileged mode: show + controllers + interface name, you can view the interface information, whether displayed or DTE to DCE interface connector.

The following figure: This figure is to see if the DCE or DTE interface information for the command to display the Serial 0/0/0 interface is a DCE port, and I have configured the clock rate of the interface is 64000; if not configured to show only DCE , behind the content does not appear.

FIG follows: which is a Serial Interface Configuration belonging to the clock rate of the DCE is generally set to 64000. Enter the command in the port mode: clock + rate + 64000.

7. Set host gateway : The above steps are important to set the clock rate, if not disposed, even if the static route configuration on each router, a communication can not be achieved. Ip address is a host gateway, the address is ip ip address of the device having a routing function. The title should be the gateway for each host and each router ip address FastEthernet interface consistent. This configuration uses a graphical interface configured to PC0 example:

Two: Configure static routes on each router

1. Basic Configuration is completed, the next step to configure static routes on each router ping can be achieved through any two of the host. First configuration Router0, the topology can be seen from the above figures, Router0 connected to 192.168.3.0 and 192.168.4.0 network segment, i.e., destination network segment 192.168.4.0, the destination network segment subnet mask of 255.255.255.0 , ip address for the next port Router1 left port Serial ip address 0/0/0.

(1) an input command (in Router0 example), the router forwarding table configured in global mode: the destination network segment addresses + subnet mask + ip next port. (2) the configuration, use the command in privileged mode: show + ip + route check the routing table.

2. The router Router1 static routing configuration and routing table:

3. The router configuration Router2 static routes and routing table:

4. Test, to achieve the ping of PC0 and PC2.

 

Published 20 original articles · won praise 2 · Views 1609

Guess you like

Origin blog.csdn.net/weixin_42132733/article/details/103442641