Cisco simulator using dynamic routing

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 ip address of the router FastEthernet interface of the respective agreement. This configuration uses a graphical interface configured to PC0 example:

              

II: configure dynamic routing on each router

1.Rip routing protocol configuration: in global mode, enter the command: router + rip, a router configured for each network segment.

router0: Network 10.0.0.0 and 192.168.0.0 communication network segment.

        2. router1 configuration: 11.0.0.0 network and communication network 192.168.1.0 and 192.168.0.0 network segment

               

3. router2 configuration: 12.0.0.0 communication network and the network segment 192.168.1.0

4. Rip protocol to enable the second version of each router: in global mode Input: router + rip, for enabling the second version of the configuration. To router0, for example, two other routers configured with the same.

Diagnosis and troubleshooting 5.Rip routing protocols :( It's just a final check of the work, if the above configuration, directly to ping, if successful, would not have carried out this step)

(1) Check the routing table: In privileged mode enter: show + ip + route command. In this problem, each of the routing table has five records (i.e., all communication network 5), indicates that the route is configured correctly. (To router0 for example)

(2) View rip database: In privileged mode enter: show + ip + rip + database command to check to router0 example.

        (3) opening and closing Rip diagnosis: in privileged mode Input: debug + ip + rip open; Input: no + debug + ip + rip off. To router0 example:

                 ON:

                  

                 shut down:

                

  6. Test: pc0 communication with the pc4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Published 20 original articles · won praise 2 · Views 1608

Guess you like

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