Experiment 1 Access across VLANs

Table of contents

1. Configure VLANs according to the topology diagram, and realize cross-VLAN access.

2. Experimental environment

3. Experimental steps


1. Configure VLANs according to the topology diagram , and realize cross- VLAN access.

1. Configure the VLAN of the switch and the addresses of each terminal to realize connectivity within each VLAN .

2. Open the VTY connection of the two switches so that VLAN 40 can remotely manage the switches.

3. Configure router R0 to implement one-arm routing between VLAN 10 and VLAN 20 , and can access Server0 .

4. Configure the SVI route of S3 , and only allow VLAN30 and VLAN 40 to access Server302 .

 

2. Experimental environment

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

3. Experimental steps

1. Configure the device name and IP address of each device according to the topology diagram.

(1) Paste the designed topology diagram.

(2) PC101 and PC202 replace the Gigabit network card. 

 

(3) Set the IP address and subnet mask of each host (gateway to be determined).

 

 

 

 

 

(4) Set the port corresponding to S2 as follows:

Fa 0/1->VLAN 10

Fa 0/2->VLAN 20

Fa 0/3->VLAN 30

Fa 0/4->VLAN 40

Fa 0/5->Trunk(to S3 Fa 0/4)

Fa 0/6->Trunk(to R0 GIG 0/0)

(5) Set the corresponding ports of S3 as follows:

Fa 1/0/1->VLAN 10

Fa 1/0/2->VLAN 20

Fa 1/0/3->VLAN 30

GIG 0/4->Trunk(to S2 Fa 0/5)

2. Configure the connectivity within the VLAN.

(1) Set the IP address of VLAN 40 of S2 and S3 as the remote management address, and open VTY.

 

 

(2) PC401 connects to S3 through Telnet, and displays the content of the running configuration file (just capture the first screen). 

 

(3) Test that PC301 accesses the WEB service of Server302. 

3. Configure router R0 to implement one-arm routing between VLAN 10 and VLAN 20, and can access Server0.

(1) Set the GIG 0/0 port of R0 as two sub-interfaces, the IP address of sub-interface 10 is 192.168.10.200; the IP address of sub-interface 20 is 192.168.20.200.

 

 

(2) Set GIG 0/1 of R0 to connect to Server0, and the IP address is 192.168.100.254. 

 

 

(3) Set the GIG 0/2 interface Trunk of S2 to only allow VLAN 10 and VLAN 20 to pass through. 

(4) Make PC201 able to ping PC102. 

 

 

(5) Enable PC202 to PING Server0. 

 

4. Configure the SVI interface of S3 , and only allow VLAN 30 and VLAN 40 to access Server302 .

(1) Enable the SVI function of S3 and configure the IP address of VLAN 30.

(2) Enable PC401 to PING Server302. 

 

 

 

Guess you like

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