"Network Equipment Installation and Management" Training 4 (Configuring Dynamic Routing Technology)

"Network Equipment Installation and Management" training 4

  • Internship purpose project

Configure router routing technology and configure dynamic routing technology to realize communication between non-directly connected subnets

2. Internship steps and requirements:

RIP dynamic routing technology experimental steps:

  1. Create a packet tracer topology map

  1. In this experiment, VLAN10 and VLAN20 are divided on the three-layer switch, among which VLAN10 is used to connect to the campus network host, and VLAN20 is used to connect to R1.

Divide the interface by vlan, and implement routing and forwarding for the gateway address of the PC in the vlan (switch ip routing is enabled, but the router does not need it)

  1. The routers are connected through serial ports through V.35 cables, the DCE end is connected to R1, and its clock frequency is configured to be 64000.

For the two ends of the serial port, the difference between DEC (communication equipment) and DTE (terminal equipment) is required. The clock frequency can be understood as a transmission rate. Only when the clock frequency of the two ends of the port is synchronized can the data transmission be performed correctly, otherwise it is a chain The road is blocked + garbled characters. The DTE device does not need to configure the clock, it works at the clock rate configured by the DCE device, and the DCE device needs to configure the clock and synchronize it to the peer DTE device

  1. The host and the switch are connected through a straight line, and the host and the router are connected through a crossover line.

Straight-through cable: Both ends of the network cable are sorted by T568A or T568B.

  Cross wire: one end is sorted by T568A, and the other end is sorted by T568B.

A direct cable is used between two different devices, such as:

1. Host and switch or hub; 2. Router and switch or hub; 3. Or when the two switches use different port types.

  Crossover cables are used between devices of the same type, such as:

  1. Computer to computer connection; 2. Switch to switch connection; 3. HUB to HUB connection; 4. Switch to hub; 5. Host to router
  1. Configure the RIPV2 routing protocol on the S3560.

RIP (Routing Information Protocols , Routing Information Protocol) is an earlier and more commonly used IGP internal network management protocol. It is used in small similar networks and is a distance vector protocol.

  1. Configure the RIPV2 routing protocol on routers R1 and R2.

The hop count of the RIP protocol is used as a measure of path overhead, and the maximum hop count specified in the RIP protocol is 15;

There are two versions of the RIP protocol: RIPv1 and RIPv2. RIPv1 is a classful routing protocol, does not support VLSM, and updates routing information in the form of broadcast, with an update cycle of 30 seconds; RIPv2 is a classless routing protocol, supports VLSM, and uses multicast Forms are routed finer.

  1. Set the default gateway of PC1 and PC2 to the IP address of the interface with the directly connected network device.

Set the gateway address of the pc for the interface of the router, through the vlan in the switch, first divide the vlan for the interface, and then divide the gateway address of the pc host for the vlan.

  1. Verify that PC1 and PC2 hosts can communicate with each other;

Use the ping command to verify whether the host PC1 and host PC2 can communicate. If the communication is successful, the configuration is successful; if not, the routing forwarding configuration fails.

OSPF dynamic routing technology experimental steps:

  1. Create a new packet tracer topology

  1. In this experiment, VLAN10 and VLAN20 are divided on the three-layer switch, among which VLAN10 is used to connect to the campus network host, and VLAN20 is used to connect to R1.

Divide the interface by vlan, and implement routing and forwarding for the gateway address of the PC in the vlan (switch ip routing is enabled, but the router does not need it)

  1. The routers are connected through serial ports through V35 cables, the DCE end is connected to R1, and its clock frequency is configured to be 64000.

For the two ends of the serial port, the difference between DEC (communication equipment) and DTE (terminal equipment) is required. The clock frequency can be understood as a transmission rate. Only when the clock frequency of the two ends of the port is synchronized can the data transmission be performed correctly, otherwise it is a chain The road is blocked + garbled characters. The DTE device does not need to configure the clock, it works at the clock rate configured by the DCE device, and the DCE device needs to configure the clock and synchronize it to the peer DTE device

  1. The host and the switch are connected through a straight line, and the host and the router are connected through a crossover line.

