Boson Netsim Cisco switch simulation completes the company's simple networking (VLAN and TRUNK configuration)

The basis of this section https://blog.csdn.net/Cx2008Lxl/article/details/122803224

Table of contents

1. Create a topology

2. Plan the IP address and subnet mask of each device

3. Plan VLAN IDs for each department

4. Configure the switch SW1, SW2 name, port type, IP address

5. Configure the IP address and subnet mask of each computer

6. Create VLAN and configure VLAN to each port

7. Check the correctness of VLAN configuration, such as SW1 (Figure 16) and SW2 (Figure 17):

8. Configure the Trunk on interface f0/12 to allow packets with VLAN IDs 300, 400, and 500 to pass through

9. After all the configurations are completed, check the configuration results


1. Create a topology

  Network topology such as (Figure 12). Switch interface such as (Table 1).

Figure 12 Network topology
Table 1 Switch interface

SW1

interface

f0/1

f0/2

f0/3

f0/4

f0/5

f0/12

terminal

Sheng Chan1

XiaoShou1

YanFa1

RenShi1

CaiWu1

SW2

SW2

interface

f0/1

f0/2

f0/3

f0/4

f0/5

f0/12

terminal

Sheng Chan2

XiaoShou2

YanFa2

RenShi2

CaiWu2

SW1

2. Plan the IP address and subnet mask of each device

Table 2 IP address and subnet mask of each device

department

IP address/subnet mask

department

IP address/subnet mask

Production Department 1

192.168.0.208/24

Production Department 2

192.168.0.214/24

Sales Department 1

192.168.0.209/24

Sales Department 2

192.168.0.215/24

R&D Department 1

192.168.0.210/24

R&D Department 2

192.168.0.216/24

Personnel Department 1

192.168.0.211/24

Personnel Department 2

192.168.0.217/24

Finance Department 1

192.168.0.212/24

Finance Department 2

192.168.0.218/24

SW1

192.168.0.213/24

SW2

192.168.0.219/24

3. Plan VLAN IDs for each department

Table 3 VLAN IDs of each department
department VLAN ID department VLAN ID

Production Department

100

Sales

200

R & D department

300

Personnel Department

400

Finance Department

500

4. Configure the switch SW1, SW2 name, port type, IP address

  The SW1 configuration code is shown in Figure 13. The SW2 configuration code is similar to SW1, only the IP address is different.

Figure 13 SW1 configuration name, port type, IP address

5. Configure the IP address and subnet mask of each computer

  After completion, each host can communicate with each other normally, and test configuration correctness and network connectivity, as shown in (Figure 14). The production department 1 can communicate normally with the financial department 2 by Ping the switch SW2, and the above configuration is correct.

Figure 14 Test network connectivity

6. Create VLAN and configure VLAN to each port

  The configuration code of SW1 is as (Figure 15). The configuration of SW2 is the same as that of SW1.

Figure 15 Create VLAN and configure VLAN to each port

7. Check the correctness of VLAN configuration, such as SW1 (Figure 16) and SW2 (Figure 17):

Figure 16 VLAN information of SW1
Figure 17 VLAN information of SW2

8. Configure the Trunk on interface f0/12 to allow packets with VLAN IDs 300, 400, and 500 to pass through

  The configuration code of SW1 is as (Figure 16).

Figure 16 Interface f0/12 Trunk Configuration of SW1

9. After all the configurations are completed, check the configuration results

  Such as (Figure 17~21). match the needs.

Figure 17 Ping test results of the production department
Figure 18 Ping test results of the sales department
Figure 19 Ping test results of the R&D department
Figure 20 Ping test results of the HR department
Figure 21 Ping test results of the finance department

Guess you like

Origin blog.csdn.net/Cx2008Lxl/article/details/122803377