Experiment 2 Configure Trunk and Link Aggregation

Table of contents

1. Experimental content

2. Experimental environment

3. Experimental steps


1. Experimental content

Plan the network according to the topology diagram.

1. Set up the network connection as shown in the figure, and assign the IP addresses of each network segment. The two layer-3 switches in the figure turn on the routing function and use it as a router.

2. Configure the trunk and link aggregation between the intranet switches S21 and S22 , VLAN2 can only be connected internally, and VLAN1 can be connected to the external network.

3. Configure the route from R0 to the intranet VLAN1 network, and take S31 first .

4. Configure the default routes of S31 and S32 to R0 , and enable HSRP gateway backup for the intranet .

5. Test the connectivity between VLAN1 and SERVER1 , and the data flow direction after S31 goes down.

2. Experimental environment

1. A host with Windows operating system installed , with Cisco PacketTracer 7.2 and above installed.  

3. Experimental steps

1. Set up the network connection as shown in the figure, assign the IP addresses of each network segment, and enable the routing function of the two layer-3 switches in the figure to be used as routers.

(1) Set up the network connection, and the port and IP address of each device are recommended to be set as follows:

R0:fa 0/0 <-> S31:fa 0/1

R0:fa 0/1 <-> S32:fa 0/1

R0:fa 1/0 <-> Server1

S31:gig 0/1 <-> S21:gig 0/1

S32:gig 0/1 <-> S22:gig 0/1

S21:fa 0/23,fa0/24 <-> S22: fa 0/23,fa0/24

The network segment address of VLAN1 is 192.168.1.0/24, and the network segment address of VLAN2 is 192.168.2.0/24.

The address of the network segment from Server1 to R0 is 192.168.0.0/24.

The network segment address from R0 to S31 is 172.18.0.0/30, and the network segment address from R0 to S32 is 172.18.0.4/30.

(2) Both the uplink and downlink ports of S31 and S32 have Layer 3 routing interfaces enabled, and the routing function is enabled. 

2. Configure the trunk and link aggregation between the intranet switches S21 and S22. VLAN2 can only be connected internally, and VLAN1 can be connected to the external network.

(1) Configure the trunk and link aggregation between the intranet switches S21 and S22.

(2) The uplink network interfaces of S21 and S22 belong to VLAN1. 

 

 

3. Configure the route from R0 to the intranet VLAN1 network, and take S31 first.

(1) Configure a static route from R0 to intranet VLAN1, with an administrative distance of 5 via S31.

 

(2) Configure the static route from R0 to intranet VLAN1, and the management distance via S32 is 10. 

 

4. Configure the default routes of S31 and S32 to R0, and enable HSRP gateway backup for the intranet.

(1) Configure the default routes of S31 and S32 to the R0 interface address. 

 

(2) Configure S31 and S32 to back up the HSRP gateway of the intranet. It is recommended that the virtual gateway address be 192.168.1.200. My gateway address here is set to 192.168.1.254 

(3) Configure the gateway address of the PC in VLAN1 in the intranet as the virtual gateway address, and test the connectivity to the gateway. 

 

5. Test the connectivity between VLAN1 and SERVER1, and the data flow direction after S31 goes down.

(1) Test the connectivity from PC13 to Server1 (animated display).

 S31 power off, test the connectivity from PC13 to Server1 (animated display):

The power of S31 is not turned off, and the connectivity between PC13 and Server1 is tested (animated display): 

S31 power off, test the connectivity from PC13 to Server1 (animated display):

(2) Turn off the power of S31, and then test the connectivity from PC11 to Server1 (animation display).

The power of S31 is not turned off, and the connectivity between PC1 1 and Server1 is tested (animated display):

S31 power off, test the connectivity from PC1 1 to Server1 (animated display): 

(Friends who need videos can leave a message)

Guess you like

Origin blog.csdn.net/xiongIT/article/details/129969745