Straight-through cable: Both ends of the network cable are sorted by T568A or T568B.

  Cross wire: one end is sorted by T568A, and the other end is sorted by T568B.

A direct cable is used between two different devices, such as:

1. Host and switch or hub; 2. Router and switch or hub; 3. Or when the two switches use different port types.

  Crossover cables are used between devices of the same type, such as:

  1. Computer to computer connection; 2. Switch to switch connection; 3. HUB to HUB connection; 4. Switch to hub; 5. Host to router
  1. Configure the OSPF routing protocol on the S3560.

   OSPF is a link state protocol, which is used to exchange routing information between autonomous internal routers. It has the characteristics of supporting large networks, occupying less resources, and fast routing convergence. best route.

  1. Configure OSPF routing protocol on routers R1 and R2.

In order to meet the needs of large-scale network configuration, the OSPF protocol introduces the concept of "hierarchical routing", which divides the overall network into smaller areas (Area), thereby limiting the scope of routing information propagation, and each area is an independent network , the routers in the area only save the link state information of the area, and the OSPF backbone network is responsible for disseminating routing information among the areas.

  1. Set the default gateway of PC1 and PC2 to the IP address of the interface with the directly connected network device.

Set the gateway address of the pc for the interface of the router, through the vlan in the switch, first divide the vlan for the interface, and then divide the gateway address of the pc host for the vlan.

  1. Verify that PC1 and PC2 hosts can communicate with each other;

Use the ping command to verify whether the host PC1 and host PC2 can communicate. If the communication is successful, the configuration is successful; if not, the routing forwarding configuration fails.

 

RIP dynamic routing technology experimental steps:

  1. interface layout

 

  1. The host and the switch are connected through a straight line, and the host and the router are connected through a crossover line.

  1. The routers are connected through the V35 cable through the serial port, the DCE end is connected to R1 , and its clock frequency is configured to be 64000 .

Router Router0 configuration

Router Router1 configuration

interface

  1. VLAN10 and VLAN20 are divided on the three-layer switch in this experiment , among which VLAN10 is used to connect the campus network hosts, and VLAN20 is used to connect R1 .

Switch Multilayer Switch0 command configuration

  1. Set the default gateway of PC1 and PC2 to the IP address of the interface with the directly connected network device.

Router Router1 command configuration

  1. Configure the OSPF routing protocol on the S3560 .

Router Router0 command configuration

  1. Configure OSPF routing protocol on routers R1 and R2 .

Router Router0 command configuration

Router Router1 command configuration

After changing the IP address of PC2 to 192.168.4.3 , the gateway is changed to 192.168.1.1

  1. Verify that PC1 and PC2 hosts can communicate with each other;

  1. Finish

OSPF dynamic routing technology experimental steps:

  1. interface layout

  1. The host and the switch are connected through a straight line, and the host and the router are connected through a crossover line.

  1. The routers are connected through the V35 cable through the serial port, the DCE end is connected to R1 , and its clock frequency is configured to be 64000 .

Router Router0 configuration

Router Router1 configuration

  1. VLAN10 and VLAN20 are divided on the three-layer switch in this experiment , among which VLAN10 is used to connect the campus network hosts, and VLAN20 is used to connect R1 .

Switch Multilayer Switch0 command configuration

  1. Set the default gateway of PC1 and PC2 to the IP address of the interface with the directly connected network device.

Router Router1 command configuration

  1. Configure the OSPF routing protocol on the S3560 .

Router Router0 command configuration

  1. Configure OSPF routing protocol on routers R1 and R2 .

Router Router0 command configuration

Router Router1 command configuration

  1. Verify that PC1 and PC2 hosts can communicate with each other;

  1. Finish

Guess you like

Origin blog.csdn.net/weixin_53645521/article/details/124491694